In the Results window, what is the exact syntax that is being run? Can you post that? Also is 'dem0' in the map document? It seems to be that it cannot resolve the naming of the raster. Also can you run the script in segments? Will the IsNull work on it's own? Focal Stats?
The help for the error says that it includes the issue that Python has encountered. What's the exact text you're getting with the error?
Con(IsNull('dem0'), FocalStatistics('dem0', NbrRectangle(9,9,"CELL"), 'MEAN'), "dem0")
--------------------------------------------------------------------------------0 Raster Calculator issues I have tried every suggestion I've come across to use Raster Calculator to fill my 'NoData' holes in mosaic-ed Raster DEM.I'm using ArcMap 10 and the equation I've been told to use is:Filled_DEM = Con(isnull(["mosaic"]),FocalMean(["mosaic"], rectangle,4,4),["mosaic"])ive tried changing around the capitalization, spacing, and even read somewhere that in ArcMap 10 focal stats. no longer works so I used :Filled_DEM = Con(IsNull(["mosaic"]),FocalStatistics(["mosaic"], NbrRectangle(3,3),"MEAN"),["mosaic"])and STILL nothing. can someone please help me - I've sat for hours trying to figure this out and I feel as though I've run out of options!!! Thanks!!!Stephanie
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.