Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Metview's Python interface also provides a more object-oriented way of using the wrapper classes such as Fieldset. The following two snippets of code are equivalent:

FunctionObject method
fs = mv.retrieve(grid = [1,1])
locs = mv.find(fs, 273.15)
fs = mv.retrieve(grid = [1,1])
locs = fs.find(273.15)