xugrid.UgridDataArrayAccessor.reindex_like#

UgridDataArrayAccessor.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.

Dimension names must match for equivalent topologies.

Parameters:
Returns:

reindexed

Return type:

UgridDataArray