Cuts a flow-direction grid into whole basins, and into regions small enough for the memory you give it. It reads the grid a window at a time, so the size of the grid is not the limit. Its output is the basin and region masks of every FullBasin release.
The tools
Fills the depressions of a digital elevation model and derives the D8 flow directions from it: the step that turns a raw DEM into the flow-direction grid every other tool reads.
Serial orderings, parallel layerings and spatial partitions for D8 flow networks, computed once from the grid and reused by any drainage-order computation. The structures of the 90 m MERIT Hydro network are on Zenodo.
Computes the sixteen upstream attributes of FullBasin at every pixel of a flow-direction grid: elevation and slope aggregated over the catchment; perimeter, length, width and convexity from walking the divide; and relief, the hypsometric integral and the shape ratios built from them.