drainage_preserving_smoothing: Drainage preserving smoothing

Description Usage Arguments Value

Description

Reduces short-scale variation in an input DEM while preserving breaks-in-slope and small drainage features using a modified Sun et al. (2007) algorithm.

Usage

1
2
3
drainage_preserving_smoothing(dem, output, filter = 11, norm_diff = 15,
  num_iter = 3, max_diff = 0.5, reduction = 80, dfm = 0.15,
  zfactor = 1, verbose_mode = FALSE)

Arguments

dem

Input raster DEM file.

output

Output raster file.

filter

Size of the filter kernel.

norm_diff

Maximum difference in normal vectors, in degrees.

num_iter

Number of iterations.

max_diff

Maximum allowable absolute elevation change (optional).

reduction

Maximum Amount to reduce the threshold angle by (0 = full smoothing; 100 = no smoothing).

dfm

Difference from median threshold (in z-units), determines when a location is low-lying.

zfactor

Optional multiplier for when the vertical and horizontal units are not the same.

verbose_mode

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

Value

Returns the tool text outputs.


whitebox documentation built on Sept. 7, 2020, 3 p.m.