geo-registry

r.watershed

How GRASS runs Flow Direction: r.watershed.

About this implementation
Engine GRASS
Tool name r.watershed
Interface cli
Implements Flow Direction
Variant of grass-r-watershed
Preset {"flag_s":true,"flag_a":true}
Documentation Not stated
Effects modifies input: no, network: no
Notes Not stated
Status active

Parameters

Name Type Required Default Choices Note
elevation string yes Not stated Not stated cell name
depression string no Not stated Not stated cell name
flow string no Not stated Not stated cell name
disturbed_land string no Not stated Not stated cell name
blocking string no Not stated Not stated cell name
retention string no Not stated Not stated cell name
threshold integer no Not stated Not stated Not stated
max_slope_length float no Not stated Not stated Not stated
accumulation string no Not stated Not stated output cell
tci string no Not stated Not stated output cell
spi string no Not stated Not stated output cell
drainage string no Not stated Not stated output cell
basin string no Not stated Not stated output cell
stream string no Not stated Not stated output cell
half_basin string no Not stated Not stated output cell
length_slope string no Not stated Not stated output cell
slope_steepness string no Not stated Not stated output cell
convergence integer no 5 Not stated Not stated
memory integer no 300 Not stated Not stated
flag_s boolean no Not stated Not stated flag -s
flag_4 boolean no Not stated Not stated flag -4
flag_m boolean no Not stated Not stated flag -m
flag_a boolean no Not stated Not stated flag -a
flag_b boolean no Not stated Not stated flag -b
flag_overwrite boolean no Not stated Not stated flag --overwrite

How it maps to the operation

Operation parameter Parameter here Note
raster elevation Not stated
output drainage Not stated
encoding Not stated always grass

Differences from the operation

  • This mapping sets flags s (single flow direction) and a; negative codes mark cells that drain out of the region.

Harvested by the grass harvester from engine version 8.5.0. Names can change when an engine is harvested again.