...
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:
Function | Object method |
---|---|
fs = mv.retrieve(grid = [1,1]) locs = mv.find(fs, 273.15) | fs = mv.retrieve(grid = [1,1]) locs = fs.find(273.15) |