geoprimsField-grade geospatial math

Hydrology

Conditioning a DEM so water can leave every cell, the first step before any flow work.

Flow directions, accumulation, streams, and watersheds all assume water can leave every cell of a DEM, and a measured DEM does not oblige: noise, bridges, culverts, and road embankments leave hollows that trap it. This group removes them, either by filling each hollow to the height it would spill at, with a slope so small it does not show on a slope map, or by cutting a channel out of it, which moves far less earth where a road or a dam is what dammed the water. Start by filling, and compare the earth moved against what you know of the ground. The pitfall is the window's edge: it is treated as an outlet, so clip wider than the basin you care about.

I want to remove the pits from a DEM before flow work

I want to see which way each cell drains

I want to find where water collects, and how much ground drains through a point

I want to pull the channels out and see how they branch

I want to find what drains to a culvert, a gauge, or a sample site

I want to measure the longest way water travels to a point