AnsweredAssumed Answered

Iterate rasters into SETNULL giving error

Question asked by Chenay.Simms on Nov 27, 2013
Latest reply on Nov 28, 2013 by Hornbydd
Hello

I am trying to use the SETNULL funtion in the raster calculator to convert all my minus values to NODATA. As I need to run this analysis on a large number of EVI images I have tried to put it in a model with an iterator but it runs into the following error -

ERROR 000539: Error running expression: rcexec()
Traceback (most recent call last):
  File "<expression>", line 1, in <module>
  File "<string>", line 8, in rcexec
RuntimeError: ERROR 010093: Output raster format UNKNOWN is unsupported.

Failed to execute (Raster Calculator).

On a single raster my SETNULL expression works so this has got to do with my use of the iterator output in the expression. 

Expression = SetNull("%MCD43_EVI_interpolated_SA_2000049.tif%" < 0,"%MCD43_EVI_interpolated_SA_2000049.tif%")

Output = %Name%_c

Any ideas?

Thanks

Chenay

Outcomes