How to values of one raster to Null, based on Null values of another raster?

Discussion created by sdthompson on Feb 25, 2014
Latest reply on Feb 26, 2014 by sdthompson
I would like to set the values of one raster ("NDVI.img") to Null, based on values that are Null in another raster ("Mask.img"). I am working with ArcGIS 10.1, and my input rasters are floating point.

To test out the method, In the SetNull tool, I specified the input conditional raster to be the Mask.img, the False raster to be the NDVI.img, and I entered "VALUE IS < 0.15". It worked. When I changed the expression to "VALUE IS NULL", it did not work.

I seem to have the expression wrong, and have tried various versions including
"IS NULL", "NO DATA", "== NULL", "IsNull", etc.

What is the correct way to specify this?

I also tried the "Con" function, where I specified a value of -9999 in the FalseRas where the conditional input raster had "VALUE IS NULL" - in this case (and when I tried some various attempts at SetNull in Python and Raster Calculator), I got an error message talking about unable to read the input raster table.

Does it matter if my data are floating point or integer or stored as GRID versus .IMG or .tif??  I opened the symbology tab of the raster files to run the histogram / statistics for each of my input floating point rasters but that did not seem to do the trick...

Any advice would be greatly appreciated!