imod.select.grid_boundary_xy#

imod.select.grid_boundary_xy(grid: DataArray | UgridDataArray) DataArray | UgridDataArray[source]#

Return grid boundary on the xy plane.

Wraps the binary_dilation function.

Parameters:

grid ({xarray.DataArray, xugrid.UgridDataArray}) – Grid with either x and y dimensions or a face dimesion.

Returns:

2d grid with locations of grid boundaries

Return type:

{xarray.DataArray, xugrid.UgridDataArray}