Skip to content

Tutorials

Step-by-step guides, each focused on a single SynHydro workflow.

Every tutorial is a Jupyter notebook that lives in the examples/ directory of the repository. Clone the repo and run them locally; each notebook writes its figures to examples/figures/<tutorial name>/ and its data outputs to examples/outputs/<tutorial name>/.

Tutorial What you'll learn
01 - Quickstart Three-step generator workflow: preprocessing, fit, generate
02 - Multi-Site Multi-site generation with spatial correlation preservation
03 - Disaggregator Monthly-to-daily disaggregation with NowakDisaggregator
04 - Working with Ensembles The Ensemble data model: dual views, construction, statistics, HDF5 I/O
05 - Verification & Validation verify() and validate() metrics, summaries, and plots
06 - Plotting Walkthrough Default plots for ensemble visualization and verification
07 - Drought Analysis SSI calculation and drought event extraction
08 - Pipeline End-to-end monthly-to-daily generation via KirschNowakPipeline

All examples use synhydro.load_example_data(), which returns a multi-site daily streamflow DataFrame.