Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Geopoints constructor that takes a filename as argument #10

Open
iainrussell opened this issue Mar 22, 2019 · 0 comments
Open
Labels
good first issue Good for newcomers

Comments

@iainrussell
Copy link
Member

iainrussell commented Mar 22, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant