Replace NoData

Running programmatically

Replaces the cells with NoData values in the input rasters with the values of the corresponding cells of the replace raster or a constant.

Inputs:

Output:

Notes:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name ReplaceNoData
<input raster> A String representing the input raster dataset.
<output raster> A String - the full name of the output raster.
<replace value> Replace Constant value
<replace raster> Replace Raster dataset

Running the function

ETSPath used in the table below is the full path to ETSRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETSurface\ETSRun.exe")

Language Syntax
Python subprocess.call([ETSPath, "ReplaceNoData", "input raster", "output raster", "replace value", "replace raster"])
.NET using ETSRun.exe StartInfo.FileName = ETSPath
StartInfo.Arguments = "ReplaceNoData" "input raster" "output raster" "replace value" "replace raster"
.NET using ETSOutX.dll ReplaceNoData(input raster, output raster, replace value, replace raster)
ArcPy arcpy.ReplaceNoData("input raster", "output raster", "replace value", "replace raster")

Notes:

(Go to TOP)