Output raster name

Discussion created by alarosa on May 26, 2011
Latest reply on Jun 3, 2011 by alarosa
I am new of Python and I am trying to generate a new raster using a spatial analyst expression (ArcGIS Desktop 10).

Is there a way to set at run time the name of the output raster in a file GDB? With the code below I get a different name for the output raster in the GDB. Thanks

from import *
myoutraster = (Raster("A") + Raster("B"))