[HTML] Apparently I just wasn't waiting long enough. The second code (below) works for both. import arcpy arcpy.env.workspace = r"C:/GIS/NDVI/Georef_27_21_TIFFs/test" rasters = arcpy.ListRasters("*", "TIF") for raster in rasters: print raster outraster = raster.rpartition(".")[0]+"_olp.tif" arcpy.ProjectRaster_management(raster, outraster, "MNR_LAMBERT_PROJECTION_3161.prj", "NEAREST", "30", "WGS_1984_(ITRF00)_To_NAD_1983", "#", r"C:/Program Files/ArcGIS/Desktop10.0/Coordinate Systems/Projected Coordinate Systems/UTM/WGS 1984/Northern Hemisphere/WGS 1984 UTM Zone 16N.prj") [/HTML]
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.