Fine-resolution hydrography underpins flood prediction, large-sample hydrology and machine-learning streamflow models, yet no global product delivered basin identity, upstream topology and morphometry together at pixel resolution. The obstacle is scale and connectivity at once: computing per-pixel attributes across a 75.17-billion-cell grid, 22.26 billion of them land, exceeds the memory of standard GIS software, and the naive fix — tiling — breaks the very basins being measured.
The complete pipeline ran in about 21 hours on one 13-thread node with terabyte-scale memory, processing basin-complete regions, so that no drainage basin is cut across an arbitrary raster tile. Each tier was checked on its own terms:
| Tier | What was checked | Against what |
| 1 · basin masks | the pixel count of every basin | exact agreement with the flow-accumulation raster |
| 2 · upstream index | the D8 flow directions rebuilt from dfs_in and dfs_out alone | exact reconstruction of the original raster |
| 3 · attributes | catchment perimeter, the most error-sensitive of the sixteen, on about 150,000 upstream-catchment masks | three independent perimeter implementations |
Perimeter is the one benchmarked because a single misplaced boundary pixel moves it by about 4/P against 1/A for an area, with A and P the pixel counts of the catchment and its boundary. The manuscript gives the full validation.