Xhosa

Raster calculator errors

Discussion created by Xhosa on Jun 12, 2013
Latest reply on Jun 13, 2013 by Xhosa
I am having an issue with raster calculator. When I try this:
Con(IsNull("hillshd"), FocalStatistics( "hillshd", NbrRectangle(9, 9, "CELL"), "MEAN"), "hillshd")


I get error 000539

I then tried this in a stand alone:
import arcpy
from arcpy import env
from arcpy.sa import *


outIsNull = IsNull("dem0")


# Set environment settings
env.workspace = "F:/elevation"


# Set local variables
inRaster = "dem0"
expand = NbrRectangle(10, 10, "CELL")


# Check out the ArcGIS Spatial Analyst extension license
arcpy.CheckOutExtension("Spatial")


# Execute FocalStatistics
outFocalStatistics = FocalStatistics(inRaster, expand, "MEAN", "")


# Save the output 
outFocalStatistics.save("F:/elevation/testOutput")

And get error 000824.

I am a little confused on this, any thoughts?

Thanks for any time and consideration!

Outcomes