This tool will identify the catchment areas of each Horton-Strahler stream order link in a user-specified stream network (streams
), i.e. the network's Strahler basins. The tool effectively performs a Horton-Strahler stream ordering operation (horton_stream_order) followed by by a watershed operation. The user must specify the name of a flow pointer (flow direction) raster (d8_pntr
), a streams raster (streams
), and the output raster (output
). The flow pointer and streams rasters should be generated using the d8_pointer algorithm. This will require a depressionless DEM, processed using either the breach_depressions_least_cost or fill_depressions tool.
By default, the pointer raster is assumed to use the clockwise indexing method used by WhiteboxTools. If the pointer file contains ESRI flow direction values instead, the esri_pntr
parameter must be specified.
NoData values in the input flow pointer raster are assigned NoData values in the output image.
horton_stream_order, watershed, d8_pointer, breach_depressions_least_cost, fill_depressions
def strahler_order_basins(self, d8_pointer: Raster, streams: Raster, esri_pntr: bool = False) -> Raster: ...