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.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.