imod.prepare.get_upper_active_grid_cells#

imod.prepare.get_upper_active_grid_cells(active: DataArray | UgridDataArray) DataArray | UgridDataArray[source]#

Returns grid of booleans designating location of the uppermost active grid cell.

Parameters:

active ({DataArray, UgridDataArray}) – Grid of booleans designating active cell.