rws-ddlpy


Namerws-ddlpy JSON
Version 0.6.0 PyPI version JSON
download
home_pageNone
SummaryService from Rijkswaterstaat for distributing water quantity data.
upload_time2024-10-08 09:36:15
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseGPLv3
keywords ddlpy
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![pypi-image](https://img.shields.io/pypi/v/rws-ddlpy.svg)](https://pypi.python.org/pypi/rws-ddlpy)
[![pytest](https://github.com/Deltares/ddlpy/actions/workflows/pytest.yml/badge.svg?branch=main)](https://github.com/Deltares/ddlpy/actions/workflows/pytest.yml)
[![codecov](https://img.shields.io/codecov/c/github/deltares/ddlpy.svg?style=flat-square)](https://app.codecov.io/gh/deltares/ddlpy?displayType=list)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Deltares_ddlpy&metric=alert_status)](https://sonarcloud.io/summary/overall?id=Deltares_ddlpy)
[![Supported versions](https://img.shields.io/pypi/pyversions/rws-ddlpy.svg)](https://pypi.org/project/rws-ddlpy)
[![Downloads](https://img.shields.io/pypi/dm/rws-ddlpy.svg)](https://pypistats.org/packages/rws-ddlpy)

# 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:

* [minimal_example.py](https://github.com/Deltares/ddlpy/blob/main/docs/examples/minimal_example.py) -> minimal code to retrieve data.

* [retrieve_parallel_to_netcdf.py](https://github.com/Deltares/ddlpy/blob/main/docs/examples/retrieve_parallel_to_netcdf.py) -> Code to retrieve a bulk of observations and write to netcdf files for each station.

* [measurements.ipynb](https://github.com/Deltares/ddlpy/blob/main/docs/notebooks/measurements.ipynb) -> interactive notebook to subset/inspect locations and download/plot measurements

* [waterinfo.ipynb](https://github.com/Deltares/ddlpy/blob/main/docs/notebooks/waterinfo.ipynb) -> interactive notebook to read csv's obained from waterinfo.rws.nl


# 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](https://rijkswaterstaatdata.nl/waterdata/#hfd2f5e23-5092-4169-9f36-41e9734e7d87) (at the *Updates* heading). If you have a suggestion or found a bug in ddlpy, please [create an issue](https://github.com/Deltares/ddlpy/issues).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "rws-ddlpy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "Fedor Baart <fedor.baart@deltares.nl>, Jelmer Veenstra <jelmer.veenstra@deltares.nl>",
    "keywords": "ddlpy",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/41/a0/c78da1c61bb39a60f88dfffc737012fe64dedb277343ea8569edcc4fdf07/rws_ddlpy-0.6.0.tar.gz",
    "platform": null,
    "description": "[![pypi-image](https://img.shields.io/pypi/v/rws-ddlpy.svg)](https://pypi.python.org/pypi/rws-ddlpy)\n[![pytest](https://github.com/Deltares/ddlpy/actions/workflows/pytest.yml/badge.svg?branch=main)](https://github.com/Deltares/ddlpy/actions/workflows/pytest.yml)\n[![codecov](https://img.shields.io/codecov/c/github/deltares/ddlpy.svg?style=flat-square)](https://app.codecov.io/gh/deltares/ddlpy?displayType=list)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Deltares_ddlpy&metric=alert_status)](https://sonarcloud.io/summary/overall?id=Deltares_ddlpy)\n[![Supported versions](https://img.shields.io/pypi/pyversions/rws-ddlpy.svg)](https://pypi.org/project/rws-ddlpy)\n[![Downloads](https://img.shields.io/pypi/dm/rws-ddlpy.svg)](https://pypistats.org/packages/rws-ddlpy)\n\n# ddlpy\n\n(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.\n\n\n# Install\n\nInstall the latest ddlpy PyPI release with (extra dependencies between `[]` are optional):\n\n\tpip install rws-ddlpy[netcdf,examples]\n\n# Examples\n\nDocumentation: <https://deltares.github.io/ddlpy>\n\nIn the examples/notebooks folders you will find the following examples to get you started:\n\n* [minimal_example.py](https://github.com/Deltares/ddlpy/blob/main/docs/examples/minimal_example.py) -> minimal code to retrieve data.\n\n* [retrieve_parallel_to_netcdf.py](https://github.com/Deltares/ddlpy/blob/main/docs/examples/retrieve_parallel_to_netcdf.py) -> Code to retrieve a bulk of observations and write to netcdf files for each station.\n\n* [measurements.ipynb](https://github.com/Deltares/ddlpy/blob/main/docs/notebooks/measurements.ipynb) -> interactive notebook to subset/inspect locations and download/plot measurements\n\n* [waterinfo.ipynb](https://github.com/Deltares/ddlpy/blob/main/docs/notebooks/waterinfo.ipynb) -> interactive notebook to read csv's obained from waterinfo.rws.nl\n\n\n# Run ddlpy from console\n\nWith `ddlpy locations` you can generate a (subsetted) locations.json file, for instance:\n\n\tddlpy locations --quantity WATHTE --station HOEKVHLD\n\nWith `ddlpy measurements` you can obtain measurements for locations/parameters in an existing locations.json, for instance:\n\n\tddlpy measurements 2023-01-01 2023-01-03\n\n\n# Something broke?\n\nCheck the [status of the DDL](https://rijkswaterstaatdata.nl/waterdata/#hfd2f5e23-5092-4169-9f36-41e9734e7d87) (at the *Updates* heading). If you have a suggestion or found a bug in ddlpy, please [create an issue](https://github.com/Deltares/ddlpy/issues).\n",
    "bugtrack_url": null,
    "license": "GPLv3",
    "summary": "Service from Rijkswaterstaat for distributing water quantity data.",
    "version": "0.6.0",
    "project_urls": {
        "Code": "https://github.com/deltares/ddlpy",
        "Home": "https://github.com/deltares/ddlpy",
        "Issues": "https://github.com/deltares/ddlpy/issues"
    },
    "split_keywords": [
        "ddlpy"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f03647a70f1fb9aae56feea12a1562f1a7c9f12458f9407dfe4876e26d0c56f2",
                "md5": "7080b1631f4237aa3808dea4079db941",
                "sha256": "957db88adea770e26d761cf663ff13b837d09dffd80afee9415ef3970f5c23db"
            },
            "downloads": -1,
            "filename": "rws_ddlpy-0.6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7080b1631f4237aa3808dea4079db941",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 28124,
            "upload_time": "2024-10-08T09:36:13",
            "upload_time_iso_8601": "2024-10-08T09:36:13.512561Z",
            "url": "https://files.pythonhosted.org/packages/f0/36/47a70f1fb9aae56feea12a1562f1a7c9f12458f9407dfe4876e26d0c56f2/rws_ddlpy-0.6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "41a0c78da1c61bb39a60f88dfffc737012fe64dedb277343ea8569edcc4fdf07",
                "md5": "b82a43534d9a7f87c348cf213f25f88f",
                "sha256": "30bdcba81db5f1ab4df9fb7decdcbf18d7c38a07fdbc0b934dfb605fdcb3f5d5"
            },
            "downloads": -1,
            "filename": "rws_ddlpy-0.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b82a43534d9a7f87c348cf213f25f88f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 43845,
            "upload_time": "2024-10-08T09:36:15",
            "upload_time_iso_8601": "2024-10-08T09:36:15.266450Z",
            "url": "https://files.pythonhosted.org/packages/41/a0/c78da1c61bb39a60f88dfffc737012fe64dedb277343ea8569edcc4fdf07/rws_ddlpy-0.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-08 09:36:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "deltares",
    "github_project": "ddlpy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "rws-ddlpy"
}
        
Elapsed time: 3.66942s