Have you checked to make sure the files and folders exist, have valid names etc?
arcpy.env.workspace = r"G:\Imagery\Orthos_2009\Photos\TIFF" arcpy.env.workspace = "G:\\Imagery\\Orthos_2009\\Photos\\TIFF" arcpy.env.workspace = "G:/Imagery/Orthos_200/Photos/TIFF"
input = os.path.join(InFolder,raster) # Much preferred input = InFolder + os.sep + raster
Sorry to say it, but I'd guess the parameters are not valid (either "input" or "output"), but you'd have to post the code for anyone to figure it out.
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.