AnsweredAssumed Answered

Using shutil to copy rasters

Question asked by mzcoyle on Jun 14, 2012
Latest reply on Jun 20, 2012 by mzcoyle
Is there any problems with doing this? I take all files associated with a asc or tif and use shutil.copy2. They seem to come out alright but just wondering if I am missing anything behind the scenes?

I went this route as I was having trouble using the ListRasters tool efficiently, it would take minutes just to list the rasters I want in my source directory of 14K rasters. I switched to os.listdir to get all the files matching the names I want and is much faster.