Assigns each DEM grid cell its order in the sequence of inundations that are encountered during a search starting from the edges, moving inward at increasing elevations.
wbt_flood_order(
dem,
output,
wd = NULL,
verbose_mode = FALSE,
compress_rasters = FALSE
)
Input raster DEM file.
Output raster file.
Changes the working directory.
Sets verbose mode. If verbose mode is False, tools will not print output messages.
Sets the flag used by WhiteboxTools to determine whether to use compression for output rasters.
Returns the tool text outputs.