xarray.DataTree.drop_nodes (original) (raw)

DataTree.drop_nodes(names, *, errors='raise')[source]#

Drop child nodes from this node.

Parameters:

Returns:

dropped (DataTree) – A copy of the node with the specified children dropped.