2020-07-03 08:48:28,355 utils.prepare_workspace(109) INFO Writing log messages to C:\Users\Maria Bastos\Desktop\InVEST-HRA_03jul2020\InVEST-Habitat-Risk-Assessment-log-2020-07-03--08_48_28.txt 2020-07-03 08:48:28,364 model._logged_target(1633) Level 100 Starting model with parameters: Arguments for InVEST natcap.invest.hra 3.7.0: aoi_vector_path C:/Users/Maria Bastos/Desktop/InVEST-HRA_03jul2020/Input/AOI.shp criteria_table_path C:/Users/Maria Bastos/Desktop/InVEST-HRA_03jul2020/exposure_consequence_criteria.csv decay_eq Linear info_table_path C:/Users/Maria Bastos/Desktop/InVEST-HRA_03jul2020/habitat_stressor_info.csv max_rating 3 n_workers -1 resolution 1000 results_suffix Tentativa01_03jul risk_eq Euclidean visualize_outputs False workspace_dir C:\Users\Maria Bastos\Desktop\InVEST-HRA_03jul2020 2020-07-03 08:48:28,747 hra.execute(111) INFO Validating arguments 2020-07-03 08:48:28,753 validation._wrapped_validate_func(148) DEBUG Validation warnings: [] 2020-07-03 08:48:28,753 hra.execute(120) INFO Validating criteria table file and return cleaned dataframe. 2020-07-03 08:48:28,783 hra._get_criteria_dataframe(2496) INFO Criteria dataframe was created successfully. 2020-07-03 08:48:30,941 hra._get_attributes_from_df(2566) DEBUG resilience_attributes: ['recruitment rate', 'natural mortality rate', 'connectivity rate', 'recovery time'] 2020-07-03 08:48:30,941 hra._get_attributes_from_df(2592) DEBUG stressor_attributes: {'OtherIND': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'EST': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'SEVESO_ind': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'ETAR': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'Marinas_AVR': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'AUTOEST': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'PORTOPESC_AV': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'COMBOIO': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'PORTO_AV': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'VND_COMB': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating'], 'AQUAC': ['frequency of disturbance', 'change in area rating', 'change in structure rating', 'temporal overlap rating', 'management effectiveness', 'intensity rating']} 2020-07-03 08:48:30,994 hra._validate_rating(2635) WARNING "recruitment rate" for habitat InMarshes has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-07-03 08:48:30,997 hra._validate_rating(2635) WARNING "natural mortality rate" for habitat InMarshes has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-07-03 08:48:31,016 hra._validate_rating(2635) WARNING "recruitment rate" for habitat Salines has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-07-03 08:48:31,017 hra._validate_rating(2635) WARNING "natural mortality rate" for habitat Salines has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-07-03 08:48:31,028 hra._validate_rating(2635) WARNING "recruitment rate" for habitat IntFlats has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-07-03 08:48:31,029 hra._validate_rating(2635) WARNING "natural mortality rate" for habitat IntFlats has a rating 0.0 less than 1, so this criteria attribute is ignored in calculation. 2020-07-03 08:48:31,036 hra._get_recovery_dataframe(2958) INFO Recovery dataframe was created successfully. 2020-07-03 08:48:31,049 hra._get_overlap_dataframe(2738) DEBUG multi_index: MultiIndex(levels=[[u'AOcean', u'CLagoon', u'InMarshes', u'IntFlats', u'Salines', u'SaltMarshes', u'WBodies', u'WCourses'], [u'AQUAC', u'AUTOEST', u'COMBOIO', u'EST', u'ETAR', u'Marinas_AVR', u'OtherIND', u'PORTOPESC_AV', u'PORTO_AV', u'SEVESO_ind', u'VND_COMB']], codes=[[7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], [6, 3, 9, 4, 5, 1, 7, 2, 8, 10, 0, 6, 3, 9, 4, 5, 1, 7, 2, 8, 10, 0, 6, 3, 9, 4, 5, 1, 7, 2, 8, 10, 0, 6, 3, 9, 4, 5, 1, 7, 2, 8, 10, 0, 6, 3, 9, 4, 5, 1, 7, 2, 8, 10, 0, 6, 3, 9, 4, 5, 1, 7, 2, 8, 10, 0, 6, 3, 9, 4, 5, 1, 7, 2, 8, 10, 0, 6, 3, 9, 4, 5, 1, 7, 2, 8, 10, 0]], names=[u'HABITAT', u'STRESSOR']) 2020-07-03 08:48:34,697 hra._get_overlap_dataframe(2863) INFO Overlap dataframe was created successfully. 2020-07-03 08:48:34,700 hra.execute(190) INFO Target projection from AOI: Transverse_Mercator. EPSG: None. Linear unit: 1.0. 2020-07-03 08:48:34,700 hra._has_field_name(1290) INFO The name field is not provided in the vector. 2020-07-03 08:48:34,700 hra.execute(215) INFO Simplifying AOI vector without subregion field. 2020-07-03 08:48:35,250 hra.execute(229) INFO Rasterizing AOI vector. 2020-07-03 08:48:35,607 hra.execute(300) INFO Rasterizing WCourses vector. 2020-07-03 08:48:36,434 hra.execute(300) INFO Rasterizing WBodies vector. 2020-07-03 08:48:37,134 hra.execute(300) INFO Rasterizing CLagoon vector. 2020-07-03 08:48:37,811 hra.execute(300) INFO Rasterizing AOcean vector. 2020-07-03 08:48:38,565 hra.execute(300) INFO Rasterizing InMarshes vector. 2020-07-03 08:48:39,459 hra.execute(300) INFO Rasterizing SaltMarshes vector. 2020-07-03 08:48:40,302 hra.execute(300) INFO Rasterizing Salines vector. 2020-07-03 08:48:40,980 hra.execute(300) INFO Rasterizing IntFlats vector. 2020-07-03 08:48:41,693 hra.execute(300) INFO Rasterizing SEVESO_ind vector. 2020-07-03 08:48:42,424 hra.execute(300) INFO Rasterizing ETAR vector. 2020-07-03 08:48:43,135 hra.execute(300) INFO Rasterizing OtherIND vector. 2020-07-03 08:48:43,877 hra.execute(300) INFO Rasterizing VND_COMB vector. 2020-07-03 08:48:44,970 hra.execute(300) INFO Rasterizing PORTO_AV vector. 2020-07-03 08:48:45,740 hra.execute(300) INFO Rasterizing PORTOPESC_AV vector. 2020-07-03 08:48:46,523 hra.execute(300) INFO Rasterizing Marinas_AVR vector. 2020-07-03 08:48:47,339 hra.execute(300) INFO Rasterizing AQUAC vector. 2020-07-03 08:48:47,378 Task.add_task(636) ERROR Something went wrong when adding task simplify_AQUAC_vector (48), 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\natcap\invest\hra.py", line 3027, in _simplify_geometry AttributeError: 'NoneType' object has no attribute 'SimplifyPreserveTopology' 2020-07-03 08:48:47,378 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 309, 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\natcap\invest\hra.py", line 3027, in _simplify_geometry AttributeError: 'NoneType' object has no attribute 'SimplifyPreserveTopology' 2020-07-03 08:48:47,380 model._logged_target(1642) INFO Execution finished 2020-07-03 08:48:47,381 utils.prepare_workspace(115) INFO Elapsed time: 19.03s