In scripting geoprocessing environments, CellSize, Extent, snapRaster, and output coordinate do not accept Raster objects.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM087923
Submitted
January 8, 2013
Last Modified
June 5, 2024
Applies to
No Product Found
Version found
10.0
Version Fixed
10.2
Status
Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Workaround
Use from Describe:arcpy.env.cellsize = arcpy.Describe('flowaccumulation.img').meancellheightOr to use a Raster object:myRas = arcpy.Raster('aspect_elev_b')arcpy.env.cellSize = myRas.meanCellHeight