-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
def to_dataset(self, dim) -> Collection:
ds = xr.concat(self.values(), dim=dim)
ds[dim] = self.keys()
return ds
def to_array(self, dim) -> Collection:
# check that all datasets only contain one array.
da = xr.concat(self.values(), dim=dim)
da[dim] = self.keys()
return da
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
π³ Todo