Repository navigation
Home
pyhydra is a modular Python library for hydrological and climate analysis. It
contains reusable tools for hydroclimatic data access, event extraction,
extreme-value analysis, stochastic generation, bias correction, spatial
analysis, hybrid flood downscaling and selected hydrological/hydraulic model
automation.
The library is the Python core used by the companion HYDRA platform, but it is maintained as an independent package:
- Repository: https://github.com/navass11/pyhydra
- Zenodo release: https://doi.org/10.5281/zenodo.20932555
- Contact: salvador.navas@alumnos.unican.es
Use pyhydra when you need Python building blocks for research workflows such
as:
- downloading or reading rainfall, river-discharge, soil and climate-projection datasets;
- extracting precipitation or discharge events;
- fitting GEV/GPD extreme-value models and deriving return levels;
- applying delta and quantile-based climate bias correction;
- working with regional frequency analysis, interpolation and copulas;
- generating point rainfall series, spatial stochastic fields or NSRP/STNSRP precipitation simulations when optional libraries are available;
- preparing selected input files for HEC-HMS, SWAT+, HEC-RAS and SFINCS;
- analysing flood-map ensembles, Manning roughness uncertainty and hybrid downscaling outputs;
- deciding, from a pilot run charged against a simulation budget, whether an ensemble should be reduced and emulated or propagated directly by Monte Carlo.
External hydrological and hydraulic models are not bundled. Model workflows require the corresponding software, project files and local execution environment.
- Installation
- Architecture
- Data Sources
- Climate Analysis
- Stochastic Generation
- Hybrid Downscaling
- Modeling Adapters
- Uncertainty Quantification
- Pilot Data and Notebooks
- Docker
- API Reference
- Testing and Contributing
- Citation and Releases
pyhydra is the installable Python package. HYDRA is the web/Jupyter/API
platform that uses pyhydra as a dependency and exposes selected workflows
through a user interface and containerized environment.
When documenting research software, cite pyhydra for the Python package and
HYDRA for the platform, deployment layer or integrated application.