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.0.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.0-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rws_ddlpy-0.9.0.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.0.tar.gz
Algorithm Hash digest
SHA256 da37c699a228e1a964c348a7b479c431e1094ea992242477296d81809c9626ce
MD5 44e8e6991f8d45d59cb74f90b31659e2
BLAKE2b-256 18272ff43c36bae05cdbcbc441143bad3a38eeff1469acc8f79cbb3d794faec4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rws_ddlpy-0.9.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe4987d49818b8c9083d2f7fba9c18d8b3eda34c71671d4970775af9e9c3d96d
MD5 d6bd26a9a3d2771d64caf7a391b6bede
BLAKE2b-256 bcc567157dccab101bf1fda4da15e592599c2f40d3fb2ac37d8efc6088e7ff63

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