I have 2 rasters in my workspace, one in TIFF Format and the other in GRID format: "C:\ExampleFolder"
When I use the python script:
import arcpy
>>> rasl=arcpy.ListRasters("C:\ExampleFolder")
>>> print rasl
None
Python does not recognize my raster files. I'm attempting to use the script in this previous question:
Clip raster using shapefile into multiple rasters using ArcGIS Desktop?
I keep receiving error:
ERROR 000732: Input Rasters: Dataset does not exist or is not supported.
Any reason why Python does not recognize my raster?
Best Answer
Try explicitly defining the workspace:
The documentation shows that you cannot include the path of your workspace in the
ListRaster
function: