Select to view content in your preferred language

how to capturing the Moran's I output file names

59
0
Friday
RobertPendergrass1
Emerging Contributor

I am running Global Moran’s I with an iterator (220,000 records grouped by a field called M_GEOID_2, which has 927 different values). What I need to do is change both the output feature class name and the HTML report file name to reflect those groups. The current output features have identical names taken from the input feature class but are at least distinct feature classes. Thus, I will have 927 feature classes, but have no clue as to which one is which, except by manually looking at each one and renaming it!! The same applies to the HTML report files.

I am using the modified routine to collect and capture the output values, which can be found here: community.esri.com/t5/spatial-statistics-questions/collecting-moran-s-i-output-values/td-p/481683. This works great. This has allowed me to insert the grouping code into the variables used for the “morans_output.txt” file.

 

How can I access the output “report file”, which in this case defaults to “I_BG_SOCIOECONOMIC_CLASS_M_GEO_ID_2”, and the HTML output file, which defaults to “MoransI_Result_31412_26088_8.html” (the last digit is a serial number)?

 

RobertPendergrass1_0-1762546508027.png

 

 

RobertPendergrass1_1-1762546508029.png

 

0 Kudos
0 Replies