Delta Hydro

pysheds

Stable

Watershed delineation in pure Python — DEM conditioning to catchment boundary in a dozen lines.

Pricing
Open Source
License
GPL-3.0
Commercial use
Permitted
Ecosystem
Python, NumPy
Platform
Windows, macOS, Linux

Install

pip install pysheds

About pysheds

pysheds implements the core DEM hydrology chain — pit filling, depression resolution, flow direction (D8 and D-infinity), flow accumulation, catchment delineation, and distance-to-outlet — as a NumPy/Numba-accelerated Python library with a deliberately small API. Read a DEM, snap a pour point, extract a catchment: about ten lines.

For embedding delineation inside a larger Python application or batch-processing hundreds of outlets, pysheds is the lightest-weight serious option. It doesn't try to be a full terrain suite (no breaching, no lidar); WhiteboxTools complements it where conditioning gets difficult.

Where it fits in the workflow

TerrainCatchmentRainfallRunoffRoutingHydraulicsMappingReporting

Alternatives to pysheds

Other geospatial & hydro-gis tools covering similar workflow stages.

QGIS logo

QGIS

Open SourceVerified

The free, open-source GIS that has become the default spatial platform for water engineers worldwide.

Geospatial & Hydro-GISActiveQGIS HydrologyTerrain Analysis
WhiteboxTools logo

WhiteboxTools

Open SourceVerified

500+ fast geospatial analysis tools with the best DEM hydrology toolkit in open source.

Geospatial & Hydro-GISActiveDEM ProcessingTerrain Analysis

JAXA's 30m global DSM from PRISM stereo imagery — a strong third opinion alongside SRTM and Copernicus DEM.

Geospatial & Hydro-GISStableSatellite DEM DataDEM Processing

ASTER GDEM

Gov-Public

A 30m global DEM reaching to 83° latitude — the go-to where SRTM/NASADEM have no coverage at all.

Geospatial & Hydro-GISStableSatellite DEM DataDEM Processing

Esri's free hydrology framework for ArcGIS Pro — terrain preprocessing and the data model behind many agency workflows.

Geospatial & Hydro-GISActiveWatershed DelineationDEM Processing

ESA's TanDEM-X-derived global DEM — the most accurate free global surface model available today.

Geospatial & Hydro-GISActiveSatellite DEM DataDEM Processing