I've created 4 hillshades for a particular area to represent the 4 seasons in a year. The equation I now need to use to determine solar insulation is 1000*hillshade/255 in raster calculator. However, I keep getting this error:
Messages Executing: RasterCalculator "(1000 * "Spring_HS") / 255" "E:\Geog 170\Lab 2\DEM\spring_insul" Start Time: Sat Apr 11 09:44:25 2015 (1000 * Raster(r"Spring_HS")) / 255
ERROR 000539: Error running expression: rcexec() Traceback (most recent call last): File "", line 1, in File "", line 2, in rcexec File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy__init__.py", line 24, in from arcpy.toolbox import * File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\toolbox.py", line 356, in from management import Graph, GraphTemplate File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\management.py", line 22, in import _management File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy_management.py", line 14, in import _graph File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy_graph.py", line 27, in import numpy ImportError: No module named numpy
Failed to execute (RasterCalculator). Failed at Sat Apr 11 09:44:25 2015 (Elapsed Time: 0.12 seconds)
I'm not entirely sure what the error message means, but a few people, it seems, determined that it is due to an issue with the raster calculator and arcpy. Please help me to solve this issue or find some kind of work around. Additionally, as a student, it would be great if we could also try to dissect this issue so that I may better understand just what the heck is going on.
It seems that the error code being put out is referring to an issue importing something called "numPy". Here is a duplicate of this question with a slew of different solutions than the solution found in this thread.