Learn R Programming

whitebox (version 0.1.0)

breach_depressions: Breach depressions

Description

Breaches all of the depressions in a DEM using Lindsay's (2016) algorithm. This should be preferred over depression filling in most cases.

Usage

breach_depressions(dem, output, max_depth = NULL, max_length = NULL,
  verbose_mode = FALSE)

Arguments

dem

Input raster DEM file.

output

Output raster file.

max_depth

Optional maximum breach depth (default is Inf).

max_length

Optional maximum breach channel length (in grid cells; default is Inf).

verbose_mode

Sets verbose mode. If verbose mode is False, tools will not print output messages.

Value

Returns the tool text outputs.