ERROR 010316: Unable to open the input raster

2201
2
11-15-2011 12:57 AM
tomwaddington
New Contributor
I have used the online help and read up about the error code and as to why my input file may not be opened and i cant see there to be any of the problems mentioned in the help, present in my file. I dont think its an issue with permission as i ran a separate command to check if it would open the input file, which worked. Can any one shed any light on why the file wont open.

gp.MultiOutputMapAlgebra_sa("forb2g = CON(forb1g > 0, dem_resample)")

This is the error I get:

Traceback (most recent call last):
File "H:\Internship_Tom_Waddington\New_code\code.py", line 94, in <module>
gp.MultiOutputMapAlgebra_sa("forb2g = CON(forb1g > 0, dem_resample)")
ExecuteError: ERROR 010316: Unable to open the input raster: FORB1G
ERROR 010067: Error in executing grid expression.
Failed to execute (MultiOutputMapAlgebra).
Tags (2)
0 Kudos
2 Replies
StephanieWendel
Esri Contributor
Two things to check for the MOMA tool: 1. Is this an Esri Grid? 2. Is your Grid in a folder and not in a geodatabase?

A bug was submitted similar to your issue as MOMA only supports Esri Grids and will not work if the raster is in a geodatabase. Place the Grid in a folder to run the tool. See this link for info on the bug http://support.esri.com/en/bugs/nimbus/TklNMDU2ODIy

Also, check out the MOMA help if you haven't already, http://webhelp.esri.com/arcgiSDEsktop/9.3/index.cfm?TopicName=Multi_Output_Map_Algebra
0 Kudos
harshanashrestha
New Contributor
I got the simillar error in the following statement and when i change arrange the space in between brackets, i got error message stating,
ERROR at or near space.

([landusestep0] = 0.AsGrid) and ([altitude1] < 100)

Could you please help me out from this?
0 Kudos