xarray.DataTree.dims

Contents

xarray.DataTree.dims#

property DataTree.dims#

Mapping from dimension names to lengths.

Cannot be modified directly, but is updated when adding new variables.

Note that type of this object differs from DataArray.dims. See DataTree.sizes, Dataset.sizes, and DataArray.sizes for consistently named properties.