Skip to content

France: HydroPortail

Documentation index · Usage

Provider fr_hydroportail
Country Metropolitan and overseas France
Published by HydroPortail (hydro.eaufrance.fr), Service Central Vigicrues
Variables Instantaneous discharge and stage
Stations in the catalogue 6,409. Availability depends on quantity, source selection and period
Station metadata Coordinates only. See Fields by provider
Credentials None
Terms Reuse licence and standard citation not established
Agency documentation HydroPortail help

Retrieve instantaneous discharge at station Y251002001, L'Orb à Bédarieux, selecting HydroPortail's validated records:

import rivretrieve as rr

selection = rr.find(
    provider="fr_hydroportail",
    station="Y251002001",
    quantity="discharge",
    statistic="instantaneous",
)
validated = rr.pick(selection, variant="validated")

result = rr.fetch(validated, start="2020-01-01", end="2020-01-02", cache="bypass")

preview = result.data.select("time", "time_zone", "value", "unit").head(3)
print(preview.write_csv(float_precision=3), end="")

print(result.data.height)
print([(issue.severity, issue.code) for issue in result.issues])

Output:

time,time_zone,value,unit
2020-01-01T00:01:00.000000,+00:00,13.500,m3/s
2020-01-01T00:20:00.000000,+00:00,13.300,m3/s
2020-01-01T00:55:00.000000,+00:00,13.700,m3/s
50
[('info', 'provenance.license_not_established'), ('info', 'provenance.citation_not_established')]

The preview shows the first three instantaneous values in m³/s, rounded to three decimal places. The request returned 50 rows. Their timestamps need not be evenly spaced; RivRetrieve does not fill gaps or calculate daily means. Bare dates include the whole first and last day. cache="bypass" requests the source rather than a local cache. Source values can change, so a later retrieval need not reproduce this output exactly.

The two informational issues mean that RivRetrieve has not established a reuse licence or standard citation for these records. They do not mean that the observation request failed. See Terms and citation before reusing the data.

Run the examples below in the same Python session. See Usage for general selection options and working with returned data.

Who measures, and who publishes

France's hydrometric records bring together measurements from regional environmental authorities (DREAL) and other national and local producers. The Service Central Vigicrues runs the national hydrometry platform, PHyC. Records cover metropolitan France and overseas territories; availability and record length vary by station.

HydroPortail is the national hydrometry portal, published by the Service Central Vigicrues. It replaced the former Banque HYDRO interfaces in January 2022. Its name does not identify the original producer of every historical measurement.

RivRetrieve reads station-own instantaneous stage and discharge from HydroPortail. Published daily hydrometry and Naïades water temperature are available through the separate Hub'Eau provider. The services retain separate station inventories, source identities and terms. Temperature comes from a separate monitoring network.

What you can retrieve

Quantity filter Source field / variant Frequency Statistic Source unit Returned unit
discharge Q; four selectors below Unknown Instantaneous l/s m³/s
stage H; four selectors below Unknown Instantaneous mm m

Both quantities are instantaneous. Each source field supports the same four variant selectors: raw, validated, pre_validated_and_validated, and most_valid. Choose a selector as shown below.

RivRetrieve converts discharge from litres per second to cubic metres per second, and stage from millimetres to metres. It does not calculate additional daily statistics from instantaneous records.

A station being listed does not guarantee that it has data for every quantity, source selection or requested period. Historical instantaneous records are available, but their length varies by station. A successful short request does not establish continuous coverage of the station's history.

Stations and sites

A site is a reach of river where discharge measurements are considered homogeneous and comparable. A station is a measuring installation within that site. It can provide stage, discharge, or both.

One site can hold several stations. HydroPortail states that at most one is active at a time for producing the site's discharge. RivRetrieve retrieves the selected station's own record, rather than the site's combined discharge record.

Time

For instantaneous values retrieved from HydroPortail, time contains UTC clock labels and time_zone is +00:00. Read the two columns together: the datetime column itself does not carry a time zone.

Data status and source selections

HydroPortail exposes four source selections through variant:

Selector Requested source selection
raw Raw records
validated Validated records
pre_validated_and_validated Pre-validated and validated records together
most_valid HydroPortail's most-valid selection

Inspect the catalogue candidates before choosing:

print(sorted(rr.series(selection)["variant"].to_list()))
print(rr.series(validated).select("station_id", "variant").rows())

Output:

