metview-python icon indicating copy to clipboard operation
metview-python copied to clipboard

Create a Geopoints constructor that takes a filename as argument

Open iainrussell opened this issue 6 years ago • 0 comments

Currently, users cannot call a constructor to create a new Geopoints variable - they have to be created through function calls.

We should expose this class more fully by offering a constructor that takes a file path as input argument and calls the mv.read() function internally. gpt = mv.Geopoints(path='/path/to/my/geopoints/file.gpt') Look at the Fieldset constructor as an example.

iainrussell avatar Mar 22 '19 10:03 iainrussell