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

Add tutorial information about indices keyword when creating FieldSet #1511

Open
erikvansebille opened this issue Feb 13, 2024 · 0 comments
Open
Labels
documentation good first issue Good for new parcels developers help wanted oceanography Issues that require knowledge of oceanography to complete

Comments

@erikvansebille
Copy link
Member

The option to use the indices dictionary specify what part of a Field to load can be useful at times, but is not discussed anywhere in the documentation. Perhaps good to add it somewhere, so that more users know about it. For example in the Grid Indexing tutorial?

See the FieldSet.from_netcdf() docstring at
https://github.com/OceanParcels/parcels/blob/daf05b71174ba2c687bfe0468ed27e1e64f17d06/parcels/fieldset.py#L334-L338 and an example at
https://github.com/OceanParcels/parcels/blob/daf05b71174ba2c687bfe0468ed27e1e64f17d06/docs/examples/example_globcurrent.py#L47-L48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation good first issue Good for new parcels developers help wanted oceanography Issues that require knowledge of oceanography to complete
Projects
Status: Backlog
Development

No branches or pull requests

2 participants