2021-05-23 23:56:24,348 utils.prepare_workspace(123) INFO Writing log messages to C:/Users/alber/OneDrive/Desktop/Salidas CV - Escenarios/Modelo Actual r250\InVEST-Coastal-Vulnerability-log-2021-05-23--23_56_24.txt 2021-05-23 23:56:24,349 model._logged_target(1646) Level 100 Starting model with parameters: Arguments for InVEST natcap.invest.coastal_vulnerability 3.9.0: aoi_vector_path C:/Users/alber/OneDrive/Desktop/Tesis/CV_Montecristi/aoi_montecristi/aoi2.shp bathymetry_raster_path C:/Users/alber/OneDrive/Desktop/Tesis/CV_Montecristi/batimetria/Batimetria_RD.tif dem_averaging_radius 2000 dem_path C:/Users/alber/OneDrive/Desktop/Tesis/CV_Montecristi/DEM_Montecristi/DTM.tif geomorphology_fill_value 1 geomorphology_vector_path C:/Users/alber/OneDrive/Desktop/Tesis/CV_Montecristi/Geomorfologia_vector/geomorfologia_vector.shp habitat_table_path C:/Users/alber/OneDrive/Desktop/Tesis/CV_Montecristi/Montecristi_Manglares/Habitats.csv landmass_vector_path C:/Users/alber/OneDrive/Desktop/Tesis/CV_Montecristi/Capas BV/Landmass_BV.shp max_fetch_distance 12000 model_resolution 250 n_workers -1 population_radius population_raster_path results_suffix actual_r250 shelf_contour_vector_path C:/Users/alber/OneDrive/Desktop/Tesis/CV_Montecristi/continentalshelfcontour/continentalshelfcontour_RD.shp slr_field UNKNOWN slr_vector_path workspace_dir C:/Users/alber/OneDrive/Desktop/Salidas CV - Escenarios/Modelo Actual r250 wwiii_vector_path C:/Users/alber/OneDrive/Desktop/Tesis/CV_Montecristi/WW3/WaveWatchIII_global.shp 2021-05-23 23:56:24,349 coastal_vulnerability.execute(285) INFO Validating arguments 2021-05-23 23:56:24,349 validation._wrapped_validate_func(911) DEBUG Using ARG_SPEC for validation 2021-05-23 23:56:24,349 validation._wrapped_validate_func(915) INFO Starting whole-model validation with ARGS_SPEC 2021-05-23 23:56:24,350 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-23 23:56:24,375 validation.timeout(637) DEBUG File checking thread completed. 2021-05-23 23:56:24,376 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-23 23:56:24,391 validation.timeout(637) DEBUG File checking thread completed. 2021-05-23 23:56:24,391 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-23 23:56:24,393 validation.timeout(637) DEBUG File checking thread completed. 2021-05-23 23:56:24,394 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-23 23:56:24,407 validation.timeout(637) DEBUG File checking thread completed. 2021-05-23 23:56:24,407 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-23 23:56:24,412 validation.timeout(637) DEBUG File checking thread completed. 2021-05-23 23:56:24,412 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-23 23:56:24,426 validation.timeout(637) DEBUG File checking thread completed. 2021-05-23 23:56:24,426 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-23 23:56:24,441 validation.timeout(637) DEBUG File checking thread completed. 2021-05-23 23:56:24,441 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-23 23:56:24,461 validation.timeout(637) DEBUG File checking thread completed. 2021-05-23 23:56:24,461 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-23 23:56:24,472 validation.timeout(637) DEBUG File checking thread completed. 2021-05-23 23:56:24,512 validation._wrapped_validate_func(962) DEBUG Validation warnings: [] 2021-05-23 23:56:24,728 geoprocessing.reproject_vector(1711) INFO starting reprojection 2021-05-23 23:56:24,730 geoprocessing.reproject_vector(1754) INFO reprojection 100.0% complete on clipped_projected_landmass_actual_r250.gpkg 2021-05-23 23:56:24,754 coastal_vulnerability.warp_and_mask_bathymetry(1718) INFO Masking positive values from bathymetry 2021-05-23 23:56:24,773 coastal_vulnerability.clip_and_project_raster(2446) WARNING C:/Users/alber/OneDrive/Desktop/Tesis/CV_Montecristi/batimetria/Batimetria_RD.tif is unprojected and will be warped to match the AOI and resampled to a pixel size of 250 meters 2021-05-23 23:56:24,786 geoprocessing.warp_raster(1922) DEBUG transforming bounding box from [-71.99110048427767, 19.403657387763964, -70.99943381761099, 20.10782405443063] 2021-05-23 23:56:24,787 geoprocessing.warp_raster(1927) DEBUG transforming bounding to [185841.92319289548, 2146709.6623023017, 290958.9291077618, 2226221.758352634] 2021-05-23 23:56:24,814 geoprocessing.raster_calculator(391) INFO starting stats_worker 2021-05-23 23:56:24,815 threading.run(870) DEBUG stats worker PID: 4540 2021-05-23 23:56:24,815 geoprocessing.raster_calculator(397) INFO started stats_worker 2021-05-23 23:56:24,835 geoprocessing.raster_calculator(477) INFO 100.0% complete 2021-05-23 23:56:24,835 geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result. 2021-05-23 23:56:24,850 coastal_vulnerability.prepare_landmass_line_index_and_interpolate_shore_points(630) INFO preparing landmass geometry and interpolating shore points 2021-05-23 23:56:24,876 coastal_vulnerability.prepare_landmass_line_index_and_interpolate_shore_points(686) INFO indexing geometry of landmass and creating shore points 2021-05-23 23:56:25,521 coastal_vulnerability.prepare_landmass_line_index_and_interpolate_shore_points(756) INFO Finished creating 892 shore points in AOI 2021-05-23 23:56:25,579 coastal_vulnerability.interpolate_wwiii_to_shore(790) INFO Building spatial index for Wave Watch III points 2021-05-23 23:56:30,342 coastal_vulnerability.interpolate_wwiii_to_shore(836) INFO Interpolating Wave Watch III data to shore points 2021-05-23 23:56:31,084 coastal_vulnerability.interpolate_wwiii_to_shore(893) INFO Finished interpolating Wave Watch III data to shore points 2021-05-23 23:56:31,096 coastal_vulnerability.calculate_wind_exposure(1039) INFO Calculating wind exposure 2021-05-23 23:56:38,565 coastal_vulnerability.calculate_wind_exposure(1101) INFO Casting rays and extracting bathymetry values 2021-05-23 23:56:43,582 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 20.52% complete. 2021-05-23 23:56:48,595 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 41.48% complete. 2021-05-23 23:56:53,613 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 60.76% complete. 2021-05-23 23:56:58,622 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 79.15% complete. 2021-05-23 23:57:03,686 coastal_vulnerability.calculate_wind_exposure(1243) INFO Finished calculating wind exposure 2021-05-23 23:57:03,702 coastal_vulnerability.calculate_wave_exposure(1422) INFO Calculating wave exposure 2021-05-23 23:57:11,335 coastal_vulnerability.calculate_wave_exposure(1529) INFO Finished calculating wave exposure 2021-05-23 23:57:11,356 coastal_vulnerability.calculate_surge_exposure(1548) INFO Calculating surge potential 2021-05-23 23:57:13,924 coastal_vulnerability.calculate_surge_exposure(1618) INFO Finished calculating surge potential 2021-05-23 23:57:14,146 coastal_vulnerability.calculate_relief_exposure(1642) INFO Calculating relief exposure 2021-05-23 23:57:15,083 geoprocessing.warp_raster(1922) DEBUG transforming bounding box from [200161.65637942497, 2177679.82054134, 265274.15637942497, 2206792.32054134] 2021-05-23 23:57:15,084 geoprocessing.warp_raster(1927) DEBUG transforming bounding to [200161.65637942497, 2177679.82054134, 265274.15637942497, 2206792.32054134] 2021-05-23 23:57:16,132 geoprocessing.raster_calculator(391) INFO starting stats_worker 2021-05-23 23:57:16,133 threading.run(870) DEBUG stats worker PID: 4540 2021-05-23 23:57:16,133 geoprocessing.raster_calculator(397) INFO started stats_worker 2021-05-23 23:57:16,394 geoprocessing.raster_calculator(477) INFO 100.0% complete 2021-05-23 23:57:16,395 geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result. 2021-05-23 23:57:16,604 coastal_vulnerability._aggregate_raster_values_in_radius(2566) DEBUG C:/Users/alber/OneDrive/Desktop/Salidas CV - Escenarios/Modelo Actual r250\intermediate\relief\positive_dem_actual_r250.tif nodata value: -3.4028234663852886e+38 2021-05-23 23:57:16,701 coastal_vulnerability._aggregate_raster_values_in_radius(2639) WARNING search radius around point (215311.628954, 2179679.820541) extends beyond bounds of raster C:/Users/alber/OneDrive/Desktop/Salidas CV - Escenarios/Modelo Actual r250\intermediate\relief\positive_dem_actual_r250.tif 2021-05-23 23:57:17,028 coastal_vulnerability.calculate_relief_exposure(1672) INFO Finished calculating relief exposure 2021-05-23 23:57:17,044 coastal_vulnerability.search_for_habitat(1866) INFO Searching for Manglares within 2000 meters of shore points 2021-05-23 23:57:17,068 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 215420 2180619.7116999999 2021-05-23 23:57:17,090 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 214020 2184819.7116999999 2021-05-23 23:57:17,096 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 214700 2185579.7116999999 2021-05-23 23:57:17,104 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 213240 2188579.7116999999 2021-05-23 23:57:17,121 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 212780 2189439.7116999999 2021-05-23 23:57:17,138 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 242250 2201969.7116999999 2021-05-23 23:57:17,158 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 227890 2202689.7116999999 2021-05-23 23:57:17,170 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 254620 2196439.7116999999 2021-05-23 23:57:17,186 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 253550 2196859.7116999999 2021-05-23 23:57:17,195 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 224380 2199879.7116999999 2021-05-23 23:57:17,201 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 226680 2200359.7116999999 2021-05-23 23:57:17,250 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 215620 2179279.7116999999 2021-05-23 23:57:17,263 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 216720 2180479.7116999999 2021-05-23 23:57:17,271 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 218520 2178939.7116999999 2021-05-23 23:57:17,317 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 215160 2186719.7116999999 2021-05-23 23:57:17,325 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 212680 2187369.7116999999 2021-05-23 23:57:17,336 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 210290 2189739.7116999999 2021-05-23 23:57:17,348 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 214060 2191399.7116999999 2021-05-23 23:57:17,361 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 239040 2203199.7116999999 2021-05-23 23:57:17,392 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 260500 2194939.7116999999 2021-05-23 23:57:17,729 coastal_vulnerability.search_for_habitat(1975) INFO Finished searching for Manglares in proximity to shore points 2021-05-23 23:57:17,746 coastal_vulnerability.calculate_habitat_rank(2005) INFO Manglares: found protecting 649 shore points 2021-05-23 23:57:17,785 geoprocessing.reproject_vector(1711) INFO starting reprojection 2021-05-23 23:57:17,873 geoprocessing.reproject_vector(1754) INFO reprojection 100.0% complete on geomorphology_projected_actual_r250.shp 2021-05-23 23:57:17,886 coastal_vulnerability.calculate_geomorphology_exposure(2065) INFO Assigning geomorphology rank 2021-05-23 23:57:17,892 coastal_vulnerability.calculate_geomorphology_exposure(2070) INFO Build spatial index of geomorphology segments 2021-05-23 23:57:18,000 coastal_vulnerability.calculate_geomorphology_exposure(2110) INFO searching for geomorphology in point buffers 2021-05-23 23:57:18,181 coastal_vulnerability.calculate_geomorphology_exposure(2154) INFO Finished assigning geomorphology rank 2021-05-23 23:57:18,188 coastal_vulnerability.assemble_results_and_calculate_exposure(2193) INFO Assembling exposure variables 2021-05-23 23:57:18,974 coastal_vulnerability.calculate_final_risk(2304) INFO calculating final risk scores 2021-05-23 23:57:19,553 model._logged_target(1655) INFO Execution finished 2021-05-23 23:57:19,555 utils.prepare_workspace(129) INFO Elapsed time: 55.21s