Exercise outline
We want to download a NetCdf file from the opendap server (http://opendap.deltares.nl), and read the variables, dimensions and data.
...
Code Block |
---|
|
# Get data
stationNames = Transpose2DCharArrayToStringList(file.Read(stations),stationNameLength, nrOfStations)
componentNames = Transpose2DCharArrayToStringList(file.Read(components),componentNameLength, nrOfComponents)
latData = file.Read(file.GetVariableByName("lat"))
lonData = file.Read(file.GetVariableByName("lon"))
phaseData = file.Read(file.GetVariableByName("amplitude"))
amplitudeData = file.Read(file.GetVariableByName("amplitude"))
|
unmigrated-inline-wiki-markup{ |