imod.msw.GridData.generate_isactive_svat_arrays#

GridData.generate_isactive_svat_arrays() tuple[ndarray, DataArray][source]#

Generate index array and svat grid to be used on other packages.

Returns:

isactive array and svat grid. The isactive array is a 1D array with which cells are active. The svat grid is a 2D array with the SVAT numbers for each cell.

Return type:

tuple[np.ndarray, xr.DataArray]