h3-lowpoints

Susceptibility: how easily each depression fills

A depression fills when more rain runs into it than it can hold. This page describes how the library compares the two for every depression of a result: the runoff from its catchment, the rain depth that fills it, and, for design storms, how full each storm leaves it; and whether mapped streams, canals or highways drain it. The answer is a screening index, transparent term by term and needing no training data. It is still not a flood map (Accuracy and limits).

It needs a result computed with catchments (catchments=True, --catchments): each depression’s catchment, its volume, and the depression it overflows into (see Definition). The index uses storm totals only; for how long it rains, how the rain falls and how long water stands, see Storms in time.

Quick start

h3lowpoints build --bbox -95.6 29.6 -95.2 29.9 --out houston --catchments --details --format parquet
h3lowpoints fetch-landcover --from curve-numbers --bbox -95.65 29.55 -95.15 29.95 --out cn.tif
h3lowpoints index houston --curve-numbers cn.tif --rain atlas14 --cache-dir atlas14
h3lowpoints fetch-landcover --from nlcd-landcover --bbox -95.65 29.55 -95.15 29.95 --out classes.tif
h3lowpoints drainage houston --nhd --tiger --cache-dir tiger --land-cover classes.tif
from h3lowpoints.runoff import fetch_curve_numbers
from h3lowpoints.susceptibility import susceptibility, write_susceptibility

fetch_curve_numbers((-95.65, 29.55, -95.15, 29.95), "cn.tif", cache_dir="soils")
table = susceptibility("houston", curve_numbers="cn.tif", rain="atlas14", cache_dir="atlas14")
write_susceptibility("houston", table)       # houston/susceptibility.parquet + meta.json
table.sort_values("rain_to_fill_upstream_mm").head()   # the depressions that fill first

Give the curve numbers a box a little larger than the result’s, so that catchments reaching past its edge are covered. Outside the US, give your own curve-number raster (any CRS) or one curve number (curve_number=80, --curve-number 80), and your own rain: one depth in millimetres, or storms by return period (rain={10: 80.0, 100: 150.0}, each a depth or a function of latitude and longitude giving millimetres).

Runoff: curve numbers

How much of a storm runs off is set by the SCS curve number (CN, 0 to 100) of the NRCS method Urban Hydrology for Small Watersheds (TR-55, 1986), the standard US method for design storms. For a storm of P mm on ground of curve number CN:

S = 25400 / CN − 254 (the most the ground can still hold, mm) Q = (P − 0.2 S)² / (P + 0.8 S) when P is more than 0.2 S, else 0

0.2 S is what the ground holds before any water runs off. A curve number of 98 (pavement) sheds almost every millimetre; 61 (lawn on loam) holds the first 32 mm and then sheds a growing share. Average soil moisture before the storm is assumed (TR-55’s antecedent runoff condition II).

Curve numbers in the US (runoff.fetch_curve_numbers, fetch-landcover --from curve-numbers) come from three 30 m layers on one grid:

Each pixel’s curve number is TR-55’s composite: its paved share at 98, the rest at the TR-55 value for its land cover on its soil group (runoff.CN_TABLE):

NLCD class TR-55 cover used for the unpaved ground A B C D
21 to 24, developed open space, good condition (lawns, parks) 39 61 74 80
31, barren newly graded areas, no vegetation 77 86 91 94
41 to 43, forest woods, fair condition 36 60 73 79
51, 52, shrub brush-weed-grass mixture, fair condition 35 56 70 77
71 to 74, grassland; 81, pasture and hay pasture, grassland or range, fair condition 49 69 79 84
82, cultivated crops row crops, straight row, good condition 67 78 85 89
90, woody wetlands woods, fair condition, on group D 79 79 79 79
95, emergent wetlands pasture, fair condition, on group D 84 84 84 84
11, open water; 12, ice as pavement 98 98 98 98

Choices made and why: soils of a dual group (A/D, B/D, C/D: wet soils, the first letter if artificially drained) are taken as D, since a wet soil in a depression is usually not drained; map units without a group (urban land, pits, rock outcrop) and places the survey does not cover are taken as D; wetlands as D whatever the map says, because their soils are saturated; natural covers in fair condition, as nothing says better or worse.

Each H3 cell takes the mean curve number of the pixels whose centre lies in it (cell_means), and a depression’s curve_number is the area-weighted mean over its catchment’s cells, as TR-55 weights curve numbers over a watershed.

Worked example: a depression holding 500 m³ with a catchment of 10,000 m² of suburban yards on clay loam (group C), 30% paved: CN = 0.3 × 98 + 0.7 × 74 = 81.2, so S = 58.8 mm and nothing runs off until 11.8 mm of rain has fallen. 100 mm of rain sheds 52.9 mm; 30 mm sheds 4.3 mm.

