Skip to content
/ ddlpy Public

API to Dutch Rijkswaterstaat archive (DDL, waterinfo.rws.nl) of monitoring water data

License

Notifications You must be signed in to change notification settings

Deltares/ddlpy

Repository files navigation

pypi-image pytest codecov Quality Gate Status Supported versions Downloads

ddlpy

(D)ata (D)istributie (L)aag is a service from Rijkswaterstaat for distributing water quantity data. This package provides an API for Python. See also https://github.com/wstolte/rwsapi for the R API.

Install

Install the latest ddlpy PyPI release with (extra dependencies between [] are optional):

pip install rws-ddlpy[netcdf,examples]

Examples

Documentation: https://deltares.github.io/ddlpy

In the examples/notebooks folders you will find the following examples to get you started:

Run ddlpy from console

With ddlpy locations you can generate a (subsetted) locations.json file, for instance:

ddlpy locations --quantity WATHTE --station HOEKVHLD

With ddlpy measurements you can obtain measurements for locations/parameters in an existing locations.json, for instance:

ddlpy measurements 2023-01-01 2023-01-03

Something broke?

Check the status of the DDL (at the Updates heading). If you have a suggestion or found a bug in ddlpy, please create an issue.