|
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.""" |
33 | 2 |
|
34 | 3 | from __future__ import annotations |
35 | 4 |
|
|
48 | 17 |
|
49 | 18 |
|
50 | 19 | 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 | + """ |
52 | 57 |
|
53 | 58 | SOURCE = "Rijkswaterstaat WaterWebservices" |
54 | 59 | COUNTRY = "Netherlands" |
|
0 commit comments