['most_valid', 'pre_validated_and_validated', 'raw', 'validated']
[('Y251002001', 'validated')]

Use pick to choose a selector, then fetch to retrieve its observations. For example, request HydroPortail's most-valid selection:

most_valid = rr.pick(selection, variant="most_valid")

most_valid_result = rr.fetch(
    most_valid, start="2020-01-01", end="2020-01-02", cache="bypass"
)

print(rr.series(most_valid_result).select("station_id", "variant").rows())
print(most_valid_result.data.height)
print([(issue.severity, issue.code) for issue in most_valid_result.issues])

Output:

[('Y251002001', 'most_valid')]
50
[('info', 'provenance.license_not_established'), ('info', 'provenance.citation_not_established')]

Fetching selection without pick requests all four selectors and keeps their records separate. Availability can differ by selector and period. An explicit choice requests only that selector; RivRetrieve does not substitute another one when no observations are returned.

most_valid is HydroPortail's selection, not a RivRetrieve quality ranking. Its exact selection algorithm has not been established. The combined selector includes pre-validated and validated records. This public route does not provide corrected-only or pre-validated-only histories.

The variant selector chooses which record stream HydroPortail returns. Each returned observation also carries HydroPortail's point-level numeric codes in the fr_hydroportail.series annotation schema (Int64, nullable):

  • s: processing status (statut, such as 4 raw, 8 corrected, 12 pre-validated, 16 validated).
  • q: qualification (qualification, such as 12 doubtful, 16 unqualified, 20 good).
  • m: observation method (méthode, such as 0 measured, 4 reconstituted, 8 calculated, 10 expert-reviewed).
  • c: continuity (continuité, such as 0 continuous, 1 discontinuous, 4 weak discontinuity, 8 strong discontinuity).

The requested variant and per-point codes play different roles. Mixed selectors such as pre_validated_and_validated and most_valid can combine points with different statuses (for example s=4 raw points alongside s=16 validated points) within one stream, and even a validated stream can mark individual points doubtful (q=12). RivRetrieve preserves the published integer codes without ranking or filtering observations. HydroPortail's glossary defines the underlying concepts.

Inspect the annotation field catalog on result and project those columns onto the validated discharge rows fetched above:

print(rr.annotations(result).select("schema", "name", "dtype").rows())

annotated = result.to_polars(annotations=True)
print(annotated.select("s", "q", "m", "c").head(2).rows())

Output:

[('fr_hydroportail.series', 's', 'Int64'), ('fr_hydroportail.series', 'q', 'Int64'), ('fr_hydroportail.series', 'm', 'Int64'), ('fr_hydroportail.series', 'c', 'Int64')]
[(16, 12, 10, 0), (16, 12, 10, 0)]

The first output lists the four nullable integer fields attached to result. In the two projected discharge rows (13.500 and 13.300 m³/s from validated), each observation carries validated status (s=16), doubtful qualification (q=12), expert-reviewed method (m=10), and continuous continuity (c=0).

Pass annotations="q" or annotations=["s", "q"] to result.to_polars(...) or result.to_pandas(...) when you only want specific columns, or call rr.annotations(result, schema="fr_hydroportail.series") for the native schema table. Window-level response summaries and chart overlays (such as statistics and correctionCurves), as well as unpopulated md fields, are omitted from observation annotations. Retain full response bytes with optional receipts when raw payload records matter. See Source annotations and Series inspection and result views for general result and issue inspection.

Terms and citation

HydroPortail provides public access without personal credentials in RivRetrieve. Its legal and FAQ pages do not establish a reuse licence or standard citation for station records. Hub'Eau's Etalab terms apply to the Hub'Eau route and must not be assumed to cover HydroPortail retrievals.

Publication by HydroPortail does not establish the original author of every historical measurement. RivRetrieve reports the unknown licence and citation as informational issues, including when observations are returned successfully. Check the applicable terms and attribution with the publisher before reusing these records.

Sources

Page Checked
HydroPortail — Mentions légales 2026-09-21
HydroPortail — À propos 2026-09-21
HydroPortail — Glossaire 2026-09-21
HydroPortail — La station hydrométrique 2026-09-21
HydroPortail — Le site hydrométrique 2026-09-21
HydroPortail — Les séries de mesures 2026-09-21
HydroPortail — Séries de mesures, station Y251002001 2026-09-21
HydroPortail — FAQ 2026-09-21

The station count describes the packaged catalogue. The example observations were retrieved on 2026-09-21.