Coder Social home page Coder Social logo

x-malet / hydropy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stijnvanhoey/hydropy

0.0 2.0 0.0 7.66 MB

Analysis of hydrological oriented time series.

Home Page: https://stijnvanhoey.github.io/hydropy/

License: BSD 2-Clause "Simplified" License

Jupyter Notebook 54.27% Python 4.22% HTML 41.51%

hydropy's Introduction

Hydropy

Pypi Build Status BSD-2-Clause

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

# 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

# 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

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 http://www.waterinfo.be/.

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

python setup.py install

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

Binder

Inspiration or possible useful extensions:

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 slides_config.py

http://nbviewer.ipython.org/format/slides/github/stijnvanhoey/hydropy/blob/master/hydropy_tutorial.ipynb#/

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

hydropy's People

Contributors

mroberge avatar stijnvanhoey avatar

Watchers

James Cloos avatar Xavier Malet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.