recurvata

Copy Rasters question

Discussion created by recurvata on Jan 8, 2014
I have a folder with ~1200 aerial photos in both jp2 and tif format, of which I need about 380. I wrote a python script to get the names of the files I need, which works fine. But when the script copies the data, 1. it goes very slowly, 2. the file size for the jps file expands from 92k kb to 200k kb or more. It also creates ovr files an the 150K kb range. Is this normal? Thanks.

lst_names = arcpy.SearchCursor(raster_names, "", "", name_field, name_field)

for row in lst_names:
    arcpy.CopyRaster_management(from_folder + row.name, to_folder + row.name)

Outcomes