Skip to main content

Service from Rijkswaterstaat for distributing water quantity data.

Project description

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, more information is available at https://rijkswaterstaatdata.nl/waterdata. This package provides an API for Python and includes easy filtering of available data and stations, convenient conversion to pandas and xarray objects, automatic chunking of large data requests, error handling and much more nifty features. 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 hoekvanholland

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?

First check the status of the DDL (at the Updates section). If you found an issue in the data or with the Waterwebservices, please start a discussion at the Waterwebservices github. If you have a suggestion or found a bug in ddlpy, please create a issue at the ddlpy Github.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rws_ddlpy-0.9.3.tar.gz (47.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rws_ddlpy-0.9.3-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file rws_ddlpy-0.9.3.tar.gz.

File metadata

  • Download URL: rws_ddlpy-0.9.3.tar.gz
  • Upload date:
  • Size: 47.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for rws_ddlpy-0.9.3.tar.gz
Algorithm Hash digest
SHA256 b2198d81fe7bd035d95aa556cce7f2f0b924858348c3c50e4967dd5e582976ee
MD5 ec052bcd3214f27396db57c1ac826e00
BLAKE2b-256 8c0a59f7da2b759a4a1201c12a4a175cebf343edcc1958bdf6a78f17aad4a7b5

See more details on using hashes here.

File details

Details for the file rws_ddlpy-0.9.3-py3-none-any.whl.

File metadata

  • Download URL: rws_ddlpy-0.9.3-py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for rws_ddlpy-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 861bcc9baac571f8f21f2df48a6b254db49841ce2ec99381e8418c564d826dbf
MD5 0bf6469eb595ab388cda76d2958079ff
BLAKE2b-256 5ce33ba7c5f9c2975fc02af875a388e8fc522fe56b3166c1c5d534a1a07ed9b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page