Rain to fill

Neither needs rainfall data, so both are available everywhere, including where no design-storm data exists. A small value means the depression fills in small storms.

rain_to_fill_upstream_mm is found by trying uniform rain depths that step up by 1%, each with one pass down the spill links (the cascade), from the smallest initial abstraction (0.2 S) of any catchment to the largest own rain to fill. A depression’s answer is interpolated between the last depth that left it short and the first that filled it; the water reaching it only grows with the rain, so the answer is exact to within 1%.

Design storms

With storms (rain), each depression’s own runoff is the runoff of its catchment’s mean rain on its curve number, times its catchment area; overflow then passes down the spill links.

rain="atlas14" (--rain atlas14) uses NOAA Atlas 14 24-hour storms of 1, 2, 5, 10, 25, 50, 100, 200, 500 and 1000 years, read from NOAA’s published grids (about 800 m apart) at the centre of each cell (Data sources). The 24-hour storm is the usual design storm for how much water a basin must store. The method compares volumes and has no pipes and no timing, so a storm enters it only through its total depth.

The cascade

Every depression keeps the water reaching it up to its volume and passes the rest to the depression it spills into, or off the map (spill_to 0, or a depression not in the table). So the depressions spilling into one are settled before it: the cascade visits them in an order where every depression comes before the one it spills into (spill links never loop). Water is conserved: the runoff of all catchments equals the water stored plus the water leaving.

Missing inputs and coverage

Drained or landlocked

Many depressions in an elevation model are drained in reality: a canal, a ditch or a stream runs through them, or the rim they overflow at is a highway embankment with a culvert under it that the model cannot see. Landlocked depressions, where the water has no way out but to soak in or evaporate, are the candidates for waterlogging in towns and on farms (how long water stands was not measured). They are not where storm flooding is reported most: in New York and Houston, drained depressions beside bayous, ditches and highways gathered more reports (Evidence). drainage.drainage_flags (h3lowpoints drainage) looks for signs of drainage in mapped lines:

How the rule was chosen. Before any comparison with flood reports, each sign was measured against chance on three 1° test areas (built like the national layer): how often it occurs within 30 m of the depressions, as a multiple of how often it occurs within 30 m of random points on land in the same area.

Sign within 30 m Houston (city) North Dakota (prairie potholes) California (Central Valley)
a stream, at the lowest point 6.3× 2.4× 6.4×
a canal or ditch, at the lowest point 3.4× (almost none mapped) 1.2×
any road, at the spill point 1.1× 1.9× 2.1×
a highway or ramp, at the spill point 2.0× 3.0× 6.6×
channels across cells holding half its area 2.6× 1.25× 2.1×

Streams and highways are telling everywhere; any road is not, in a city (in central Houston, 53% of random points lie within 30 m of a road, and spill points no more often); the channel share is weak where streams are few. The rule therefore keeps streams, canals and highways, and the shares drained were 36% (Houston), 6% (North Dakota) and 50% (Central Valley).

Distances beyond max_distance_m (default 1 km) are left empty. A missing line file, or an empty distance, never makes a depression drained: landlocked means no sign of drainage in the lines given, not proof that there is none.

The drainage columns join the same susceptibility table as the index: computing either replaces only its own columns and settings, in any order.

The table and its checks

The columns are described in Outputs, and the settings are recorded in meta.json (susceptibility). verify checks a saved table: every depression once; curve numbers in (0, 100] and rain_to_fill_mm the inverse of the runoff equation; rain_to_fill_upstream_mm at most rain_to_fill_mm and at least the smallest initial abstraction upstream; every storm with a fill ratio of 1 or more no rarer than fills_in_years; the drainage distances in [0, max_distance_m], channel_share in [0, 1], drained following the rule and landlocked its opposite (Verification).

The test suite checks the runoff equation against TR-55 worked by hand and its inverse to machine precision, the curve numbers against the table, the cascade against a plain recursive version on random spill networks (water must be conserved), rain_to_fill_upstream_mm against a bisection that reruns the cascade for every depression, and two independent answers against each other: a uniform storm of depth D fills exactly the depressions whose rain_to_fill_upstream_mm is at most D (within the 1%).

Evidence against flood reports

A study fixed in advance compared the layer with 311 flood reports in New York City (2020 to 2026) and in Houston (the Memorial Day flood of 2015 and the Tax Day flood of 2016), per address (full study):

Use fills_in_years (and the fill ratios) as the index of how readily a depression floods. Read landlocked as water that collects has no mapped way out, which bears on how long it stands, not on whether a storm floods the place; nothing here measured standing time.

Limits