Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
{}
Wiki Markup
scrollbar

Exercise outline

We want to create a station class (data structure) that can hold the data of one station. Then we make a list containing all the stations in the NetCdf file and fill it with the data of the NetCdf file.

...

unmigrated-inline-wiki-markup
Code Block
languagepython
# Add monitoring point at station locations
for station in stationsInEvelope:
    observationPoint = Feature2DPoint()
    observationPoint.Name = station.name
    observationPoint.Geometry = station.geometry
 
    fmModel.Area.ObservationPoints.Add(observationPoint)
 
    print "Added : " + station.name + " to observation points"
{



}
scrollbar