Moran's I Running Long

863
4
04-15-2022 03:48 PM
Labels (2)
MarieJ
by
New Contributor II
I want to run Moran's I on a dataset but gives me an error saying: 
001420: The number of neighbors for at least one feature exceeds 1000; you may want to change your Conceptualization of Spatial Relationships to avoid the potential of running out of memory.

I've looked at the following resource: 001420: The number of neighbors for at least one feature exceeds <value>; you may want to change you...

but im unable to find the Scripts and Weights Utilities in the arc toolbox. Is it under a different name? Can someone help guide me to this please?

 

Thanks

0 Kudos
4 Replies
DanPatterson
MVP Esteemed Contributor

It is a script in your installation, for example

 <ArcGIS>/ArcToolbox/Scripts/WeightsUtilities.py.

means

c:/... your arcgis pro install folder ... / ArcToolbox/Scripts/WeightsUtilities.py

Which might be ... in ... C:/Program Files

My path is

C:\arc_pro\Resources\ArcToolBox\Scripts

Where I install ArcGIS Pro in my own folder (arc_pro)

You can edit the *.py file in a text editor like Notepad or Notepad++


... sort of retired...
0 Kudos
MarieJ
by
New Contributor II

Thank you. 

I have updated the number of neighbors. How would I save this now from Notepad?

0 Kudos
MarieJ
by
New Contributor II

I tried opening via IDLE but I'm unable to save it and gives this error.

0 Kudos
DanPatterson
MVP Esteemed Contributor

Apparently you don't have permission to edit files on your machine, so it must be out of your control (a teaching lab machine???)

The intent is to edit the script, then run the tool, not run the script.  

If you are the administrator of your machine, you can change permissions... if not, you will need to find the person that is.


... sort of retired...
0 Kudos