2020-01-10 12:42:39,789 utils.prepare_workspace(109) INFO Writing log messages to G:\PE - Staff\STRL\InVEST\Logistics Park Testing\InVEST-Habitat-Risk-Assessment-log-2020-01-10--12_42_39.txt 2020-01-10 12:42:39,793 model._logged_target(1633) Level 100 Starting model with parameters: Arguments for InVEST natcap.invest.hra 3.7.0: aoi_vector_path G:/PE - Staff/STRL/InVEST/Logistics Park Testing/SHP/Extent_projected.shp criteria_table_path G:/PE - Staff/STRL/InVEST/Logistics Park Testing/exposure_consequence_criteria.csv decay_eq Exponential info_table_path G:/PE - Staff/STRL/InVEST/Logistics Park Testing/habitat_stressor_info.csv max_rating 3 n_workers -1 resolution 1 results_suffix _jachtvlakte test risk_eq Multiplicative visualize_outputs True workspace_dir G:\PE - Staff\STRL\InVEST\Logistics Park Testing 2020-01-10 12:42:39,816 hra.execute(111) INFO Validating arguments 2020-01-10 12:42:39,845 validation._wrapped_validate_func(148) DEBUG Validation warnings: [] 2020-01-10 12:42:39,947 hra.execute(120) INFO Validating criteria table file and return cleaned dataframe. 2020-01-10 12:42:39,967 hra._get_criteria_dataframe(2496) INFO Criteria dataframe was created successfully. 2020-01-10 12:42:40,342 hra._get_attributes_from_df(2566) DEBUG resilience_attributes: ['recruitment rate', 'natural mortality rate', 'connectivity rate', 'recovery time'] 2020-01-10 12:42:40,344 hra._get_attributes_from_df(2592) DEBUG stressor_attributes: {'Urban': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'Dumping': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'Industry': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'Electrical': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'Roads': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'Erosion': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'Pollutants': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating']} 2020-01-10 12:42:40,384 hra._get_recovery_dataframe(2958) INFO Recovery dataframe was created successfully. 2020-01-10 12:42:40,388 hra._get_overlap_dataframe(2738) DEBUG multi_index: MultiIndex(levels=[[u'Aloe_bowiea', u'Euphorbia_globosa', u'Karroid', u'Riparian', u'Thicket'], [u'Dumping', u'Electrical', u'Erosion', u'Industry', u'Pollutants', u'Roads', u'Urban']], codes=[[2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1], [6, 0, 3, 1, 5, 2, 4, 6, 0, 3, 1, 5, 2, 4, 6, 0, 3, 1, 5, 2, 4, 6, 0, 3, 1, 5, 2, 4, 6, 0, 3, 1, 5, 2, 4]], names=[u'HABITAT', u'STRESSOR']) 2020-01-10 12:42:41,025 hra._validate_rating(2635) WARNING "frequency of disturbance" for habitat Aloe_bowiea and stressor Roads has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-01-10 12:42:41,030 hra._validate_rating(2635) WARNING "frequency of disturbance" for habitat Euphorbia_globosa and stressor Roads has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-01-10 12:42:41,052 hra._validate_rating(2635) WARNING "change in area rating" for habitat Aloe_bowiea and stressor Roads has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-01-10 12:42:41,059 hra._validate_rating(2635) WARNING "change in area rating" for habitat Euphorbia_globosa and stressor Roads has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-01-10 12:42:41,082 hra._validate_rating(2635) WARNING "change in structure rating" for habitat Aloe_bowiea and stressor Roads has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-01-10 12:42:41,088 hra._validate_rating(2635) WARNING "change in structure rating" for habitat Euphorbia_globosa and stressor Roads has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-01-10 12:42:41,112 hra._validate_rating(2635) WARNING "temporal overlap rating" for habitat Aloe_bowiea and stressor Roads has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-01-10 12:42:41,118 hra._validate_rating(2635) WARNING "temporal overlap rating" for habitat Euphorbia_globosa and stressor Roads has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-01-10 12:42:41,138 hra._validate_rating(2635) WARNING "management effectiveness" for habitat Aloe_bowiea and stressor Roads has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-01-10 12:42:41,145 hra._validate_rating(2635) WARNING "management effectiveness" for habitat Euphorbia_globosa and stressor Roads has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-01-10 12:42:41,168 hra._validate_rating(2635) WARNING "intensity rating" for habitat Aloe_bowiea and stressor Roads has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-01-10 12:42:41,177 hra._validate_rating(2635) WARNING "intensity rating" for habitat Euphorbia_globosa and stressor Roads has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-01-10 12:42:41,467 hra._get_overlap_dataframe(2863) INFO Overlap dataframe was created successfully. 2020-01-10 12:42:41,470 hra.execute(190) INFO Target projection from AOI: Transverse_Mercator. EPSG: 32735. Linear unit: 1.0. 2020-01-10 12:42:41,473 hra.execute(213) INFO Simplifying AOI vector while preserving field name. 2020-01-10 12:42:41,776 hra.execute(229) INFO Rasterizing AOI vector. 2020-01-10 12:42:41,785 hra._get_vector_geometries_by_field(1242) INFO Collecting geometries on field name. 2020-01-10 12:42:41,930 hra._create_rasters_from_geometries(1149) INFO Rasterizing geometries of field value Study Area. 2020-01-10 12:42:42,019 hra.execute(300) INFO Rasterizing Karroid vector. 2020-01-10 12:42:42,411 hra.execute(300) INFO Rasterizing Riparian vector. 2020-01-10 12:42:42,772 hra.execute(300) INFO Rasterizing Thicket vector. 2020-01-10 12:42:43,135 hra.execute(300) INFO Rasterizing Aloe_bowiea vector. 2020-01-10 12:42:43,503 hra.execute(300) INFO Rasterizing Euphorbia_globosa vector. 2020-01-10 12:42:43,940 hra.execute(300) INFO Rasterizing Dumping vector. 2020-01-10 12:42:44,345 hra.execute(300) INFO Rasterizing Electrical vector. 2020-01-10 12:42:44,582 geoprocessing.create_raster_from_vector_extents(978) WARNING 'NoneType' object has no attribute 'GetEnvelope' 2020-01-10 12:42:44,588 Task.add_task(636) ERROR Something went wrong when adding task create_raster_from_Electrical (22), terminating taskgraph. Traceback (most recent call last): File "Z:\opt\atlassian\pipelines\agent\build\env\lib\site-packages\taskgraph\Task.py", line 602, in add_task File "Z:\opt\atlassian\pipelines\agent\build\env\lib\site-packages\taskgraph\Task.py", line 1068, in _call File "Z:\opt\atlassian\pipelines\agent\build\env\lib\site-packages\pygeoprocessing\geoprocessing.py", line 989, in create_raster_from_vector_extents TypeError: 'NoneType' object has no attribute '__getitem__' 2020-01-10 12:42:44,592 model._logged_target(1639) ERROR Exception while executing Traceback (most recent call last): File "Z:\opt\atlassian\pipelines\agent\build\env\lib\site-packages\natcap\invest\ui\model.py", line 1636, in _logged_target File "Z:\opt\atlassian\pipelines\agent\build\env\lib\site-packages\natcap\invest\hra.py", line 342, in execute File "Z:\opt\atlassian\pipelines\agent\build\env\lib\site-packages\taskgraph\Task.py", line 602, in add_task File "Z:\opt\atlassian\pipelines\agent\build\env\lib\site-packages\taskgraph\Task.py", line 1068, in _call File "Z:\opt\atlassian\pipelines\agent\build\env\lib\site-packages\pygeoprocessing\geoprocessing.py", line 989, in create_raster_from_vector_extents TypeError: 'NoneType' object has no attribute '__getitem__' 2020-01-10 12:42:44,596 model._logged_target(1642) INFO Execution finished 2020-01-10 12:42:44,601 utils.prepare_workspace(115) INFO Elapsed time: 4.81s