This tool can be used to identify areas of NoData values within an image. The user must specify the name of the input and output raster images. Grid cells containing the NoData value in the input image will be assigned a one in the output image. All non-NoData valued grid cells will be assigned zeros in the output image. The output raster is of the integer data type and Boolean data scale.
Notice that this same operation can be performed using the Reclass tool, which allows for more complex reclass patterns.
The following is an example of a Python script that uses this tool:
wd = pluginHost.getWorkingDirectory()
inputFile = wd + "input.dep"
outputFile = wd + "output.dep"
args = [inputFile, outputFile]
pluginHost.runPlugin("IsNoData", 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"
String[] args = [inputFile, outputFile]
pluginHost.runPlugin("IsNoData", args, false)