Calculates an FD8 flow accumulation raster from an input DEM.
wbt_md_inf_flow_accumulation(
dem,
output,
out_type = "specific contributing area",
exponent = 1.1,
threshold = NULL,
log = FALSE,
clip = FALSE,
wd = NULL,
verbose_mode = FALSE,
compress_rasters = FALSE
)
Input raster DEM file.
Output raster file.
Output type; one of 'cells', 'specific contributing area' (default), and 'catchment area'.
Optional exponent parameter; default is 1.1.
Optional convergence threshold parameter, in grid cells; default is infinity.
Optional flag to request the output be log-transformed.
Optional flag to request clipping the display max by 1 percent.
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.