Identifies potential valley bottom grid cells based on local topolography alone.
extract_valleys(dem, output, variant = "Lower Quartile",
line_thin = TRUE, filter = 5, verbose_mode = FALSE)
Input raster DEM file.
Output raster file.
Options include 'lq' (lower quartile), 'JandR' (Johnston and Rosenfeld), and 'PandD' (Peucker and Douglas); default is 'lq'.
Optional flag indicating whether post-processing line-thinning should be performed.
Optional argument (only used when variant='lq') providing the filter size, in grid cells, used for lq-filtering (default is 5).
Sets verbose mode. If verbose mode is False, tools will not print output messages.
Returns the tool text outputs.