Skip to main content

Analysis of hydrological oriented time series

Project description

# Hydropy

[![Pypi](]( [![Build Status](]( [![License](–Clause-blue.svg)](

Analysis of hydrological oriented time series.

This package is designed to simplify the collection and analysis of hydrology data. Use HydroPy in a Jupyter notebook and save your analysis so that you can recreate your procedures and share them with others.

Hydropy uses the power of Numpy and Pandas to quickly process large datasets. Matplotlib and Seaborn are built-in to Hydropy, allowing you to create publication-ready diagrams quickly and easily.

Try Hydropy in a notebook: [hydropy_tutorial.ipynb](

## Example:

# Recession periods in June 2011: myflowserie.get_year(‘2011’).get_month(“Jun”).get_recess()

![Recession periods](./data/recession.png)

# Peak values above 90th percentile for station LS06_347 in july 2010: myflowserie[‘LS06_347’].get_year(‘2010’).get_month(“Jul”).get_highpeaks(150, above_percentile=0.9)

![Selected peaks](./data/peaks.png)

# Select 3 storms out of the series storms = myflowserie.derive_storms(raindata[‘P06_014’], ‘LS06_347’, number_of_storms=3, drywindow=96, makeplot=True)

![Selected storms](./data/storms.png)

A more extended tutorial/introduction is provided in a ipython notebook: [hydropy_tutorial.ipynb](

We acknowledge the Flemish Environmental Agency (VMM) for the data used in the tutorial. It can be downloaded from

To install this, git clone the repo and then install it by:

python install

To test the functionalities yourself without installing it, use following test environment provided by Binder: [![Binder](](

Inspiration or possible useful extensions: * Basically this is a restart of hydropy * Hydroclimpy * Georgakakos2004, ROC *

The slides version of the notebook was made with nbconvert (using reveal.js), by following command:

ipython nbconvert hydropy_tutorial.ipynb –to=slides –post=serve –reveal-prefix=reveal.js –config

Copyright (c) 2015-2017 Stijn Van Hoey, Martin Roberge, and Contributors


Development Lead


Martin Roberge <>

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

hydropy-0.1.2.tar.gz (3.2 MB view hashes)

Uploaded source

Built Distribution

hydropy-0.1.2-py2.py3-none-any.whl (23.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page