xarray.DataTree.depth (original) (raw)

property DataTree.depth#

Maximum level of this tree.

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

Returns:

depth (int)