xugrid.merge_partitions#

xugrid.merge_partitions(partitions)[source]#

Merge topology and data, partitioned along UGRID dimensions, into a single UgridDataset.

UGRID topologies and variables are merged if they share a name. Topologies and variables must be present in all partitions. Dimension names must match.

Variables are omitted from the merged result if non-UGRID dimensions do not match in size.

Parameters:

partitions (sequence of UgridDataset or UgridDataArray) –

Returns:

merged

Return type:

UgridDataset