imod.mf6.StorageCoefficient.mask#

StorageCoefficient.mask(mask: DataArray | UgridDataArray) Any#

Mask values outside of domain.

Floating values outside of the condition are set to NaN (nodata). Integer values outside of the condition are set to 0 (inactive in MODFLOW terms).

Parameters:

mask (xr.DataArray, xu.UgridDataArray of ints) – idomain-like integer array. 1 sets cells to active, 0 sets cells to inactive, -1 sets cells to vertical passthrough

Returns:

masked – The package with part masked.

Return type:

Package