d8_flow_accumulation {whitebox} | R Documentation |
Calculates a D8 flow accumulation raster from an input DEM.
d8_flow_accumulation(dem, output, out_type = "cells", log = FALSE, clip = FALSE, verbose_mode = FALSE)
dem |
Input raster DEM file. |
output |
Output raster file. |
out_type |
Output type; one of 'cells' (default), 'catchment area', and 'specific contributing area'. |
log |
Optional flag to request the output be log-transformed. |
clip |
Optional flag to request clipping the display max by 1 percent. |
verbose_mode |
Sets verbose mode. If verbose mode is False, tools will not print output messages. |
Returns the tool text outputs.