xarray.DataTree.depth

Contents

xarray.DataTree.depth#

property DataTree.depth#

Maximum level of this tree.

Measured from the root, which has a depth of 0.

Returns

depth (int)

See also

level, width