Hi,
i try to execute the following commands in the python window
(the spatial analyst extension is checked out)
import arcpy
from arcpy.sa import *
# Set Mask environment
arcpy.env.mask = r'mask'
#calculate
temp = Raster("rasterA") - Raster("rasterB")
temp.save("Result")RasterA and rasterB are in my dataframe.
After executing temp = Raster("rasterA") - Raster("rasterB")
a raster 'temp' appears in my dataframe (source = temporary raster 'minus_ras' in my default geodatabase.
if a then execute temp.save("Result")
I get the following Arcmap drawing error:
"One or more layers failed to draw:
temp: The table was not found. [fras_blk_minus_ras]
temp: The table was not found."
In the geodatabase an entry "Result" can be found, but it's a File Geodatabase Table instead of a File Geodatabase Raster, and I can't add it to my dataframe..
Anybody knows what's going wrong?
Thanks!