AnsweredAssumed Answered

Error 000539 running Raster Calulator

Question asked by mihai.grosu on Aug 30, 2016
Latest reply on Apr 13, 2017 by curtvprice

Hello, I am trying to combine a few rasters together and getting the 000539 error.

 

I checked out a few forums for solutions but could not resolve the issue. I know it has something to do with Python not being able to communicate with Arc, but I cant find the solution to my own error anywhere online. Can someone interpret the message and provide a possible solution please?

 

Executing (Raster Calculator): RasterCalculator ""shadowmap_1" + "shadowmap_2" + "shadowmap_3" + "shadowmap_4" + "shadowmap_5"" C:\Users\Mihai\Desktop\Shade_Analysis\March20\ShadowAnalysis2.gdb\sum_shadowmap_temp
Start Time: Tue Aug 30 21:54:54 2016
Raster(r"shadowmap_1") + Raster(r"shadowmap_2") + Raster(r"shadowmap_3") + Raster(r"shadowmap_4") + Raster(r"shadowmap_5")
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.4\arcpy\arcpy\sa\Functions.py", line 4329, in Plus
in_raster_or_constant2)
File "c:\program files (x86)\arcgis\desktop10.4\arcpy\arcpy\sa\Utils.py", line 53, in swapper
result = wrapper(*args, **kwargs)
File "c:\program files (x86)\arcgis\desktop10.4\arcpy\arcpy\sa\Functions.py", line 4326, in Wrapper
["Plus", in_raster_or_constant1, in_raster_or_constant2])
RuntimeError: ERROR 999998: Unexpected Error.

Failed to execute (Raster Calculator).
Failed at Tue Aug 30 21:54:54 2016 (Elapsed Time: 0.26 seconds)

Outcomes