Skip to main content
https://raw.githubusercontent.com/cheginit/hydrodata/develop/docs/_static/hydrodata_logo_text.png

Package

Description

Hydrodata

Access NWIS, HCDN 2009, NLCD, and SSEBop databases

PyGeoOGC

Query data from any ArcGIS RESTful-, WMS-, and WFS-based services

PyGeoUtils

Convert responses from PyGeoOGC’s supported web services to datasets

PyNHD

Access NLDI and WaterData web services for navigating the NHDPlus database

Py3DEP

Access topographic data through the 3D Elevation Program (3DEP) web service

PyDaymet

Access the Daymet database for daily climate data

Hydrodata: Portal to hydrology and climatology data

PyPi Conda Version CodeCov Github Actions ReadTheDocs Binder

Downloads CodeFactor black pre-commit Zenodo

🚨 This package is under heavy development and breaking changes are likely to happen. 🚨

Why Hydrodata?

Hydrodata is a stack of Python libraries designed to aid in watershed analysis through web services. Currently, it only includes hydrology and climatology data within the US. Some of the major capabilities if Hydrodata are:

  • Easy access to many web services for subsetting data and returning them as masked xarrays or GeoDataFrames.

  • Splitting the requests into smaller chunks under-the-hood since web services limit the number of items per request. So the only bottleneck for subsetting the data is the local available memory.

  • Navigating and extracting data from the NHDPlus database using web services without downloading the whole database.

  • Cleaning up the vector NHDPlus data, fixing some common issues, and computing flow accumulation.

  • A URL inventory of some of the popular web services.

  • Many other utilities for manipulating the data and visualization.

You can visit examples webpage to see some example notebooks. You can also try using Hydrodata without installation it on you system by clicking on the binder badge below the Hydrodata banner. A Jupyter notebook instance with the Hydrodata software stack pre-installed will be launched in your web browser and you can start coding!

The full documentation can be found at https://hydrodata.readthedocs.io.

Features

Hydrodata itself has three main modules; hydrodata, plot, and helpers. The hydrodata module provides access to the following web services:

  • NWIS for daily mean streamflow observations,

  • HCDN 2009 for identifying sites where human activity affects the natural flow of the watercourse,

  • NLCD 2016 for land cover/land use, imperviousness, and canopy data,

  • SSEBop for daily actual evapotranspiration, for both single pixel and gridded data.

Also, it has two other functions:

  • interactive_map: Interactive map for exploring NWIS stations within a bounding box.

  • cover_statistics: Compute categorical statistics of land use/land cover data.

The plot module includes two main functions:

  • signatures: Plot five hydrologic signature graphs

  • cover_legends: The official NLCD land cover legends for plotting a land cover dataset.

The helpers module include:

  • nlcd_helper: A roughness coefficients lookup table for each land cover type which is useful for overland flow routing among other applications.

  • nwis_error: A dataframe for finding information about NWIS requests’ errors.

Moreover, requests for additional databases or functionalities can be submitted via issue tracker.

https://raw.githubusercontent.com/cheginit/hydrodata/develop/docs/_static/example_plots.png

Installation

You can install Hydrodata using pip after installing libgdal on your system (for example, in Ubuntu run sudo apt install libgdal-dev):

$ pip install hydrodata

Alternatively, Hydrodata can be installed from the conda-forge repository using Conda:

$ conda install -c conda-forge hydrodata

Contributing

Hydrodata offers some limited analysis tools. It could be more useful for the watershed modeling community to integrate more data exploratory and analysis capabilities to the package. Additionally, adding support for more databases such as water quality, phenology, and water level, are very welcome. If you are interested please get in touch. You can find more information about contributing to Hydrodata at our Contributing webpage.

Credits

This package was created based on the audreyr/cookiecutter-pypackage project template.

Metadata

Release files for hydrodata 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hydrodata 0.7.0
File Size Uploaded
hydrodata-0.7.0.tar.gz 6.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for hydrodata 0.7.0
File Interpreter ABI Platform
hydrodata-0.7.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 6.3 MB

Release files / hydrodata-0.7.0.tar.gz

Download URL hydrodata-0.7.0.tar.gz
Size 6.2 MB
Tags Source
SHA-256 checksum
How to use checksums
64a920d2dd3b8e6187ab4d9da5310f0d3f5833d1ff930f8366cced665245c7f0
BLAKE2b-256 checksum
How to use checksums
7979ec7473e0e98d419733c6d2d98ff12deaef4837e222271e0dd13dd1d13756
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release files / hydrodata-0.7.0-py2.py3-none-any.whl

Download URL hydrodata-0.7.0-py2.py3-none-any.whl
Size 18.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1190c9e62e481a28b0cd845c0d9092ed058fff8cc9ed896dbab1acbd832bfd1b
BLAKE2b-256 checksum
How to use checksums
fc83890ac7ccd8eb759b7683daca7bb02691cfebf2f44f65a726221a565b8479
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release history Release notifications | RSS feed

0.9.4

1 release file

0.9.3

1 release file

0.9.2

1 release file

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

This release

0.7.0 This release

2 release files

0.6.0

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page