@welldot/utils
getLatestStaticLevel
Returns the static water level (m) from the most recent hydrodynamic event that carries a staticlevel field. Events retracted via corrects are ignored. Events are compared by UTC datetime. Returns undefined if no such event exists.
getLatestStaticLevel(
well):number|undefined
Returns the static water level (m) from the most recent hydrodynamic event
that carries a static_level field. Events retracted via corrects are
ignored. Events are compared by UTC datetime.
Returns undefined if no such event exists.
Parameters
well
Well
Returns
number | undefined