Reclass (equal interval)

This tool reclassifies the values in an input raster file based on an equal-interval scheme, where the user must specify the reclass interval value, the starting value, and optionally, the ending value. Grid cells containing values that fall outside of the range defined by the starting and ending values, will be assigned their original values in the output grid. If the user does not specify an ending value, the tool will assign a very large positive value.

See Also:

Scripting:

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

wd = pluginHost.getWorkingDirectory()
inputFile = wd + "input.dep"
outputFile = wd + "output.dep"
reclassInterval = "10.0"
startValue = "0.0"
endValue = "not specified"
args = [inputFile, outputFile, reclassInterval, startValue, endValue]
pluginHost.runPlugin("ReclassEqualInterval", args, False)

This is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
def inputFile = wd + "input.dep"
def outputFile = wd + "output.dep"
def reclassInterval = "10.0"
def startValue = "0.0"
def endValue = "100.0"
String[] args = [inputFile, outputFile, reclassInterval, startValue, endValue]
pluginHost.runPlugin("ReclassEqualInterval", args, false)

Credits: