AnsweredAssumed Answered

Can I use the Raster Calculator with a Table Iterator?

Question asked by mslater06 on May 6, 2014
Latest reply on May 8, 2014 by mslater06
I need to perform a ???simple??? raster calculation using a Digital Elevation Model and a dbf table with a coefficient value (double); DEM10m * table value. 
The problem is that I need to do this over a thousand times and am trying to use the iterate table function in Model Builder to run through my list of dbf tables but get multiple errors each time.

ERROR 000539: Error running expression: rcexec()
Traceback (most recent call last):
  File "<expression>", line 1, in <module>
  File "<string>", line 5, in rcexec
  File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\sa\Functions.py", line 4298, in Times
    in_raster_or_constant2)
  File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\sa\Utils.py", line 47, in swapper
    result = wrapper(*args, **kwargs)
  File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\sa\Functions.py", line 4295, in Wrapper
    ["Times", in_raster_or_constant1, in_raster_or_constant2])
RuntimeError: ERROR 000732: Input Raster: Dataset srg12_coef does not exist or is not supported

Failed to execute (Raster Calculator).

Can a table iterator be used with the raster calculator?

How can I get the calculator to recognize/accept my tables? Do they need to be in a different format? Or do I need more explicit map algebra syntax that specifically tells the calculator to extract the value in row 1, column 2 of my tables?
Any help would be  so appreciated!
Thanks,
Melissa

Outcomes