2020-03-28 10:41:26,534 utils.prepare_workspace(115) INFO Writing log messages to C:/InVEST_3.8.0_x86/results2\InVEST-Coastal-Vulnerability-log-2020-03-28--10_41_26.txt 2020-03-28 10:41:26,534 model._logged_target(1642) Level 100 Starting model with parameters: Arguments for InVEST natcap.invest.coastal_vulnerability 3.8.0: aoi_vector_path D:/AOI/AOI_SUK.shp bathymetry_raster_path D:/SRTM/GEBCO_2019_26_Mar_2020_c562c8d91363/gebco_2019_n60.84960848093033_s48.07617008686066_w-13.037109375000014_e3.9550817012786723.tif dem_averaging_radius 5000 dem_path D:/SRTM/GEBCO_2019_26_Mar_2020_c562c8d91363/gebco_2019_n60.84960848093033_s48.07617008686066_w-13.037109375000014_e3.9550817012786723.tif geomorphology_fill_value 3 geomorphology_vector_path D:/geomorphology/Geology_Geomorphology_ErosionTrend/CEEUBG100kV2_1.shp habitat_table_path D:/natural_habitats/Natural_Habitats.csv landmass_vector_path D:/AOI/AOI_UK.shp max_fetch_distance 12000 model_resolution 1000 n_workers -1 population_radius 5000 population_raster_path D:/UK_population/0995e94d-6d42-40c1-8ed4-5090d82471e1/data/UK_residential_population_2011_1_km.asc results_suffix 2 shelf_contour_vector_path D:/InVEST_3.8.0_x86/sample_data/CoastalVulnerability/continental_shelf_polyline_global.shp slr_field hat_od slr_vector_path D:/SLR/data/Coastal_Design_Sea_Levels_Coastal_Flood_Boundary_Extreme_Sea_Levels.shp workspace_dir C:/InVEST_3.8.0_x86/results2 wwiii_vector_path D:/InVEST_3.8.0_x86/sample_data/CoastalVulnerability/WaveWatchIII_global.shp 2020-03-28 10:41:26,613 coastal_vulnerability.execute(285) INFO Validating arguments 2020-03-28 10:41:26,613 validation._wrapped_validate_func(839) DEBUG Using ARG_SPEC for validation 2020-03-28 10:41:26,613 validation._wrapped_validate_func(843) INFO Starting whole-model validation with ARGS_SPEC 2020-03-28 10:41:27,034 validation._wrapped_validate_func(887) DEBUG Validation warnings: [] 2020-03-28 10:44:01,145 geoprocessing.reproject_vector(1640) INFO starting reprojection 2020-03-28 10:44:01,278 geoprocessing.reproject_vector(1683) INFO reprojection 100.0% complete on clipped_projected_landmass_2.gpkg 2020-03-28 10:44:04,175 coastal_vulnerability.warp_and_mask_bathymetry(1749) INFO Masking positive values from bathymetry 2020-03-28 10:44:04,576 coastal_vulnerability.clip_and_project_raster(2468) WARNING D:/SRTM/GEBCO_2019_26_Mar_2020_c562c8d91363/gebco_2019_n60.84960848093033_s48.07617008686066_w-13.037109375000014_e3.9550817012786723.tif is unprojected and will be warped to match the AOI and resampled to a pixel size of 1000 meters 2020-03-28 10:44:04,580 geoprocessing.warp_raster(1841) DEBUG transforming bounding box from [-6.550395017541571, 49.57089175495009, 1.7871049824584206, 52.12505842161676] 2020-03-28 10:44:04,582 geoprocessing.warp_raster(1846) DEBUG transforming bounding to [-729186.6378475243, 6339746.874996966, 198939.61664139354, 6789018.783799871] 2020-03-28 10:44:04,944 geoprocessing.raster_calculator(375) INFO starting stats_worker 2020-03-28 10:44:04,946 geoprocessing.raster_calculator(381) INFO started stats_worker 2020-03-28 10:44:05,007 geoprocessing.raster_calculator(454) INFO 100.0%% complete 2020-03-28 10:44:05,007 geoprocessing.raster_calculator(457) INFO signaling stats worker to terminate 2020-03-28 10:44:05,007 geoprocessing.raster_calculator(459) INFO Waiting for raster stats worker result. 2020-03-28 10:44:05,008 threading.run(870) DEBUG payload is None, terminating 2020-03-28 10:44:05,126 coastal_vulnerability.prepare_landmass_line_index(627) INFO preparing landmass geometry 2020-03-28 10:44:53,550 coastal_vulnerability.prepare_landmass_line_index(680) INFO indexing geometry of landmass 2020-03-28 10:49:44,782 coastal_vulnerability.interpolate_shore_points(711) INFO creating shore points along edge of landmass 2020-03-28 10:53:28,374 coastal_vulnerability.interpolate_shore_points(796) INFO Finished creating 8687 shore points in AOI 2020-03-28 10:53:32,754 coastal_vulnerability.interpolate_wwiii_to_shore(826) INFO Building spatial index for Wave Watch III points 2020-03-28 10:53:35,296 utils._log_gdal_errors(72) WARNING [errno 1] Value '%@0$ "g/$X2:q1`4b!' of field WaveWatchIII_global.V_MAX_67 parsed incompletely to real 0. 2020-03-28 10:53:35,301 Task.add_task(641) ERROR Something went wrong when adding task interpolate wwiii to shore points (4), terminating taskgraph. TypeError: _log_gdal_errors() missing 3 required positional arguments: 'err_level', 'err_no', and 'err_msg' The above exception was the direct cause of the following exception: SystemError: PyEval_EvalFrameEx returned a result with an error set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "site-packages\taskgraph\Task.py", line 607, in add_task File "site-packages\taskgraph\Task.py", line 1071, in _call File "site-packages\natcap\invest\coastal_vulnerability.py", line 830, in interpolate_wwiii_to_shore File "site-packages\osgeo\ogr.py", line 2744, in __next__ File "site-packages\osgeo\ogr.py", line 1309, in GetNextFeature SystemError: returned a result with an error set 2020-03-28 10:53:35,303 model._logged_target(1648) ERROR Exception while executing TypeError: _log_gdal_errors() missing 3 required positional arguments: 'err_level', 'err_no', and 'err_msg' The above exception was the direct cause of the following exception: SystemError: PyEval_EvalFrameEx returned a result with an error set The above exception was the direct cause of the following exception: Traceback (most recent call last): File "site-packages\natcap\invest\ui\model.py", line 1645, in _logged_target File "site-packages\natcap\invest\coastal_vulnerability.py", line 422, in execute File "site-packages\taskgraph\Task.py", line 607, in add_task File "site-packages\taskgraph\Task.py", line 1071, in _call File "site-packages\natcap\invest\coastal_vulnerability.py", line 830, in interpolate_wwiii_to_shore File "site-packages\osgeo\ogr.py", line 2744, in __next__ File "site-packages\osgeo\ogr.py", line 1309, in GetNextFeature SystemError: returned a result with an error set 2020-03-28 10:53:35,305 model._logged_target(1651) INFO Execution finished 2020-03-28 10:53:35,310 utils.prepare_workspace(121) INFO Elapsed time: 12m 8.779999999999973s