This forum is shutting down! Please post new discussions at community.naturalcapitalproject.org

HRA IndexError

Hello,

I've been trying to run INVEST HRA but keep getting error messages (prior ones I was able to correct), but this one I have no idea on how to solve

I'm ctrl+c ctrl+v the log info from my last (attempt) run:

Initializing...

02/01/2019 12:06:37 root DEBUG PATH: ['C:\\InVEST_3_1_3_x86\\invest-3-x86\\.']

02/01/2019 12:06:37 root DEBUG Loading hra from PATH

Arguments:

aoi_tables C:/InVEST_3.4.4.post287+h0f8d27aa3bae_x86/HabitatRiskAssess_Babitonga/Input/AREA_DE_ESTUDO.shp

csv_uri C:\InVEST_3.4.4.post287+h0f8d27aa3bae_x86\HabitatRiskAssess_Babitonga\habitat_stressor_ratings

decay_eq None

grid_size 50

max_rating 3

max_stress 4

risk_eq Euclidean

workspace_dir C:\InVEST_3.4.4.post287+h0f8d27aa3bae_x86\HabitatRiskAssess_Babitonga



02/01/2019 12:06:37 root INFO Logging will be saved to hra-log-2019-02-01--12_06_37.txt

02/01/2019 12:06:37 root DEBUG Loaded the model from invest_natcap.habitat_risk_assessment.hra

02/01/2019 12:06:37 root INFO Executing the loaded model

02/01/2019 12:06:37 root INFO Running InVEST version "3.1.3"

02/01/2019 12:06:37 root INFO Python architecture: ('32bit', 'WindowsPE')

02/01/2019 12:06:37 root INFO Disk space remaining for workspace: 112.28 GB

an exception encountered when logging

02/01/2019 12:06:37 root INFO Pointing temporary directory at the workspace at C:\InVEST_3.4.4.post287+h0f8d27aa3bae_x86\HabitatRiskAssess_Babitonga

02/01/2019 12:06:37 root INFO Updating os.environ["TMP"]=C:\Users\da_vi\AppData\Local\Temp to C:\InVEST_3.4.4.post287+h0f8d27aa3bae_x86\HabitatRiskAssess_Babitonga

02/01/2019 12:06:37 root INFO Updating os.environ["TEMP"]=C:\Users\da_vi\AppData\Local\Temp to C:\InVEST_3.4.4.post287+h0f8d27aa3bae_x86\HabitatRiskAssess_Babitonga

02/01/2019 12:06:37 root INFO Setting os.environ["TMPDIR"]=C:\InVEST_3.4.4.post287+h0f8d27aa3bae_x86\HabitatRiskAssess_Babitonga

02/01/2019 12:06:37 root INFO Setting tempfile.tempdir to C:\InVEST_3.4.4.post287+h0f8d27aa3bae_x86\HabitatRiskAssess_Babitonga\tmp

02/01/2019 12:06:37 root INFO Starting hra

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Agtransp_canalacesso\x94', '500']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Agtransp_ferry\x94', '100']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Agtransp_fundeadouro\x94', '100']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Agtransp_monoboia\x94', '500']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Agtransp_oleoduto\x94', '100']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Agtransp_portolic\x94', '1000']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Agtransp_portoop\x94', '1000']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Agtransp_praticagem\x94', '50']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Agtransp_trcoletivo\x94', '50']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Maricultura\x94', '1000']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Mineracao\x94', '1000']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Pesca_camaraoarrastoportas\x94', '1000']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Pesca_camaraocaceio\x94', '100']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Pesca_camaraogerival\x94', '500']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Pesca_coletacaranguejo\x94', '100']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Pesca_coletasiri\x94', '50']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Pesca_moluscos\x94', '50']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Pesca_peixearrastopraia\x94', '50']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Pesca_peixecaceio\x94', '100']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Pesca_peixefundeio\x94', '100']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Pesca_peixelinha\x94', '50']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Pesca_peixetarrafa\x94', '50']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Turismo_educacao\x94', '50']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Turismo_gastronomia\x94', '100']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Turismo_marinasaidas\x94', '100']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Turismo_mergulhoabrigo\x94', '50']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Turismo_passeiobarco\x94', '50']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Turismo_pescarecesp\x94', '50']

02/01/2019 12:06:37 invest_natcap.habitat_risk.preprocessor DEBUG ['\x93Turismo_pontosturismo\x94', '50']

02/01/2019 12:06:37 root ERROR ---------------------------------------------------

02/01/2019 12:06:37 root ERROR ---------------------- ERROR ----------------------

02/01/2019 12:06:37 root ERROR ---------------------------------------------------

02/01/2019 12:06:37 root ERROR Error: exception found while running hra

02/01/2019 12:06:37 root DEBUG

02/01/2019 12:06:37 root DEBUG Build details

02/01/2019 12:06:37 root DEBUG Interpreter

02/01/2019 12:06:37 root DEBUG Current temp dir: C:\InVEST_3.4.4.post287+h0f8d27aa3bae_x86\HabitatRiskAssess_Babitonga\tmp

02/01/2019 12:06:37 root DEBUG tempfile.tempdir: C:\InVEST_3.4.4.post287+h0f8d27aa3bae_x86\HabitatRiskAssess_Babitonga\tmp

02/01/2019 12:06:37 root DEBUG

02/01/2019 12:06:37 root DEBUG System

02/01/2019 12:06:37 root DEBUG OS : Windows-8-6.2.9200

02/01/2019 12:06:37 root DEBUG Processor architecture: AMD64

02/01/2019 12:06:37 root DEBUG FS encoding : mbcs

02/01/2019 12:06:37 root DEBUG

02/01/2019 12:06:37 root DEBUG Python

02/01/2019 12:06:37 root DEBUG Version : 2.7.9

02/01/2019 12:06:37 root DEBUG Build : ('default', 'Dec 10 2014 12:24:55')

02/01/2019 12:06:37 root DEBUG Compiler : MSC v.1500 32 bit (Intel)

02/01/2019 12:06:37 root DEBUG Implementation : CPython

02/01/2019 12:06:37 root DEBUG Architecture : 32bit

02/01/2019 12:06:37 root DEBUG Linkage format : WindowsPE

02/01/2019 12:06:37 root DEBUG

02/01/2019 12:06:37 root DEBUG Packages

02/01/2019 12:06:37 root DEBUG Cython : ?

02/01/2019 12:06:37 root DEBUG Numpy : 1.8.1

02/01/2019 12:06:37 root DEBUG Scipy : 0.15.1

02/01/2019 12:06:37 root DEBUG OSGEO : 1.10.1

02/01/2019 12:06:37 root DEBUG Shapely : 1.5.5

02/01/2019 12:06:38 root DEBUG InVEST : 3.1.3

02/01/2019 12:06:38 root DEBUG

02/01/2019 12:06:38 root DEBUG

02/01/2019 12:06:38 root DEBUG Exception not environment-related

02/01/2019 12:06:38 root DEBUG Printing traceback

Traceback (most recent call last):

File "invest_natcap\iui\executor.pyc", line 553, in runModel

File "invest_natcap\habitat_risk_assessment\hra.pyc", line 257, in execute

File "invest_natcap\habitat_risk_assessment\hra.pyc", line 1170, in unpack_over_dict

File "invest_natcap\habitat_risk_assessment\hra_preprocessor.pyc", line 582, in parse_hra_tables

File "invest_natcap\habitat_risk_assessment\hra_preprocessor.pyc", line 841, in parse_overlaps

IndexError: list index out of range

None


02/01/2019 12:06:38 root ERROR Exiting due to failures



then the red label reads:

IndexError encountered: list index out of range


Any thoughts?


Many thanks,


Daniele

Comments

Sign In or Register to comment.