You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding open_groups to BackendEntryPointEngine, NetCDF4BackendEntrypoint, and H5netcdfBackendEntrypoint (#9243)
- [x] Closes#9137 and in support of #8572
- [x] Tests added
- [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst`
- [ ] New functions/methods are listed in `api.rst`
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Deepak Cherian <[email protected]>
Open and decode a file or file-like object, creating a dictionary containing one xarray Dataset for each group in the file.
853
+
Useful for an HDF file ("netcdf4" or "h5netcdf") containing many groups that are not alignable with their parents
854
+
and cannot be opened directly with ``open_datatree``. It is encouraged to use this function to inspect your data,
855
+
then make the necessary changes to make the structure coercible to a `DataTree` object before calling `DataTree.from_dict()` and proceeding with your analysis.
856
+
857
+
Parameters
858
+
----------
859
+
filename_or_obj : str, Path, file-like, or DataStore
860
+
Strings and Path objects are interpreted as a path to a netCDF file.
861
+
engine : str, optional
862
+
Xarray backend engine to use. Valid options include `{"netcdf4", "h5netcdf"}`.
863
+
**kwargs : dict
864
+
Additional keyword arguments passed to :py:func:`~xarray.open_dataset` for each group.
0 commit comments