geoprior.params.FixedHRef#
- class geoprior.params.FixedHRef(value=0.0, mode='auto', name=None, non_negative=False, **kws)[source]#
Bases:
BaseFixedReference head configuration \(h_{\mathrm{ref}}\) for drawdown.
Drawdown convention used in GeoPrior: \(\Delta h = \max(h_{\mathrm{ref}} - h, 0)\).
This is a modelling datum (not a material parameter). In regional hydrogeology it may represent a pre-development head, a long-term mean head, or (recommended here) a rolling baseline derived from the last observed historical head at forecast start.
- Parameters:
value (
floatorNone, default0.0) – Fallback reference head [m] used when mode=”auto” cannot be resolved. If None, defaults to 0.0.mode (
{"auto", "fixed"}, default"auto") –“auto”: derive \(h_{\mathrm{ref}}\) per batch from the last historical groundwater observation (preferred).
”fixed”: always use value as a global datum.
name (
str, optional) – Variable name.non_negative (
bool, defaultFalse) – Allow negative values since heads can be negative depending on datum.
Methods
__init__([value, mode, name, non_negative])from_config(config)Re-instantiate from configuration dict.
Return a JSON-serialisable dict for tf.keras serialization.
get_value()Retrieve the fixed parameter value.