xugrid.UgridDataArrayAccessor.to_periodic#

UgridDataArrayAccessor.to_periodic()[source]#

Convert this grid to a periodic grid, where the rightmost boundary shares its nodes with the leftmost boundary.

Returns:

periodic

Return type:

UgridDataArray