Wall-in watershed

This tool is used to increment the elevations in a digital elevation model (DEM) along the boundaries of a watershed polygon. The user must specify the name of the raster DEM, the watershed file, the output file name, and the increment height. The watershed file can be either a raster, containing one or more polygons, or a vector shapefile.

See Also:

Scripting:

The following is an example of a Python script that uses this tool:

wd = pluginHost.getWorkingDirectory()
demFile = wd + "DEM.dep"
watershed = wd + "watershed.shp"
outputFile = wd + "output.dep"
elevIncrement = "50.0"
args = [demFile, watershed, outputFile, elevIncrement]
pluginHost.runPlugin("WallWatershed", args, False)

This is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
def demFile = wd + "DEM.dep"
def watershed = wd + "watershed.dep"
def outputFile = wd + "output.dep"
def elevIncrement = "50.0"
String[] args = [demFile, watershed, outputFile, elevIncrement]
pluginHost.runPlugin("WallWatershed", args, false)

Credits: