Skip to content

Commit 1d83c16

Browse files
committed
Align Netherlands docs structure
1 parent 10d6325 commit 1d83c16

2 files changed

Lines changed: 38 additions & 52 deletions

File tree

docs/fetchers/netherlands.rst

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,5 @@
11
Netherlands Fetcher
22
===================
33

4-
The Netherlands fetcher wraps Rijkswaterstaat WaterWebservices metadata and
5-
observation endpoints for surface-water gauges.
6-
7-
Implemented support includes:
8-
9-
- discharge daily mean and instantaneous
10-
- stage daily mean and instantaneous
11-
- water temperature daily mean and instantaneous
12-
13-
Implementation notes:
14-
15-
- live metadata is sourced from the Rijkswaterstaat catalog
16-
- cached metadata is stored in ``rivretrieve/cached_site_data/netherlands_sites.csv``
17-
- the fetcher prefers the current ``ddapi20`` endpoint family and falls back to the
18-
legacy WaterWebservices endpoints when needed
19-
- daily series are aggregated from sub-daily observations
20-
- stage values are converted from centimeters to meters
21-
- provider sentinel values are filtered from temperature series before aggregation
22-
234
.. automodule:: rivretrieve.netherlands
245
:members:

rivretrieve/netherlands.py

Lines changed: 38 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,4 @@
1-
"""Fetcher for Netherlands river gauge data from Rijkswaterstaat WaterWebservices.
2-
3-
Data source:
4-
- website: https://rijkswaterstaatdata.nl/waterdata/
5-
6-
Supported variables:
7-
- ``constants.DISCHARGE_DAILY_MEAN`` (m³/s)
8-
- ``constants.DISCHARGE_INSTANT`` (m³/s)
9-
- ``constants.STAGE_DAILY_MEAN`` (m)
10-
- ``constants.STAGE_INSTANT`` (m)
11-
- ``constants.WATER_TEMPERATURE_DAILY_MEAN`` (°C)
12-
- ``constants.WATER_TEMPERATURE_INSTANT`` (°C)
13-
14-
Data description and API:
15-
- current API docs: https://ddapi20-waterwebservices.rijkswaterstaat.nl/swagger-ui/index.html
16-
17-
Terms of use:
18-
- see https://rijkswaterstaatdata.nl/waterdata/
19-
20-
Notes:
21-
- The official Rijkswaterstaat documentation was updated on March 10, 2026 and
22-
states that the classic WaterWebservices will be retired at the end of April 2026.
23-
This fetcher therefore targets the new ``ddapi20`` endpoints first and falls back
24-
to the legacy service if needed.
25-
- The Rijkswaterstaat catalog exposes discharge (``Q``), water level
26-
(``WATHTE``), and water temperature (``T``) for surface water, which are mapped
27-
to the corresponding RivRetrieve daily and instantaneous variables.
28-
- Station metadata is filtered to stations that advertise at least one supported
29-
surface-water variable.
30-
- Rijkswaterstaat often serves observations at 10-minute resolution. This fetcher
31-
retrieves raw observations in monthly windows and aggregates them to daily means.
32-
"""
1+
"""Fetcher for Netherlands river gauge data from Rijkswaterstaat WaterWebservices."""
332

343
from __future__ import annotations
354

@@ -48,7 +17,43 @@
4817

4918

5019
class NetherlandsFetcher(base.RiverDataFetcher):
51-
"""Fetches Dutch river discharge data from Rijkswaterstaat WaterWebservices."""
20+
"""Fetches Dutch river gauge data from Rijkswaterstaat WaterWebservices.
21+
22+
Data source:
23+
- website: https://rijkswaterstaatdata.nl/waterdata/
24+
25+
Supported variables:
26+
- ``constants.DISCHARGE_DAILY_MEAN`` (m³/s)
27+
- ``constants.DISCHARGE_INSTANT`` (m³/s)
28+
- ``constants.STAGE_DAILY_MEAN`` (m)
29+
- ``constants.STAGE_INSTANT`` (m)
30+
- ``constants.WATER_TEMPERATURE_DAILY_MEAN`` (°C)
31+
- ``constants.WATER_TEMPERATURE_INSTANT`` (°C)
32+
33+
Data description and API:
34+
- current API docs: https://ddapi20-waterwebservices.rijkswaterstaat.nl/swagger-ui/index.html
35+
- metadata endpoint: ``/METADATASERVICES/OphalenCatalogus``
36+
- observations endpoint: ``/ONLINEWAARNEMINGENSERVICES/OphalenWaarnemingen``
37+
38+
Terms of use:
39+
- see https://rijkswaterstaatdata.nl/waterdata/
40+
41+
Notes:
42+
- The official Rijkswaterstaat documentation was updated on March 10, 2026 and
43+
states that the classic WaterWebservices will be retired at the end of
44+
April 2026. This fetcher therefore targets the new ``ddapi20`` endpoints
45+
first and falls back to the legacy service if needed.
46+
- The Rijkswaterstaat catalog exposes discharge (``Q``), water level
47+
(``WATHTE``), and water temperature (``T``) for surface water, which are
48+
mapped to the corresponding RivRetrieve daily and instantaneous variables.
49+
- Station metadata is filtered to stations that advertise at least one
50+
supported surface-water variable.
51+
- Rijkswaterstaat often serves observations at 10-minute resolution. This
52+
fetcher retrieves raw observations in monthly windows and aggregates them to
53+
daily means for daily products.
54+
- Stage values are converted from centimeters to meters.
55+
- Provider sentinel missing values are filtered before aggregation.
56+
"""
5257

5358
SOURCE = "Rijkswaterstaat WaterWebservices"
5459
COUNTRY = "Netherlands"

0 commit comments

Comments
 (0)