-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
API designtopic-DataTreeRelated to the implementation of a DataTree classRelated to the implementation of a DataTree class
Description
What is your issue?
From xarray-contrib/datatree#199
Currently you can perform arithmetic with datatrees, e.g. dt + dt
. (In fact the current implementation lets you apply arbitrary operations on n trees that return 1 to n new trees, see map_over_subtree
.)
However currently these trees must have the same structure of nodes (i.e. be "isomorphic").
It would be useful to generalise tree operations to handle trees of different structure. I'm going to call this "tree broadcasting" (not to be confused with array broadcasting).
Metadata
Metadata
Assignees
Labels
API designtopic-DataTreeRelated to the implementation of a DataTree classRelated to the implementation of a DataTree class