below is the python script I was using:# Location where the images will be copied to:
arcpy.env.workspace = r'R:\RhodeIsland_imagery_20130118\1951_1952_RIUTM_GeoTIFF\ArcReProject'
# Set the output projection, i.e., the zone number
with open(r'X:\Archive\Python_Scripts\UTM_19.txt', 'r') as f:
prj = f.readlines()[0]
outPath = arcpy.env.workspace
istFiles = open(r'R:\RhodeIsland_imagery_20130118\1951_1952_RIUTM_GeoTIFF\Index\List_Files_UTM.csv', 'r')
for inputRasters in listFiles.readlines():
inputFilenames = os.path.splitext(os.path.basename(inputRasters))[0]
outPut = os.path.join(outPath,inputFilenames + ".tif")
arcpy.ProjectRaster_management(inputRasters, outPut, prj)
Below is the table (the location of TIFFs):[HTML]\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_5R50_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_5R51_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_5R52_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_5R53_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_5R54_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_5R55_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R1_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R10_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R11_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R12_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R13_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R14_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R15_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R16_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R2_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R3_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R4_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R5_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R6_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R7_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R8_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_7R9_Orthorect_nocollar.tif\\gisarl01\bps_backup\May_BPS_Delivery\BPS_Delivery\WO_286_CA_Santa_Cruz_County_1956\Without_Collar\1956B_Santa_Cruz_County_Flight_CJA_8R38_Orthorect_nocollar.tif[/HTML]Below is the model I am trying to create:Note that the table is not connecting to iterator (I tried other iterators too)