Isobasin

This tool can be used to divide a landscape into a group of nearly equal-sized watersheds, known as isobasins. The user must specify the name of a flow pointer (flow direction) raster, a catchment area (flow accumulation) raster, the output raster name, and the isobasin target area. The flow pointer and accumulation rasters should be generated using the D8 algorithm. The isobasin target area must be in the same units as the catchment area image. Notice that a temporary image is created during the execution of this tool and that it is deleted upon completion.

NoData values in the input flow pointer or accumulation rasters are assigned NoData values in the output image. The output raster is of the float data type and categorical data scale.

See Also:

Scripting:

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

wd = pluginHost.getWorkingDirectory()
pointerFile = wd + "D8 pointer.dep"
caFile = wd + "contributing area.dep"
outputFile = wd + "output.dep"
targetBasinSize = "1500"
args = [pointerFile, caFile, outputFile, targetBasinSize]
pluginHost.runPlugin("Isobasin", args, False)

This is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
def pointerFile = wd + "D8 pointer.dep"
def caFile = wd + "contributing area.dep"
def outputFile = wd + "output.dep"
def targetBasinSize = "800"
String[] args = [pointerFile, caFile, outputFile, targetBasinSize]
pluginHost.runPlugin("Isobasin", args, false)

Credits: