xarray.DataTree.get (original) (raw)

DataTree.get(key, default=None)[source]#

Access child nodes, variables, or coordinates stored in this node.

Returned object will be either a DataTree or DataArray object depending on whether the key given points to a child or variable.

Parameters: