This tool is used to generate a flow accumulation raster using the simple D8 (O'Callaghan and Mark, 1984) algorithm. It is a parallel alternative to the D8 and Rho8 Flow Accumulation tool and is currently considered to be experimental. It may result in performance improvements compared with the serial tool, depending on the users system. Changes may occur to this tool in the future.
The user must specify the name of a digital elevation model (DEM) that has been hydrologically corrected to remove all spurious depressions and flat areas. DEM pre-processing is usually achived using the Fill Depressions tool or the Breach Depressions (Fast) tool.
The following is an example of a Python script that uses this tool:
wd = pluginHost.getWorkingDirectory()
demFile = wd + "DEM.dep"
outputFile = wd + "pointer.dep"
runParallel = "true"
args = [demFile, outputFile, runParallel]
pluginHost.runPlugin("D8FlowAccum", args, False)
This is a Groovy script also using this tool:
def wd = pluginHost.getWorkingDirectory()
def demFile = wd + "DEM.dep"
def outputFile = wd + "pointer.dep"
def runParallel = "true"
String[] args = [demFile, outputFile, runParallel]
pluginHost.runPlugin("D8FlowAccum", args, false)