Traceback (most recent call last): File "C:\Users\Ellen\Documents\ArcGIS\laharz_py_example\laharz_py_example\laharz_py\distal_inundation.py", line 1621, in <module> main(argv[1], argv[2], argv[3], argv[4], argv[5], argv[6]) File "C:\Users\Ellen\Documents\ArcGIS\laharz_py_example\laharz_py_example\laharz_py\distal_inundation.py", line 1319, in main planvals,B = CalcCrossSection(sectn,currFlowDir,currRow,currCol,planvals,xsectAreaList,B) File "C:\Users\Ellen\Documents\ArcGIS\laharz_py_example\laharz_py_example\laharz_py\distal_inundation.py", line 771, in CalcCrossSection cellleftelev = A[cellleftx,celllefty] UnboundLocalError: local variable 'cellleftx' referenced before assignment Failed to execute (laharzdistalzones.py). Failed at Mon Oct 05 01:05:08 2015 (Elapsed Time: 1 hours 38 minutes 32 seconds)
I am trying to run the Laharz_py program and keep on receiving this error message when trying to run the models. I know next to nothing about python scripting. Would anyone please be able to explain, (preferably in layman's terms, I really am clueless,) what this means and how I might fix it.
Thanks