Hello,
I am running ArcGIS Pro 3.1.3 and wanting to run hotspot analysis and I am getting an error. I was just able to do the analysis on another layer but then it gave me the following error. I have restarted the program and the error is still happening. Thank you for your help.
Optimized Hot Spot Analysis
=====================
Parameters
Input Features Map5_Dolo
Output Features C:\Users\micro\OneDrive\Documents\ArcGIS\Projects\Map5\Map5.gdb\Map5_Dolo_OptHS
Analysis Field XFe
Incident Data Aggregation Method COUNT_INCIDENTS_WITHIN_FISHNET_POLYGONS
Bounding Polygons Defining Where Incidents Are Possible
Polygons For Aggregating Incidents Into Counts
Density Surface
Cell Size
Distance Band
=====================
Messages
Start Time: Monday, November 06, 2023 5:43:19 PM
json:
{"element": "h5", "data": "Initial Data Assessment"}
Making sure there are enough weighted features for analysis....
WARNING 000642: Problems reading 1 of 408324 total records.
WARNING 000848: Features with bad records (only includes first 30): OBJECTID = 717.
json:
{"element": "unorderedlist", "data": ["There are 408323 valid input features."]}
Evaluating the Analysis Field values....
json:
[{"element": "table", "data": [["Min", "0.0992"], ["Max", "0.9422"], ["Mean", "0.3509"], ["Std. Dev.", "0.0415"]], "elementProps": {"striped": "true", "className": "small", "noHeader": true, "title": "XFE Properties:", "0": {"align": "left", "pad": "0px", "wrap": true}, "1": {"align": "right", "pad": "0px", "wrap": true}}}]
Looking for locational outliers....
json:
{"element": "unorderedlist", "data": ["There were 87 outlier locations; these will not be used to compute the optimal fixed distance band."]}
json:
{"element": "h5", "data": "Scale of Analysis"}
Looking for an optimal scale of analysis by assessing the intensity of clustering at increasing distances....
Traceback (most recent call last):
File "<string>", line 7435, in execute
File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\OptimizedHotSpotAnalysis.py", line 338, in __init__
self.doHotSpots()
File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\OptimizedHotSpotAnalysis.py", line 1522, in doHotSpots
mi = MI.GlobalI_Step(self.analysisSSDO, self.varName,
File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\MoransI_Increment.py", line 72, in __init__
self.construct()
File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\MoransI_Increment.py", line 330, in construct
start = binIndices[c]
IndexError: index 93 is out of bounds for axis 0 with size 93
Failed to execute (OptimizedHotSpotAnalysis).
Failed at Monday, November 06, 2023 5:44:34 PM (Elapsed Time: 1 minutes 15 seconds)
If the inputs were a polygon featureclass run Check Geometry—ArcGIS Pro | Documentation and Repair if necessary
There are a variety of other potential issues outlined in
Optimized Hot Spot Analysis (Spatial Statistics)—ArcGIS Pro | Documentation