Hot answers tagged

1 vote
Accepted

Raster to Numpy array for aspecified area, search maximum value using ArcPy and numpy

The following code works by masking the raster and returning the max value then storing it in a dictionary for subsequent use. The two key optimisations are to use glob to create a list of tifs and to ...
user avatar
  • 38.3k
1 vote

ArcGIS - run a tool thousands of times

Perhaps this will work for you: arcpy.conversion.TableToTable(r"confusionmatrix"+str(i), r"path_of_folder_to_save_to", r"confusionmatrix"+str(i)+".csv") ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible