What you will find here

Watershed Modeling is a focused reference for automating hydrologic workflows in Python. Every page is built around concrete, reproducible patterns: which library to reach for, why a routing algorithm behaves the way it does on a given terrain, and how to wrap it in a defensible pipeline with logging, idempotency, and topology validation.

Whether you are moving from desktop GIS to a code-driven pipeline, integrating LiDAR into an operational workflow, or scaling watershed delineation across a continent of tiles, the content here favours the algorithmic depth and engineering rigour that production agency-grade work demands — not surface-level tutorials.

Start here

New to automated watershed modeling? These guides establish the foundation — from acquiring your first DEM to producing a validated stream network.

  1. How to Download SRTM DEMs for Python Hydrology Workflows Data acquisition · SRTM · OpenTopography API
  2. Best Practices for Filling Sinks in High-Resolution LiDAR Data DEM conditioning · Priority-flood · Hydro-enforcement
  3. Implementing D8 Flow Routing with RichDEM Python Bindings Flow direction · RichDEM · D8 algorithm
  4. Tuning Flow Accumulation Thresholds for Ephemeral Streams Stream extraction · Threshold calibration · WhiteboxTools
  5. Partitioning Large Watersheds into Sub-Basins with RichDEM Basin partitioning · Sub-catchments · Scalable pipelines

All topics

Every guide in the collection, organised by section. Jump directly to the technique or pipeline stage you need.