We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
open_groups_as_dict
Hi everyone,
I am trying to open a datatree I created, which looks as follows.
Group: / ├── Group: /group_0 │ │ Dimensions: (x: 4, y: 5) │ │ Coordinates: │ │ * x (x) int64 32B 10 20 30 40 │ │ * y (y) datetime64[ns] 40B 2000-01-01 2000-01-02 ... 2000-01-05 │ │ Data variables: │ │ foo (x, y) float64 160B ... │ ├── Group: /group_0/subgroup_1 │ └── Group: /group_0/subgroup_2 │ │ Dimensions: (x: 4, y: 5, dim_0: 9) │ │ Coordinates: │ │ * x (x) int64 32B 10 20 30 40 │ │ * y (y) datetime64[ns] 40B 2000-01-01 2000-01-02 ... 2000-01-05 │ │ Dimensions without coordinates: dim_0 │ │ Data variables: │ │ a (dim_0) int64 72B ... │ └── Group: /group_0/subgroup_2/subsubgroup_1 │ │ Dimensions: (x: 4, y: 5, dim_0: 9) │ │ Coordinates: │ │ * x (x) int64 32B 10 20 30 40 │ │ * y (y) datetime64[ns] 40B 2000-01-01 2000-01-02 ... 2000-01-05 │ │ Dimensions without coordinates: dim_0 │ │ Data variables: │ │ a (dim_0) int64 72B ... │ └── Group: /group_0/subgroup_2/subsubgroup_1/subsubsubn │ Dimensions: (x: 4, y: 5, dim_0: 9) │ Coordinates: │ * x (x) int64 32B 10 20 30 40 │ * y (y) datetime64[ns] 40B 2000-01-01 2000-01-02 ... 2000-01-05
However, if I wanted to select and specific groups as follows
path = "/path/to/datatree/hdf_dtree_10.h5" dtree = open_datatree(path, engine='h5netcdf', group="subgroup_1")
The output is the whole datatree. Digging around. I found out that some parameters passed to
datatree
xarray/xarray/backends/h5netcdf_.py
Line 454 in a8c9896
group
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What is your issue?
Hi everyone,
I am trying to open a datatree I created, which looks as follows.
However, if I wanted to select and specific groups as follows
The output is the whole
datatree
. Digging around. I found out that some parameters passed toxarray/xarray/backends/h5netcdf_.py
Line 454 in a8c9896
group
parameter. A similar situation happens with netcdf4 datatreesThe text was updated successfully, but these errors were encountered: