-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
enhancementtopic-DataTreeRelated to the implementation of a DataTree classRelated to the implementation of a DataTree classtopic-combinecombine/concat/mergecombine/concat/merge
Description
What is your issue?
Something like this works, but is a little awkward -- especially the skipping over dimensions that are only defined on some node levels:
def concat(*datasets, dim):
if not all(dim in ds.dims for ds in datasets):
return None
return xarray.concat(*datasets, dim=dim)
xarray.map_over_datasets(concat, tree1, tree)
danielfromearth and eric-czech
Metadata
Metadata
Assignees
Labels
enhancementtopic-DataTreeRelated to the implementation of a DataTree classRelated to the implementation of a DataTree classtopic-combinecombine/concat/mergecombine/concat/merge