xugrid.UgridDatasetAccessor.reindex_like#

UgridDatasetAccessor.reindex_like(other: Type[AbstractUgrid] | UgridDataArray | UgridDataset, tolerance: float = 0.0)[source]#

Conform this object to match the topology of another object. The topologies must be exactly equivalent: only the order of the nodes, edges, and faces may differ.

Topologies are matched by name, and dimension names must match for equivalent topologies.

Parameters:
Returns:

reindexed

Return type:

UgridDataset