Obtain the water table elevation from a hydraulic head array

rmf_convert_hed_to_water_table(hed, l = NULL, na_values = NULL)

Arguments

hed

2d, 3d or 4d array with hydraulic heads

l

integer used to subset the 4th dimension of hed. If not supplied, the final time step is used

na_values

optional; specifies which hed values should be set to NA

Value

rmf_2d_array with the elevation of the water table, i.e. the first non-NA value in every vertical column of the grid