Skip to content

watershedmodeling/watershedmodeling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watershed Modeling — Python for Hydrology & Watershed Modeling Automation

Watershed Modeling

Python for Hydrology & Watershed Modeling Automation

Live site Built with Eleventy Deployed on Cloudflare Pages

A focused, production-grade reference for automating hydrologic workflows in Python — from raw elevation data all the way to simulated runoff hydrographs.

🌐 www.watershedmodeling.com


What this is

Watershed Modeling is a deep, code-first knowledge base for hydrologists, environmental engineers, and Python GIS teams who need to move hydrologic analysis out of desktop GIS and into reproducible, scalable pipelines. Every guide is built around concrete, runnable patterns: which library to reach for, why an algorithm behaves the way it does on a given terrain, and how to wrap it in a defensible pipeline with logging, idempotency, topology validation, and QA/QC against authoritative hydrography.

It is not a collection of surface-level tutorials. Each page pairs the underlying hydrology and algorithm mechanics with complete, copy-pasteable Python, validation protocols, and the failure modes that actually bite in operational work — memory exhaustion on 1 m LiDAR, projection artifacts, flat-area stagnation, equifinality in calibration, and more.

Who it's for

  • Hydrologists & environmental engineers automating delineation, routing, and rainfall-runoff modeling.
  • Python GIS developers building spatial pipelines with rasterio, richdem, pysheds, whitebox, geopandas, and shapely.
  • Research & agency technical teams who need auditable, reproducible workflows at regional-to-continental scale.

What's covered

The site is organized into four in-depth areas covering the full hydrologic pipeline:

Every guide is cross-linked so you can follow a technique from a broad overview down to a specific parameter, tool integration, or decision ("SRTM vs LiDAR", "10 m vs 1 m", "MFD vs D-Infinity").

How it's built

A static site generated with Eleventy from Markdown source, and deployed to Cloudflare Pages. Content lives in content/, templates and assets in src/, and the Eleventy configuration in .eleventy.js.

npm install       # install dependencies
npm run serve     # local dev server with live reload
npm run build     # production build into _site/
npm run deploy    # build + publish to Cloudflare Pages

Repository layout

Path Purpose
content/ All page content (Markdown with JSON-LD, inline SVG diagrams, and Python examples)
src/ Layouts, includes, CSS, JS, and image assets
index.njk Home page template
sitemap.njk Generated sitemap.xml
.eleventy.js Eleventy build configuration
scripts/ Build helpers (icon generation, code-block QA)

Commits

All commits to this repository are authored solely by the repository owner (watershedmodeling). No co-authors or additional trailers are attached to any commit.

License

Content and code © Watershed Modeling. All rights reserved.

About

Python for hydrology & watershed modeling automation — production-grade guides for DEM processing, flow routing, watershed delineation, and rainfall-runoff modeling.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors