Rising water

Colorado River Basin study area (RiverNets coverage)

Water rises over the study area. Lakes are born, then merge, and the barcode records each lake’s lifetime. The water on the map and the barcode are computed in your browser from the same 326 × 414 elevation grid; the shaded relief under the water is precomputed.

Shaded relief of the Colorado River Basin study area (RiverNets coverage).

Point at or tap the map to read a cell’s elevation and coordinates.

The lowest lake and the 11 longest-lived lakes each have their own colour and a label at their pit (“lowest”, 1–11). All other lakes share one colour.

Loading the elevation grid…

Water level
–
Percentile
–
Lakes
–
Area flooded
–

No lake selected

Click a bar, or use a button in the “Longest-lived lakes” table, to see where a lake is born and where it spills.

–
10.0 m
40 bars

USGS Watershed Boundary Dataset regions 14–15 (Upper Colorado Region and Lower Colorado Region). Off by default. It hatches the map outside the basin and marks each lake in the table below; the lakes and the barcode are still computed on the whole rectangle.

Show nearby names from GNIS. When labels would overlap, the map gives priority to selected landmarks. See all places and coordinates.

With the map focused: Space plays or pauses, Left and Right arrows move the water level (with Shift, in bigger steps), Home and End jump to the bottom and top, Up and Down select the previous or next bar, and Escape clears the selection.

Longest-lived lakes

The lowest lake and the 20 lakes with the longest bars (persistence = death level − birth level), from barcode.json. Positions are cell centres. “Show” selects the lake, as clicking its bar does.With the basin mask on, a “Pit in basin” column says whether each lake’s pit (its birth cell) is inside the mask. The rows are the same either way.

6 of the 10 longest-lived lakes are born on the edge of the rectangle. Water cannot leave the grid across its edges, so a valley that drains out across an edge becomes a closed basin in the grid (see About the data).

LakePersistenceBorn atSpills atMerges intoBirth cellSelect
Lowest lakeinfinite−2.9 m31.9454° N, 114.7646° Wnever–133025
Lake 1466.2 m2,710.8 m37.7204° N, 107.0692° W3,177.1 m37.9454° N, 107.1896° Wthe lowest lake (cell 133025)58027east edge
Lake 2397.5 m1,560.2 m34.8954° N, 107.0692° W1,957.7 m33.9704° N, 107.0692° Wthe lowest lake (cell 133025)94865east edge
Lake 3395.8 m1,275.7 m40.7704° N, 113.6646° W1,671.5 m37.5704° N, 113.1896° Wthe lowest lake (cell 133025)17991
Lake 4336.6 m1,428.0 m42.1454° N, 113.9396° W1,764.6 m41.7704° N, 114.3146° Wthe lowest lake (cell 133025)50north edge
Lake 5314.2 m249.0 m33.1704° N, 110.9896° W563.2 m33.1454° N, 110.9646° Wthe lowest lake (cell 133025)117202
Lake 6313.0 m1,378.2 m40.5204° N, 112.1396° W1,691.2 m40.5204° N, 112.1146° Wthe lowest lake (cell 133025)21312
Lake 7303.3 m749.5 m31.8704° N, 111.1396° W1,052.8 m31.8704° N, 111.0896° Wthe lowest lake (cell 133025)134148
Lake 8268.8 m2,633.2 m38.7704° N, 107.0692° W2,902.0 m38.6704° N, 107.1146° Wthe lowest lake (cell 133025)44335east edge
Lake 9264.5 m2,917.5 m40.0454° N, 107.0692° W3,182.0 m40.0954° N, 107.0692° Wthe lowest lake (cell 133025)27709east edge
Lake 10263.6 m1,520.0 m42.1454° N, 114.7396° W1,783.6 m41.4954° N, 114.8146° Wthe lowest lake (cell 133025)18north edge
Lake 11260.3 m611.7 m31.9954° N, 111.0646° W872.1 m32.0454° N, 111.0896° Wthe lowest lake (cell 133025)132521
Lake 12260.0 m1,578.9 m42.1454° N, 115.1896° W1,838.9 m42.1454° N, 114.8146° Wthe lowest lake (cell 133025)0north-west edge
Lake 13259.9 m1,804.0 m42.1204° N, 111.3646° W2,063.9 m41.2204° N, 111.1146° Wthe lowest lake (cell 133025)479
Lake 14259.0 m1,538.4 m32.7954° N, 108.0646° W1,797.4 m32.7454° N, 108.0646° Wthe lowest lake (cell 133025)122209
Lake 15247.4 m159.0 m32.9454° N, 111.8146° W406.4 m32.9204° N, 111.8146° Wthe lowest lake (cell 133025)120103
Lake 16242.8 m1,560.6 m34.3454° N, 107.0692° W1,803.4 m34.4204° N, 107.1896° Wlake 2 (cell 94865)102037east edge
Lake 17236.2 m976.4 m36.9704° N, 115.1896° W1,212.6 m37.1454° N, 115.1896° Wthe lowest lake (cell 133025)67482west edge
Lake 18224.7 m610.6 m34.5954° N, 113.2146° W835.3 m34.5954° N, 113.2396° Wthe lowest lake (cell 133025)98531
Lake 19221.0 m2,752.2 m38.0704° N, 107.0692° W2,973.2 m38.0954° N, 107.0692° Wthe lowest lake (cell 133025)53463east edge
Lake 20215.3 m1,546.3 m38.6204° N, 113.6896° W1,761.6 m38.7704° N, 113.6896° Wthe lowest lake (cell 133025)46026

How to read the barcode

  • At water level t the flooded region is the sublevel set {x : h(x) ≤ t}. Its connected pieces are lakes.
  • A lake is born when the water reaches a valley floor (a local minimum). It dies when it spills over a pass (a saddle) into an older lake. The older lake continues and keeps its colour. This is the elder rule.
  • The barcode has one bar per lake, running from its birth level to its death level. This is 0-dimensional persistent homology of the sublevel-set filtration. In the diagram view each bar is a point, birth level across and death level up.
  • A bar’s length (its persistence) is how deep its basin sits below its spill point. Long bars are distinct basins. Short bars are small dips that fill and spill almost immediately.
  • The lowest lake never dies. Its bar is infinite, because it eventually holds all the water.
  • Stability: if every height changes by at most ε, the barcode changes by at most ε in bottleneck distance. Only bars shorter than 2ε can appear or disappear.
  • GIS “fill sinks” raises every depression to its spill point, which removes every finite bar. Dropping only the bars below a persistence threshold (the Min persistence control) is a gentler simplification.
  • The barcode depends only on the order of the heights. Pacing the water by percentile instead of by metres changes the animation speed, not which lakes merge with which.
  • Hydrologists call the filling and overflowing of depressions “fill and spill”.

About the data

Generated from meta.json, ATTRIBUTION.md, basin-mask.json, labels.json in /data/colorado/.

Study area
Colorado River Basin study area (RiverNets coverage)
Bounding box (W, S, E, N)
-115.201667, 31.8175, -107.060833, 42.1575
Source
Copernicus DEM GLO-90 (COP-DEM_GLO-90-DGED), Cloud-Optimized GeoTIFF
Licence
Copernicus DEM GLO-90 free licence (ESA / Copernicus)
Citation DOI
https://doi.org/10.5270/ESA-c5d3d65
Grid
326 × 414 = 134,964 cells of 0.025°, float32 m
Coordinates
EPSG:4326
Vertical datum
EGM2008 geoid (EPSG:3855), metres
Connectivity
4-neighbour
Tie-break
i precedes j iff (h[i], i) < (h[j], j) lexicographically
Generated
2026-11-24T10:01:08+00:00

Attribution

Elevation data: Copernicus DEM GLO-90 (90 m), adapted for this site (clipped, resampled to a 0.025° block-minimum grid, and hillshaded).

Required notice (Copernicus DEM licence, "User Obligations", for adapted or modified data):

produced using Copernicus WorldDEM-90 © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA; all rights reserved

Licence and notice source: https://dataspace.copernicus.eu/explore-data/data-collections/copernicus-contributing-missions/collections-description/COP-DEM

Data access: Copernicus DEM on the Registry of Open Data on AWS, https://registry.opendata.aws/copernicus-dem/ (bucket https://copernicus-dem-90m.s3.amazonaws.com/). Citation DOI: https://doi.org/10.5270/ESA-c5d3d65

Surface model note: Copernicus DEM is a Digital Surface Model (DSM): it represents the top-reflective surface of the Earth, including buildings, infrastructure and vegetation, not the bare ground.

Processing steps

  1. Download the 108 GLO-90 tiles N31–N42 x W108–W116 from the AWS Open Data bucket (cached in pipeline/data/raw/; a tile may be absent only if it is all ocean).
  2. Check every tile: 1200 x 1200 px, WGS 84 lon/lat (EPSG:4326 equivalent), 3″ spacing, PixelIsPoint, origin at its SW-named integer corner, no nodata.
  3. Mosaic and clip to the bbox at native 3″: 9769 x 12408 px. Bbox edges snapped to the nearest pixel-centre line; west/north edge pixels kept, east/south dropped.
  4. TDA grid: minimum of each 30 x 30 block of native pixels (0.025°), partial edge blocks allowed -> 326 x 414 float32 m. Minimum, not mean, keeps narrow canyons connected.
  5. Hillshade: block mean of 10 x 10 native pixels (30″) -> 977 x 1241; Horn gradient with E–W spacing scaled by cos(latitude) per row (WGS84), azimuth 315°, altitude 45°, vertical exaggeration 2; grayscale WebP quality 85.
  6. Reference barcode: 0-dimensional sublevel-set persistence of grid.f32 (read back from disk) by pipeline/tda_ref.py, 4-connectivity, ties broken by (height, cell index), elder rule. barcode.json keeps the 599 bars with persistence >= 1 m plus the essential bar (600 of 1217 lakes); heights are exact float32 values, not rounded.

Limitations

  • Copernicus DEM is a Digital Surface Model (DSM): it represents the top-reflective surface of the Earth, including buildings, infrastructure and vegetation, not the bare ground.
  • Resolution: the source is 3″ (about 90 m); the TDA grid is 0.025° (about 2.2 km x 2.8 km) and keeps each block's minimum, so it follows valley floors, under-represents peaks and ridges, and merges or loses features narrower than a cell.
  • Rectangle, not basin: the study area is a lat/lon rectangle, not the Colorado River's hydrologic basin. Water cannot leave through the rectangle's edges, so a valley that drains out across an edge becomes a closed basin in the grid; several long-lived lakes are born on the edge for this reason.
  • Open-pit mines are real depressions in a surface model, and a block minimum keeps their pit floors, so some deep lakes only a cell or two wide are mine pits (for example, one lies about 1 km from the published position of Utah's Bingham Canyon Mine).
  • The Copernicus DEM Product Handbook (version 5.0, 2022, section 1.1, Table 1) gives an absolute vertical accuracy of < 4 m (90% linear error) as a global arithmetic mean, validated against ICESat GLAS reference points and excluding Antarctica and Greenland, and notes that local deviations can occur. This build does not assess accuracy locally.

Basin mask

Mask of the TDA grid (grid.f32) to the U.S. Geological Survey Watershed Boundary Dataset hydrologic regions 14 (Upper Colorado) and 15 (Lower Colorado).

Watershed Boundary Dataset (WBD) courtesy of the U.S. Geological Survey

Cell rule
A cell is in the basin when at least half of the native 3″ Copernicus pixels it covers (the same 30 x 30 blocks as grid.f32; 19 px wide in the last column, 18 px tall in the last row) have their centres inside the union of the WBD HU-2 14 and 15 polygons (GDAL rasterization, pixel-centre rule). A basin cell is assigned to whichever of 14 and 15 holds more of its pixels (14 on a tie).
Basin cells
97,311 of 134,964 (72.1 %)
Coordinates
NAD 83 geographic (GCS_North_American_1983, GRS 1980), from WBDHU2.prj

WBD metadata: "Acknowledgment of the originating agencies would be appreciated in products derived from these data." Originators: U.S. Geological Survey (USGS); U.S. Department of Agriculture - Natural Resource Conservation Service (NRCS); U.S. Environmental Protection Agency (EPA); other Federal, State, and local partners.

Region 15 continues into Mexico. WBD metadata: areas along the border “have been updated to include harmonized hydrologic units and hydrography that extends across the border”, in collaboration with Mexico’s INEGI. The mask includes those units; it is not limited to the United States.

Coverage notes

  • Mexico: the U.S. Watershed Boundary Dataset continues region 15 into Mexico. WBD metadata: areas along the border "have been updated to include harmonized hydrologic units and hydrography that extends across the border", in collaboration with Mexico's INEGI. In the study area this includes the Colorado River's lower course and delta down to the south edge: 1039 basin cells lie mostly in hydrologic units that are entirely in Mexico. The lowest cell of the elevation grid is in one of these units (HU-12 150301080302, whose downstream code in WBD is OCEAN) and is inside the mask.
  • Gap in Mexico: WBD covers Mexico only as far as its harmonized units go. In the study area, 4 cells in the south-west corner, around 31.87° N, 115.19° W, lie mostly in no WBD unit. They are outside the mask; no boundary has been drawn for them. WBD's Mexican units have not been compared with INEGI's own hydrography.
  • Region is not drainage: WBD region 15 includes subregion 1508 Sonora. Following WBD's own downstream codes, every one of its 634 smallest units (HU-12) stays inside 1508 and ends at CLOSED BASIN (22), MEXICO (117), OCEAN (495), so none drains to the Colorado. Region 14 includes the Great Divide Closed Basin (HU-6 140402). Both are inside the mask because they are part of WBD regions 14 and 15. Cells: Sonora 1609, Great Divide Closed Basin 1426. Land along the west edge between about 32.5° and 35.1° N is WBD region 18 (California) and is outside the mask.
  • Study-area edges: parts of both regions lie outside the study rectangle, so the mask covers only the part of each region inside it (for example 48.9% of the Colorado Headwaters and 67.7% of the Upper Green).
  • Resolution: the mask is per 0.025° cell (about 2.2 km x 2.8 km); 1840 cells straddle the basin boundary and count as basin when at least half of their elevation pixels fall inside it. WBD metadata: "At a minimum, the HUs are delineated at 1:24,000-scale in the conterminous United States".

Place labels

Place names and coordinates: Geographic Names Information System (GNIS) courtesy of the U.S. Geological Survey

Labels marked “mouth” use the downstream point recorded by GNIS. GNIS Domestic Names data · USGS FAQ on GNIS coordinates

All 39 places and coordinates
  • Colorado River (mouth) · 31.9, -114.9508333
  • Lake Powell · 37.1713378, -110.809176
  • Lake Mead · 36.1725406, -114.4298448
  • Great Salt Lake · 41.1628677, -112.5353656
  • Great Salt Lake Desert · 40.6529889, -113.5272152
  • Great Divide Basin · 42.0002345, -108.0009183
  • Grand Canyon (mouth) · 36.112764, -113.9960696
  • Uncompahgre Peak · 38.0714529, -107.4625289
  • Kings Peak · 40.7763756, -110.3728037
  • Humphreys Peak · 35.3463151, -111.6779884
  • Phoenix · 33.4483771, -112.0740373
  • Tucson · 32.2217429, -110.926479
  • Las Vegas · 36.1749705, -115.137223
  • Salt Lake City · 40.7607794, -111.8910474
  • Green River (mouth) · 38.189153, -109.8854026
  • Gila River (mouth) · 32.7197692, -114.5552281
  • Flaming Gorge Reservoir · 41.096139, -109.5536311
  • Lake Havasu · 34.4340905, -114.3125965
  • Sevier Lake · 38.9464331, -113.1385564
  • Bonneville Salt Flats · 40.7996521, -113.8000029
  • Glen Canyon (mouth) · 36.8651055, -111.5880874
  • Cataract Canyon (mouth) · 37.8659196, -110.2835403
  • Black Canyon of the Gunnison (mouth) · 38.7832477, -107.8366169
  • Bingham Canyon (mouth) · 40.560142, -112.0954295
  • Navajo Mountain · 37.0341566, -110.8695747
  • Mount Peale · 38.4383313, -109.2291617
  • Wheeler Peak · 38.9857693, -114.313966
  • Flagstaff · 35.1980671, -111.6512725
  • Grand Junction · 39.0638705, -108.5506486
  • Yuma · 32.7253249, -114.624397
  • Little Colorado River (mouth) · 36.1910972, -111.8037701
  • Roosevelt Lake · 33.684557, -111.1218411
  • Blue Mesa Reservoir · 38.4713913, -107.2113433
  • Sevier Desert · 39.4166197, -112.667451
  • Mount Graham · 32.70173, -109.8714579
  • Moab · 38.5733155, -109.5498395
  • Page · 36.9147222, -111.4558333
  • St. George · 37.1041476, -113.5841233
  • Rock Springs · 41.5874644, -109.2029043

Code

  • Data pipeline: pipeline/ (build_colorado.py, colorado_dem.py, barcode.py), with an independent Python reference engine in pipeline/tda_ref.py.Repository
  • Persistence engine: src/lib/tda/ (TypeScript, computeH0 and Flood), which this page runs in your browser.Source
  • Explorer: src/lib/viz/explorer/ and src/components/explorer/.