Error in Habitat risk assessment model run

ecohydecohyd Member
edited November 28 in Pre/Post-Processing
Dear Sir/Madam,
Good day. I was trying to run the habitat risk assessment model. When I run the model, I got a key error encountered called "roadOVERLAP". I am attaching you the data also.Please see below the details:

Initializing...

Showing messages with level INFO and higher

11/28/2018 09:35:15 natcap.invest.utils INFO Writing log messages to C:\Users\ecohyd\Desktop\CEGIS\LGED-Sunamgang project\HabitatRiskAssess\InVEST-Habitat-Risk-Assessment-log-2018-11-28--09_35_15.txt

11/28/2018 09:35:15 natcap.invest.ui.model Level 100 Starting model with parameters:

Arguments for InVEST natcap.invest.habitat_risk_assessment.hra 3.5.0:

aoi_tables C:/Users/ecohyd/Desktop/CEGIS/LGED-Sunamgang project/HabitatRiskAssess/Input/subregion.shp

csv_uri C:\Users\ecohyd\Desktop\CEGIS\LGED-Sunamgang project\habitat_stressor_ratings

decay_eq None

grid_size 100

max_rating 3

max_stress 2

results_suffix

risk_eq Euclidean

workspace_dir C:\Users\ecohyd\Desktop\CEGIS\LGED-Sunamgang project\HabitatRiskAssess


11/28/2018 09:35:17 natcap.invest.habitat_risk_assessment.hra INFO Rasterizing shapefile layers.

11/28/2018 09:35:17 natcap.invest.pygeoprocessing_0_3_3.geoprocessing_cython INFO Distance Transform Phase 1

11/28/2018 09:35:17 natcap.invest.pygeoprocessing_0_3_3.geoprocessing_cython INFO Distance Transform Phase 2

11/28/2018 09:35:19 natcap.invest.pygeoprocessing_0_3_3.geoprocessing_cython INFO Distance Transform Phase 1

11/28/2018 09:35:19 natcap.invest.pygeoprocessing_0_3_3.geoprocessing_cython INFO Distance Transform Phase 2

11/28/2018 09:35:19 natcap.invest.ui.model ERROR Exception while executing <function execute at 0x13CE03F0>

Traceback (most recent call last):

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\ui\model.py", line 1541, in _logged_target

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\habitat_risk_assessment\hra.py", line 417, in execute

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\habitat_risk_assessment\hra.py", line 535, in make_add_overlap_rasters

KeyError: 'roadOVERLAP'

11/28/2018 09:35:19 natcap.invest.ui.model INFO Execution finished

11/28/2018 09:35:19 natcap.invest.utils INFO Elapsed time: 4.38s

11/28/2018 09:35:20 natcap.invest.ui.execution ERROR Target <function _logged_target at 0x13CE0C70> failed with exception

Traceback (most recent call last):

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\ui\execution.py", line 68, in run

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\ui\model.py", line 1541, in _logged_target

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\habitat_risk_assessment\hra.py", line 417, in execute

File "C:\Users\natcap-servers\jenkins-home\workspace\natcap.invest\label\GCE-windows-1\env\lib\site-packages\natcap\invest\habitat_risk_assessment\hra.py", line 535, in make_add_overlap_rasters

KeyError: 'roadOVERLAP'

11/28/2018 09:35:20 natcap.invest.ui.execution INFO Execution finished


Please help me. thanks for your cooperation.


Kind regards

Sohel




Post edited by ecohyd on
This discussion has been closed.