imod.prepare.get_upper_active_layer_number#

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

Returns planar grid of integers with the layer number of the upper most active cell.

Parameters:

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