Attention
This repository has been archived. Please use xarray.DataTree instead.
datatree.open_datatree#
- datatree.open_datatree(filename_or_obj, engine=None, **kwargs) DataTree[source][source]#
Open and decode a dataset from a file or file-like object, creating one Tree node for each group in the file.
- Parameters:
filename_or_obj (
str,Path, file-like, orDataStore) – Strings and Path objects are interpreted as a path to a netCDF file or Zarr store.engine (
str, optional) – Xarray backend engine to us. Valid options include {“netcdf4”, “h5netcdf”, “zarr”}.kwargs – Additional keyword arguments passed to
xarray.open_datasetfor each group.
- Returns: