/hydrodiy

hydrodiy is a set of tools to perform standard data analysis in hydrology. The package is structured around typical tasks: io, data checking, statistical analysis, gis processing and plotting.

Primary LanguagePythonOtherNOASSERTION

hydrodiy

DOI CI codecov

Python toolbox for hydrological data processing.

What is hydrodiy?

  • hydrodiy is a set of tools to perform standard data analysis
  • the package is structured around typical tasks: io, data checking, statistical analysis, gis processing and plotting

Installation

  • Create a suitable python environment. We recommend using miniconda combined with the environment specification provided in the [env_mini.yml] (env_mini.yml) file in this repository.
  • Git clone this repository and run pip install .

Basic use

import numpy as np
import matplotlib.pyplot as plt
from hydrodiy.plot import violinplot

data = np.random.normal(size=(200, 5))
plt.close('all')
fig, ax = plt.subplots(layout='tight')

# Draw a nice violin plot
vl = violinplot.Violin(data)
vl.draw(ax=ax)

plt.show()

A set of examples is provided in the folder examples.

License

The source code and documentation of the hydrodiy package is licensed under the BSD license.