xugrid.UgridDatasetAccessor.to_nonperiodic#

UgridDatasetAccessor.to_nonperiodic(xmax: float)[source]#

Convert the grid from a periodic grid (where the rightmost boundary shares its nodes with the leftmost boundary) to an aperiodic grid, where the leftmost nodes are separate from the rightmost nodes.

Parameters:

xmax (float) – The x-value of the newly created rightmost boundary nodes.

Returns:

nonperiodic

Return type:

UgridDataset