Skip to content

Pilot Data and Notebooks

Salvador Navas edited this page Jul 2, 2026 · 1 revision

Pilot Data and Notebooks

The repository contains notebooks for module-level examples and pilot-case workflows. Large datasets and model projects are downloaded separately.

Download Pilot-Case Data

List available datasets:

pyhydra-get-data

Download a dataset:

pyhydra-get-data manning_rugosidades
pyhydra-get-data m30_manzanares
pyhydra-get-data los_corrales_buelna
pyhydra-get-data valencia_dana

Use a custom destination:

pyhydra-get-data manning_rugosidades --dest /path/to/data

Overwrite existing files:

pyhydra-get-data manning_rugosidades --overwrite

Python API:

from pyhydra.data.download import download_pilot_case, list_pilot_cases

print(list_pilot_cases())
download_pilot_case("manning_rugosidades", dest="/path/to/data")

By convention, notebooks look under:

${HYDRA_DATA_DIR}/pilot_cases/<case_name>/

If HYDRA_DATA_DIR is not defined, workflows fall back to ./data.

Notebook Structure

notebooks/
|-- climate/
|   |-- bias_correction.ipynb
|   |-- event_extraction.ipynb
|   |-- extreme_value_analysis.ipynb
|   |-- stochastic_generation.ipynb
|   |-- spatial_field_generation.ipynb
|   `-- spatial_analysis/
|-- data_sources/
|   |-- climate_change/
|   |-- rainfall/
|   |-- river_discharge/
|   `-- soils/
|-- modeling/
|   |-- hydrology/
|   `-- hydraulic/
`-- pilot_cases/
    |-- los_corrales_buelna/
    |-- m30_manzanares/
    |-- manning_rugosidades/
    `-- valencia_dana/

Pilot Cases

Case Folder Purpose
Besaya / Los Corrales de Buelna notebooks/pilot_cases/los_corrales_buelna Data acquisition, interpolation, extremes, HEC-HMS/HEC-RAS style workflows and hybrid reconstruction.
Calle 30 / Manzanares notebooks/pilot_cases/m30_manzanares Rainfall data, classification, copula generation, MaxDiss selection and HMS/RAS workflow examples.
Manning roughness sensitivity notebooks/pilot_cases/manning_rugosidades SFINCS/HEC-RAS comparison, Monte Carlo roughness uncertainty and flood-regime analysis.
Valencia DANA 2024 notebooks/pilot_cases/valencia_dana Data exploration and extreme-value analysis for the October 2024 DANA episode.

Reproducibility Notes

  • Keep notebooks deterministic where possible.
  • Store large data under data/, not in Git.
  • Record pyhydra commit hashes for thesis or article reproduction.
  • External services and models can change; archive critical raw inputs for final publications.

Clone this wiki locally