hydromodpy.data.variables.intermittency.apis.hubeau#
Hub’Eau stream-flow (ecoulement) API adapter.
Produces PointRecord instances from the Hub’Eau v1 ecoulement endpoints
(ONDE - National Low-Flow Observatory).
Endpoints used:
- /v1/ecoulement/stations - station discovery (bbox, department, etc.)
- /v1/ecoulement/observations - flow-state observations per station
- Flow state mapping (Hub’Eau code_ecoulement -> internal 1-5 ordinal):
“1” -> Visible flow -> 5 “1a” -> Acceptable visible flow -> 4 “1f” -> Weak visible flow -> 3 “2” -> Non-visible flow -> 2 “3” -> Dry (no water) -> 1 “4” -> Observation impossible -> dropped (NaN)
Functions
|
Fetch ONDE flow-state observations from Hub'Eau and return |