Austria: eHYD
| Provider | at_ehyd |
| Country | Austria |
| Published by | Federal Ministry of Agriculture and Forestry, Climate and Environmental Protection, Regions and Water Management (BMLUK), Department I/3 Water Balance (HZB), with provincial hydrographic services |
| Read from | Official eHYD web services (ehyd.gv.at) |
| Quantities | Discharge, stage, water temperature |
| Stations in the catalogue | 746 river gauges (744 with selectable series). Availability depends on station, quantity, product and period |
| Station metadata | Station name, water-body name and drainage area. See Fields by provider |
| Credentials | None |
| Licence stated by BMLUK | Creative Commons Attribution 4.0 (CC BY 4.0); source attribution required (Datenquelle: ehyd.gv.at) |
| Agency documentation | eHYD portal, General guide, Current telemetry guide |
Retrieve one week of validated daily mean discharge at station 209486,
Böheimkirchen on the Perschling:
import rivretrieve as rr
selection = rr.find(
provider="at_ehyd",
station="209486",
quantity="discharge",
frequency="daily",
statistic="mean",
)
result = rr.fetch(selection, start="2023-01-01", end="2023-01-07", cache="bypass")
preview = result.data.select("time", "time_zone", "value", "unit").head(3)
print(preview.write_csv(), end="")
print(result.data.height)
print(result.issues)
print(rr.series(result, annotations=True)["data_quality"].to_list())
Output:
time,time_zone,value,unit
2023-01-01T00:00:00.000000,unknown,0.112,m3/s
2023-01-02T00:00:00.000000,unknown,0.107,m3/s
2023-01-03T00:00:00.000000,unknown,0.109,m3/s
7
()
['Geprüfte Daten']
The request returned seven published daily means in m³/s from eHYD's validated
historical archive (owf_abfl_tagesmittel). The preview shows the first three
days, and rr.series(result, annotations=True) shows the archive's
Geprüfte Daten label from at_ehyd.series. time_zone is unknown because
the exported CSV files do not state a UTC offset; see
Time and data status. The empty tuple ()
means this retrieval reported no transport, parsing, or gap-marker issues.
Attribution is still required when using the data; see
Terms and citation.
cache="bypass", the default for live rr.fetch calls, requests eHYD directly
without reading or writing a local cache. Passing cache="reuse" stores the
station's downloaded archive series locally so later historical queries for the
same gauge and product reuse the cached series without downloading the full CSV
file again. This output was checked live on 2026-11-03. Published values can
change across hydrographic yearbook revisions. See Usage for
selection options and result handling.
Who measures, and who publishes
Austria's Federal Ministry of Agriculture and Forestry, Climate and
Environmental Protection, Regions and Water Management (Bundesministerium für
Land- und Forstwirtschaft, Klima- und Umweltschutz, Regionen und
Wasserwirtschaft, BMLUK), Department I/3 Water Balance (Wasserhaushalt,
formerly the Hydrographic Central Office, HZB), publishes national hydrographic
data through eHYD. Measurements are collected and
validated in cooperation with the nine provincial hydrographic services
(Hydrographische Landesdienste), the waterway operator viadonau on the
Danube, and municipal water services. Appearance on eHYD does not mean that
BMLUK operates every station itself.
No API key or account is required. RivRetrieve searches the packaged station and
series catalogue offline; rr.fetch then requests data directly from eHYD's
public web services. Station identifiers are six-digit HZB numbers (hzbnr),
kept as strings such as "209486".
The packaged at_ehyd catalogue covers flowing surface waters only: 746 river
gauges in EPSG:4326, of which 744 expose at least one selectable discharge,
stage, or water temperature series (2 river gauges, 207480 and 230102,
publish only sediment series). Standing-water lake gauges (Seepegel, 59
stations in eHYD's surface-water layer on lakes such as Bodensee, Neusiedler
See, and Attersee), subsurface spring gauges (Quellen), groundwater wells, and
precipitation or evaporation stations are excluded. Validated daily suspended
sediment load (Schwebstoff-Tagesfracht) and daily bedload transport
(Geschiebe-Tagesfracht) published at a subset of river gauges are also outside
RivRetrieve's current quantity scope.
What you can retrieve
eHYD publishes river observations through two separate streams:
- Validated historical archive (Geprüfte Daten): Quality-checked CSV series reviewed for Austria's Hydrographic Yearbook (Hydrographisches Jahrbuch).
- Operational telemetry (Pegel Aktuell): Unchecked near-real-time
sub-hourly telemetry (
variant="data") and current-year daily comparison series (variant="current_value") published at telemetered gauges.
Validated historical archive (Geprüfte Daten):
| Quantity filter | Source field / variant |
Frequency | Statistic | Source unit | Returned unit |
|---|---|---|---|---|---|
discharge |
owf_abfl_tagesmittel (Q-Tagesmittel) |
Daily | Mean | m³/s | m³/s |
discharge |
owf_abfl_monatsminima (Q-Monatsminima) |
Monthly | Minimum | m³/s | m³/s |
discharge |
owf_abfl_monatsmaxima (Q-Monatsmaxima) |
Monthly | Maximum | m³/s | m³/s |
stage |
owf_wasserst_tagesmittel (W-Tagesmittel) |
Daily | Mean | cm | m |
stage |
owf_wasserst_monatsminima (W-Monatsminima) |
Monthly (Unknown at 207340) |
Minimum | cm | m |
stage |
owf_wasserst_monatsmaxima (W-Monatsmaxima) |
Monthly | Maximum | cm | m |
temperature |
owf_wassertemp_monatsmittel (WT-Monatsmittel) |
Monthly | Mean | °C | °C |
Operational telemetry (Pegel Aktuell):
| Quantity filter | Source field / variant |
Frequency | Statistic | Source unit | Returned unit |
|---|---|---|---|---|---|
discharge |
data (sub-hourly telemetry) |
Unknown | Unknown | m³/s | m³/s |
stage |
data (sub-hourly telemetry) |
Unknown | Unknown | cm, m ü.A | m |
discharge |
current_value (current-year daily) |
Daily | Unknown | m³/s | m³/s |
stage |
current_value (current-year daily) |
Daily | Unknown | cm, m ü.A | m |
A station may publish only a subset of these eleven series. Federal eHYD
publishes validated river water temperature only as monthly means
(owf_wassertemp_monatsmittel); daily and near-real-time river water
temperature are not published on this federal service.
In the validated archive, monthly minimum and maximum series report the lowest or highest instantaneous measurement recorded within each calendar month, stamped with its exact occurrence date and time, rather than the lowest or highest daily mean.
RivRetrieve keeps validated archive series and operational telemetry strictly separate. It does not append unchecked telemetry onto validated yearbook records or calculate daily means from sub-hourly readings. Inspect all candidate series and station metadata at a gauge offline before fetching:
all_discharge = rr.find(provider="at_ehyd", station="209486", quantity="discharge")
candidates = rr.series(all_discharge)
metadata = rr.metadata(all_discharge)
Filtering with frequency="daily" and statistic="mean" selects only the
validated daily-mean archive series (owf_abfl_tagesmittel) because the
current-year daily comparison series (variant="current_value") has no
established statistic and the sub-hourly telemetry series (variant="data") has
no established frequency or statistic. Select either operational telemetry
stream directly with variant:
- Sub-hourly telemetry (Pegel Aktuell):
rr.pick(all_discharge, variant="data")(orrr.pick(all_discharge, time_zone="UTC+01:00")) - Current-year daily comparison (Pegel Aktuell):
rr.pick(all_discharge, variant="current_value")
You can also pass a specific series_id from candidates to rr.pick(...)
when targeting an individual series row.
In sub-hourly telemetry (Pegel Aktuell, variant="data") responses,
RivRetrieve reads only the data observation series and omits static
warning-level lines (Niedrigwasser, Mittelwasser, and Hochwasser
thresholds). In current-year daily comparison (Pegel Aktuell,
variant="current_value") responses, RivRetrieve reads only the current
calendar year's current_value series; it omits the prior-year overlay
(last_year_value, which is aligned onto the current year's 365- or 366-day
axis without its own calendar dates) and the 30-year climatological summary
curves (min_data, max_data, mit_data, p5_data, p95_data).
Stage references and moving gauge zeros
River stage (Wasserstand) in both Geprüfte Daten and Pegel Aktuell is
published in centimetres relative to the station's local gauge zero
(Pegelnullpunkt). RivRetrieve multiplies cm values by 0.01 to return
metres (m), keeps "cm" in source_unit, and sets
vertical_reference="gauge_zero" on the series. Genuine water levels below
gauge zero remain negative (for example down to -2.27 m at Danube station
207068, Linz), and published negative values in water-temperature exports
(down to -2.8 °C in owf_wassertemp_monatsmittel at 200352, Unterhochsteg)
are likewise preserved without clamping.
Use care when interpreting multi-year stage records or comparing water levels
across periods. At most Austrian river gauges (543 of 739 historical river
gauges in the packaged snapshot, 537 with more than one distinct height), the
local gauge zero has been reset or resurveyed over time. eHYD's station master
sheets (Stammdaten) and stage CSV preambles list dated Pegelnullpunkt
heights in metres above the Adriatic datum (m ü.A., Meter über Adria),
without stating whether historical stage observations prior to a reset were
adjusted to the latest datum or left relative to the datum active at the time of
measurement.
Because no single scalar elevation applies across a station's full history,
the elevation_* columns are null in rr.metadata(selection)
(state="no_metadata" in rr.metadata(selection, view="source")) and
vertical_datum remains unknown on stage series. Do not add a single
Pegelnullpunkt height to a long stage record without checking the station's
dated datum table on eHYD. Where an eHYD stage response declares m ü.A or
m ü.A. (Meter über Adria, water-surface elevation above sea level),
RivRetrieve returns metres (m) without scaling, with
vertical_reference="above_sea_level" and vertical_datum unknown; all river
stage series in the packaged snapshot currently publish cm above gauge zero.
Station metadata exposes station names (name from the historical registry and
messstelle from Pegel Aktuell), water-body names (gewaesser and
gewasser), and orographic catchment area (orogr.Einzugsgebiet [km²] with
unit km² for gauges in the historical registry). When name and messstelle
spell a gauge's name differently (51 overlapping gauges), summary
station_name is null and both spellings remain visible in
rr.metadata(selection, view="source"). Catchment areas retain eHYD's German
decimal comma as JSON text, such as '"55,3"' at station 209486; see
Station metadata for decoding details.
Archive vintage and recent coverage
The three series streams cover separate periods and leave an unpublished gap between the latest yearbook and the current calendar year:
- Validated historical archive (Geprüfte Daten): Covers multi-decade
histories up to the close of the latest published Hydrographic Yearbook. In
the catalogue snapshot (2026-10-31) and live checks on 2026-11-03, validated
river exports end at
2023-12-31(marked by a closing boundary at2024-01-01 00:00). Start years vary widely by gauge and quantity, and decommissioned gauges end earlier. - Current-year daily comparison (Pegel Aktuell,
variant="current_value"): Covers only the current calendar year (2026during 2026) up to the latest reported day. Trailingnullpadding for future dates later in the year is trimmed. The service ignores query parameters requesting earlier calendar years. - Near-real-time sub-hourly telemetry (Pegel Aktuell,
variant="data"): Covers a rolling window of roughly seven to eight days at variable sub-hourly intervals (commonly 5, 10, 15, or 30 minutes, sometimes varying within a single week). Older readings age out as new telemetry arrives. Local caching (cache="reuse") accumulates readings already fetched across repeated runs, while readings that left the rolling window before being fetched cannot be recovered from this service.
Because the validated archive ends at the latest published yearbook (2023) and
the current-year daily comparison stream (variant="current_value") serves only
the current calendar year, intermediate post-yearbook years (such as 2024 and
2025 before their yearbook release) are not yet available through federal
ehyd.gv.at downloads. A validated archive request for dates after 2023-12-31
returns no rows for those unpublished years because the yearbook export has not
yet reached them, rather than because no river measurements were taken.
Time and data status
Time-zone handling differs between sub-hourly telemetry and the daily or monthly series:
- Sub-hourly telemetry (Pegel Aktuell,
variant="data"): eHYD documents these timestamps as fixed Central European Time (Mitteleuropäische Zeit,MEZ,UTC+01:00throughout the year without daylight-saving transitions).rr.fetchpreserves the publishedMEZwall-clock timestamps withtime_zone="+01:00"(time_zone="UTC+01:00"inrr.series(...)), andrr.to_utc(result)shifts them to UTC (time_zone="+00:00"). Whether each sub-hourly value represents an instantaneous reading or a short interval average is not established. - Validated archive (Geprüfte Daten) and current-year daily comparison
(Pegel Aktuell,
variant="current_value"): Neither format states an explicit UTC offset in its machine-readable header or payload. Although BMLUK's Pegelordnung 2014 recommendsMEZ(UTC+01:00), it also notes historicalSOZ/MEZsummer-time practices, and older epochs in validated archive CSV files contain daily timestamps at07:00or01:00before shifting to00:00(at historical manual staff gauges, Lattenpegel, a scheduled morning reading counted as the daily value). RivRetrieve therefore keepstime_zone="unknown"and leavesday_definitionunknown on both streams;rr.to_utc()refusesunknowntime zones rather than assumingUTC+01:00across all historical years.
On validated interval-mean archive series (owf_abfl_tagesmittel,
owf_wasserst_tagesmittel, and owf_wassertemp_monatsmittel), each timestamp
marks the start of its validity interval (timestamp_anchor="start"), in
accordance with the CSV preamble rule ("Der Intervallwert gilt bis zum
nächsten Zeitpunkt mit einem Wert oder Lücke"). At Danube station 207340
(Wilhering), the W-Monatsminima CSV file declares and contains daily (T,1)
stage minima rather than monthly minima; RivRetrieve withholds
frequency="monthly" on that station's owf_wasserst_monatsminima series so
monthly filters do not return daily rows.
eHYD labels its historical CSV downloads Geprüfte Daten (checked data) and
displays "ungeprüfte Rohdaten!" (unchecked raw data) on Pegel Aktuell
exports, noting that live telemetry can contain sensor faults, ice or weed
effects, backwater, or transmission gaps. Neither stream carries
per-observation quality flags. RivRetrieve attaches the verbatim stream label in
the series-grain annotation schema at_ehyd.series (scope="series", field
data_quality of type String) without making a quality judgement of its own.
Use rr.annotations(result) to inspect attached metadata and
rr.series(result, annotations=True) to join data_quality to the series table;
see Usage.
Keep missing-data representations distinct when inspecting results:
- In validated archive (Geprüfte Daten) CSV files, missing spans are encoded
as timestamped
Lücke(gap) transition lines rather than one null row per missing day, and interval files end with a closingLückeboundary line at the end of the export window. RivRetrieve omitsLückelines without fabricating rows, suppresses the closing-boundary marker, and records an informationalsource.gap_markerissue inresult.issueswhen interior gaps occur. - In Pegel Aktuell telemetry responses (
variant="data"andvariant="current_value"), interior missing entries published asnullremain rows withvalue=null. - When a Pegel Aktuell gauge is currently offline and returns an empty
response,
rr.fetchreturns no rows (and emits asource.inventory_unresolvedwarning inresult.issueswhen that telemetry series was requested explicitly). Empty or malformed validated archive files report an error or warning inresult.issues; check issues before interpreting an empty result.
Terms and citation
Official INSPIRE Austria metadata records for the hydrographic surface-water station network and the current hydrographic measurement service state that the data are licensed for private and commercial reuse free of charge under Creative Commons Attribution 4.0 International (CC BY 4.0), with mandatory source attribution:
Datenquelle: ehyd.gv.at
In German, the INSPIRE attribution clause requires "Datenquelle: ehyd.gv.at",
wobei "ehyd.gv.at" als Link auf https://ehyd.gv.at auszuführen ist (linking
ehyd.gv.at to https://ehyd.gv.at). Both rr.describe("at_ehyd") and
result.provenance expose license="CC BY 4.0" and
citation="Datenquelle: ehyd.gv.at". For scientific traceability, also record
the station HZB number, product, requested period, and retrieval date.
The eHYD portal notes that data are published pursuant to
§ 55o (2) Wasserrechtsgesetz and § 4 (1)(2) Umweltinformationsgesetz without
warranty for completeness, continuity, or accuracy, and prohibits automated
extraction outside content expressly offered for download (both per-station
Geprüfte Daten CSV files and Pegel Aktuell chart CSV exports are offered for
download on the portal). An older 2022 general user
guide (page 14) also
contains an own-use and no-paid-resale statement alongside the CC BY 4.0 INSPIRE
licence declarations. RivRetrieve paces live requests politely (at most one
request per second) and caches downloaded archive series locally when
cache="reuse" is passed.
Sources
Publisher documents and metadata checked on 2026-10-31 and verified reachable on 2026-11-03:
- eHYD portal (
ehyd.gv.at): national hydrographic map, station downloads, Pegel Aktuell telemetry charts, and portal legal notices. - BMLUK: eHYD Allgemein (general user guide, PDF): HZB numbering, monitoring domains, Stammdaten sheets, CSV exports, and usage notes.
- BMLUK: Aktuelle Daten in eHYD (current telemetry guide, PDF): Pegel Aktuell transfer intervals and unchecked raw-telemetry caveats.
- BMLUK: Pegelordnung 2014 (PDF): gauge-zero (Pegelnullpunkt) definitions, time-zone recommendations (
MEZ), daily interval means, and monthly instantaneous extrema. - LFRZ OGC API Features (
i000501): WGS84 (EPSG:4326) station collections formessstellen_owfandpegel_aktuell. - INSPIRE Austria metadata: hydrographic station network and Pegel Aktuell service: CC BY 4.0 licensing and mandatory
Datenquelle: ehyd.gv.atattribution.
The station counts describe the packaged catalogue snapshot (2026-10-31). The example observations were retrieved on 2026-11-03. This live example does not establish continuous coverage.