2021-09-20 20:15:48,299 utils.prepare_workspace(123) INFO Writing log messages to C:/Users/benga/OneDrive/Desktop\InVEST-Habitat-Risk-Assessment-log-2021-09-20--20_15_48.txt 2021-09-20 20:15:48,304 model._logged_target(1646) Level 100 Starting model with parameters: Arguments for InVEST natcap.invest.hra 3.9.0: aoi_vector_path C:/Users/benga/OneDrive/Desktop/PhD/Phase 1/Geospatial data/Area of interest/Malaysia.shp criteria_table_path C:/Users/benga/OneDrive/Desktop/PhD/Phase 1/Geospatial data/CSV files/Criteria scores.csv decay_eq Linear info_table_path C:/Users/benga/OneDrive/Desktop/PhD/Phase 1/Geospatial data/CSV files/Habitat and stressor information .csv max_rating 3 n_workers -1 resolution 1000 results_suffix risk_eq Euclidean visualize_outputs True workspace_dir C:/Users/benga/OneDrive/Desktop 2021-09-20 20:15:48,319 hra.execute(224) INFO Validating arguments 2021-09-20 20:15:48,319 validation._wrapped_validate_func(911) DEBUG Using ARG_SPEC for validation 2021-09-20 20:15:48,319 validation._wrapped_validate_func(915) INFO Starting whole-model validation with ARGS_SPEC 2021-09-20 20:15:48,320 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-09-20 20:15:48,322 validation.timeout(637) DEBUG File checking thread completed. 2021-09-20 20:15:48,323 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-09-20 20:15:48,330 validation.timeout(637) DEBUG File checking thread completed. 2021-09-20 20:15:48,331 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-09-20 20:15:48,368 validation.timeout(637) DEBUG File checking thread completed. 2021-09-20 20:15:48,368 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-09-20 20:15:48,380 validation.timeout(637) DEBUG File checking thread completed. 2021-09-20 20:15:48,381 validation._wrapped_validate_func(962) DEBUG Validation warnings: [] 2021-09-20 20:15:48,381 hra.execute(230) INFO Validating criteria table file and return cleaned dataframe. 2021-09-20 20:15:48,393 hra._get_criteria_dataframe(2624) INFO Criteria dataframe was created successfully. 2021-09-20 20:15:48,654 hra._get_attributes_from_df(2694) DEBUG resilience_attributes: ['recruitment rate', 'natural mortality rate', 'connectivity rate', 'recovery time'] 2021-09-20 20:15:48,654 hra._get_attributes_from_df(2720) DEBUG stressor_attributes: {'Roads': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness ', 'intensity rating '], 'MIN': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness ', 'intensity rating '], 'OPL': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness ', 'intensity rating '], 'SET': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness ', 'intensity rating '], 'DCL': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness ', 'intensity rating '], 'BRL': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness ', 'intensity rating ']} 2021-09-20 20:15:48,724 hra._get_recovery_dataframe(3082) INFO Recovery dataframe was created successfully. 2021-09-20 20:15:48,729 hra._get_overlap_dataframe(2864) DEBUG multi_index: MultiIndex([('UDF', 'Roads'), ('UDF', 'MIN'), ('UDF', 'OPL'), ('UDF', 'SET'), ('UDF', 'DCL'), ('UDF', 'BRL'), ('DIF', 'Roads'), ('DIF', 'MIN'), ('DIF', 'OPL'), ('DIF', 'SET'), ('DIF', 'DCL'), ('DIF', 'BRL'), ('SCH', 'Roads'), ('SCH', 'MIN'), ('SCH', 'OPL'), ('SCH', 'SET'), ('SCH', 'DCL'), ('SCH', 'BRL'), ('GRS', 'Roads'), ('GRS', 'MIN'), ('GRS', 'OPL'), ('GRS', 'SET'), ('GRS', 'DCL'), ('GRS', 'BRL'), ('USF', 'Roads'), ('USF', 'MIN'), ('USF', 'OPL'), ('USF', 'SET'), ('USF', 'DCL'), ('USF', 'BRL'), ('DSF', 'Roads'), ('DSF', 'MIN'), ('DSF', 'OPL'), ('DSF', 'SET'), ('DSF', 'DCL'), ('DSF', 'BRL'), ('SSH', 'Roads'), ('SSH', 'MIN'), ('SSH', 'OPL'), ('SSH', 'SET'), ('SSH', 'DCL'), ('SSH', 'BRL'), ('SGR', 'Roads'), ('SGR', 'MIN'), ('SGR', 'OPL'), ('SGR', 'SET'), ('SGR', 'DCL'), ('SGR', 'BRL'), ('TPL', 'Roads'), ('TPL', 'MIN'), ('TPL', 'OPL'), ('TPL', 'SET'), ('TPL', 'DCL'), ('TPL', 'BRL'), ('MTC', 'Roads'), ('MTC', 'MIN'), ('MTC', 'OPL'), ('MTC', 'SET'), ('MTC', 'DCL'), ('MTC', 'BRL'), ('RCF', 'Roads'), ('RCF', 'MIN'), ('RCF', 'OPL'), ('RCF', 'SET'), ('RCF', 'DCL'), ('RCF', 'BRL'), ('UDM', 'Roads'), ('UDM', 'MIN'), ('UDM', 'OPL'), ('UDM', 'SET'), ('UDM', 'DCL'), ('UDM', 'BRL'), ('DIM', 'Roads'), ('DIM', 'MIN'), ('DIM', 'OPL'), ('DIM', 'SET'), ('DIM', 'DCL'), ('DIM', 'BRL'), ('WAB', 'Roads'), ('WAB', 'MIN'), ('WAB', 'OPL'), ('WAB', 'SET'), ('WAB', 'DCL'), ('WAB', 'BRL')], names=['HABITAT', 'STRESSOR']) 2021-09-20 20:15:50,130 model._logged_target(1652) ERROR Exception while executing Traceback (most recent call last): File "site-packages\natcap\invest\ui\model.py", line 1649, in _logged_target File "site-packages\natcap\invest\hra.py", line 273, in execute File "site-packages\natcap\invest\hra.py", line 2984, in _get_overlap_dataframe ValueError: The following stressor-habitat pair(s) do not have at least one exposure rating: [('RCF', 'Roads'), ('RCF', 'MIN'), ('RCF', 'OPL'), ('RCF', 'SET'), ('RCF', 'DCL'), ('RCF', 'BRL'), ('UDM', 'Roads'), ('UDM', 'MIN'), ('UDM', 'OPL'), ('UDM', 'SET'), ('UDM', 'DCL'), ('UDM', 'BRL'), ('DIM', 'Roads'), ('DIM', 'MIN'), ('DIM', 'OPL'), ('DIM', 'SET'), ('DIM', 'DCL'), ('DIM', 'BRL'), ('WAB', 'Roads'), ('WAB', 'MIN'), ('WAB', 'OPL'), ('WAB', 'SET'), ('WAB', 'DCL'), ('WAB', 'BRL')] 2021-09-20 20:15:50,130 model._logged_target(1655) INFO Execution finished 2021-09-20 20:15:50,132 utils.prepare_workspace(129) INFO Elapsed time: 1.83s