Calculates Qin et al. (2007) flow accumulation.
wbt_qin_flow_accumulation(
dem,
output,
out_type = "specific contributing area",
exponent = 10,
max_slope = 45,
threshold = NULL,
log = FALSE,
clip = FALSE,
wd = NULL,
verbose_mode = FALSE,
compress_rasters = FALSE,
command_only = FALSE
)
Returns the tool text outputs.
Name of the input DEM raster file; must be depressionless.
Name of the output raster file.
Output type; one of 'cells', 'specific contributing area' (default), and 'catchment area'.
Optional upper-bound exponent parameter; default is 10.0.
Optional upper-bound slope parameter, in degrees (0-90); default is 45.0.
Optional convergence threshold parameter, in grid cells; default is infinity.
Log-transform the output values?.
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.
Return command that would be executed by system()
rather than running tool.