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

Loading all groups from a netCDF file #6

Closed
TomNicholas opened this issue Aug 19, 2021 · 0 comments · Fixed by #15
Closed

Loading all groups from a netCDF file #6

TomNicholas opened this issue Aug 19, 2021 · 0 comments · Fixed by #15

Comments

@TomNicholas
Copy link
Collaborator

We want to be able to load all groups from a netCDF file as nodes in a DataTree, simply via

dt = open_datatree('some_data.nc')

To populate this tree we need to know the structure of all the groups in the netCDF file, but currently in xarray the open_dataset function makes it pretty difficult to see this information. Instead it only allows you to open one group (whose name you have to know in advance!) via the group keyword argument.

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

Successfully merging a pull request may close this issue.

1 participant