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 ...
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")
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
arcpy × 10000arcgis-desktop × 1461
python × 1007
arcmap × 997
cursor × 946
arcgis-10.1 × 752
arcgis-10.2 × 714
arcgis-pro × 663
arcgis-10.0 × 636
arcgis-10.3 × 427
python-script-tool × 395
raster × 371
spatial-analyst × 327
modelbuilder × 300
layers × 292
field-calculator × 285
python-toolbox × 274
enterprise-geodatabase × 261
python-2.7 × 235
python-addin × 235
fields-attributes × 227
error-000732 × 215
select-by-attribute × 206
shapefile × 200
arcgis-server × 197