2021-05-10 11:28:43,562 utils.prepare_workspace(123) INFO Writing log messages to C:/Users/alber/OneDrive/Desktop/Salidas CV - Escenarios/Modelo Actual r100\InVEST-Coastal-Vulnerability-log-2021-05-10--11_28_43.txt 2021-05-10 11:28:43,563 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 5000 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 100 n_workers -1 population_radius population_raster_path results_suffix r100 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 r100 wwiii_vector_path C:/Users/alber/OneDrive/Desktop/Tesis/CV_Montecristi/WW3/WaveWatchIII_global.shp 2021-05-10 11:28:43,563 coastal_vulnerability.execute(285) INFO Validating arguments 2021-05-10 11:28:43,564 validation._wrapped_validate_func(911) DEBUG Using ARG_SPEC for validation 2021-05-10 11:28:43,564 validation._wrapped_validate_func(915) INFO Starting whole-model validation with ARGS_SPEC 2021-05-10 11:28:43,564 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-10 11:28:43,570 validation.timeout(637) DEBUG File checking thread completed. 2021-05-10 11:28:43,570 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-10 11:28:43,581 validation.timeout(637) DEBUG File checking thread completed. 2021-05-10 11:28:43,581 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-10 11:28:43,600 validation.timeout(637) DEBUG File checking thread completed. 2021-05-10 11:28:43,600 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-10 11:28:43,616 validation.timeout(637) DEBUG File checking thread completed. 2021-05-10 11:28:43,616 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-10 11:28:43,627 validation.timeout(637) DEBUG File checking thread completed. 2021-05-10 11:28:43,628 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-10 11:28:43,647 validation.timeout(637) DEBUG File checking thread completed. 2021-05-10 11:28:43,647 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-10 11:28:43,651 validation.timeout(637) DEBUG File checking thread completed. 2021-05-10 11:28:43,651 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-10 11:28:43,665 validation.timeout(637) DEBUG File checking thread completed. 2021-05-10 11:28:43,665 validation.timeout(625) DEBUG Starting file checking thread with timeout=5 2021-05-10 11:28:43,685 validation.timeout(637) DEBUG File checking thread completed. 2021-05-10 11:28:43,727 validation._wrapped_validate_func(962) DEBUG Validation warnings: [] 2021-05-10 11:28:43,930 geoprocessing.reproject_vector(1711) INFO starting reprojection 2021-05-10 11:28:43,932 geoprocessing.reproject_vector(1754) INFO reprojection 100.0% complete on clipped_projected_landmass_r100.gpkg 2021-05-10 11:28:43,957 coastal_vulnerability.warp_and_mask_bathymetry(1718) INFO Masking positive values from bathymetry 2021-05-10 11:28:43,976 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 100 meters 2021-05-10 11:28:43,985 geoprocessing.warp_raster(1922) DEBUG transforming bounding box from [-71.98964193780631, 19.405034535875636, -71.00214193780631, 20.1092012025423] 2021-05-10 11:28:43,986 geoprocessing.warp_raster(1927) DEBUG transforming bounding to [185997.87179710768, 2146865.4220237234, 290677.53869257704, 2226371.573937348] 2021-05-10 11:28:44,061 geoprocessing.raster_calculator(391) INFO starting stats_worker 2021-05-10 11:28:44,063 threading.run(870) DEBUG stats worker PID: 6332 2021-05-10 11:28:44,063 geoprocessing.raster_calculator(397) INFO started stats_worker 2021-05-10 11:28:44,093 geoprocessing.raster_calculator(477) INFO 100.0% complete 2021-05-10 11:28:44,093 geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result. 2021-05-10 11:28:44,118 coastal_vulnerability.prepare_landmass_line_index_and_interpolate_shore_points(630) INFO preparing landmass geometry and interpolating shore points 2021-05-10 11:28:44,146 coastal_vulnerability.prepare_landmass_line_index_and_interpolate_shore_points(686) INFO indexing geometry of landmass and creating shore points 2021-05-10 11:28:44,906 coastal_vulnerability.prepare_landmass_line_index_and_interpolate_shore_points(756) INFO Finished creating 2212 shore points in AOI 2021-05-10 11:28:44,984 coastal_vulnerability.interpolate_wwiii_to_shore(790) INFO Building spatial index for Wave Watch III points 2021-05-10 11:28:49,950 coastal_vulnerability.interpolate_wwiii_to_shore(836) INFO Interpolating Wave Watch III data to shore points 2021-05-10 11:28:51,605 coastal_vulnerability.interpolate_wwiii_to_shore(893) INFO Finished interpolating Wave Watch III data to shore points 2021-05-10 11:28:51,624 coastal_vulnerability.calculate_wind_exposure(1039) INFO Calculating wind exposure 2021-05-10 11:29:10,199 coastal_vulnerability.calculate_wind_exposure(1101) INFO Casting rays and extracting bathymetry values 2021-05-10 11:29:15,221 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 5.38% complete. 2021-05-10 11:29:20,229 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 11.39% complete. 2021-05-10 11:29:25,230 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 16.09% complete. 2021-05-10 11:29:30,256 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 22.69% complete. 2021-05-10 11:29:35,266 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 30.65% complete. 2021-05-10 11:29:40,309 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 36.35% complete. 2021-05-10 11:29:45,334 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 40.51% complete. 2021-05-10 11:29:50,385 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 45.25% complete. 2021-05-10 11:29:55,403 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 50.32% complete. 2021-05-10 11:30:00,432 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 55.88% complete. 2021-05-10 11:30:05,498 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 61.66% complete. 2021-05-10 11:30:10,514 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 65.33% complete. 2021-05-10 11:30:15,523 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 71.11% complete. 2021-05-10 11:30:20,557 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 77.17% complete. 2021-05-10 11:30:25,577 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 82.14% complete. 2021-05-10 11:30:30,580 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 87.75% complete. 2021-05-10 11:30:35,593 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 93.17% complete. 2021-05-10 11:30:40,608 coastal_vulnerability.logger_callback(2895) INFO Wind exposure 98.82% complete. 2021-05-10 11:30:41,503 coastal_vulnerability.calculate_wind_exposure(1243) INFO Finished calculating wind exposure 2021-05-10 11:30:41,527 coastal_vulnerability.calculate_wave_exposure(1422) INFO Calculating wave exposure 2021-05-10 11:31:00,790 coastal_vulnerability.calculate_wave_exposure(1529) INFO Finished calculating wave exposure 2021-05-10 11:31:00,811 coastal_vulnerability.calculate_surge_exposure(1548) INFO Calculating surge potential 2021-05-10 11:31:05,753 coastal_vulnerability.calculate_surge_exposure(1618) INFO Finished calculating surge potential 2021-05-10 11:31:05,979 coastal_vulnerability.calculate_relief_exposure(1642) INFO Calculating relief exposure 2021-05-10 11:31:07,177 geoprocessing.warp_raster(1922) DEBUG transforming bounding box from [197161.65637942497, 2174642.56349593, 268336.65637942497, 2209792.56349593] 2021-05-10 11:31:07,178 geoprocessing.warp_raster(1927) DEBUG transforming bounding to [197161.65637942497, 2174642.56349593, 268336.65637942497, 2209792.56349593] 2021-05-10 11:31:08,486 geoprocessing.raster_calculator(391) INFO starting stats_worker 2021-05-10 11:31:08,487 threading.run(870) DEBUG stats worker PID: 6332 2021-05-10 11:31:08,487 geoprocessing.raster_calculator(397) INFO started stats_worker 2021-05-10 11:31:08,817 geoprocessing.raster_calculator(477) INFO 100.0% complete 2021-05-10 11:31:08,817 geoprocessing.raster_calculator(480) INFO Waiting for raster stats worker result. 2021-05-10 11:31:09,068 coastal_vulnerability._aggregate_raster_values_in_radius(2566) DEBUG C:/Users/alber/OneDrive/Desktop/Salidas CV - Escenarios/Modelo Actual r100\intermediate\relief\positive_dem_r100.tif nodata value: -3.4028234663852886e+38 2021-05-10 11:31:18,808 coastal_vulnerability.calculate_relief_exposure(1672) INFO Finished calculating relief exposure 2021-05-10 11:31:18,826 coastal_vulnerability.search_for_habitat(1866) INFO Searching for Manglares within 2000 meters of shore points 2021-05-10 11:31:18,849 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 215420 2180619.7116999999 2021-05-10 11:31:18,870 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 214020 2184819.7116999999 2021-05-10 11:31:18,877 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 214700 2185579.7116999999 2021-05-10 11:31:18,884 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 213240 2188579.7116999999 2021-05-10 11:31:18,900 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 212780 2189439.7116999999 2021-05-10 11:31:18,917 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 242250 2201969.7116999999 2021-05-10 11:31:18,936 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 227890 2202689.7116999999 2021-05-10 11:31:18,948 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 254620 2196439.7116999999 2021-05-10 11:31:18,963 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 253550 2196859.7116999999 2021-05-10 11:31:18,973 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 224380 2199879.7116999999 2021-05-10 11:31:18,978 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 226680 2200359.7116999999 2021-05-10 11:31:19,027 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 215620 2179279.7116999999 2021-05-10 11:31:19,040 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 216720 2180479.7116999999 2021-05-10 11:31:19,048 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 218520 2178939.7116999999 2021-05-10 11:31:19,091 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 215160 2186719.7116999999 2021-05-10 11:31:19,099 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 212680 2187369.7116999999 2021-05-10 11:31:19,109 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 210290 2189739.7116999999 2021-05-10 11:31:19,122 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 214060 2191399.7116999999 2021-05-10 11:31:19,134 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 239040 2203199.7116999999 2021-05-10 11:31:19,165 utils._log_gdal_errors(80) WARNING [errno 1] Ring Self-intersection at or near point 260500 2194939.7116999999 2021-05-10 11:31:19,955 coastal_vulnerability.search_for_habitat(1975) INFO Finished searching for Manglares in proximity to shore points 2021-05-10 11:31:19,972 coastal_vulnerability.calculate_habitat_rank(2005) INFO Manglares: found protecting 1611 shore points 2021-05-10 11:31:20,022 geoprocessing.reproject_vector(1711) INFO starting reprojection 2021-05-10 11:31:20,110 geoprocessing.reproject_vector(1754) INFO reprojection 100.0% complete on geomorphology_projected_r100.shp 2021-05-10 11:31:20,120 coastal_vulnerability.calculate_geomorphology_exposure(2065) INFO Assigning geomorphology rank 2021-05-10 11:31:20,128 coastal_vulnerability.calculate_geomorphology_exposure(2070) INFO Build spatial index of geomorphology segments 2021-05-10 11:31:20,237 coastal_vulnerability.calculate_geomorphology_exposure(2110) INFO searching for geomorphology in point buffers 2021-05-10 11:31:20,612 coastal_vulnerability.calculate_geomorphology_exposure(2154) INFO Finished assigning geomorphology rank 2021-05-10 11:31:20,619 coastal_vulnerability.assemble_results_and_calculate_exposure(2193) INFO Assembling exposure variables 2021-05-10 11:31:22,378 coastal_vulnerability.calculate_final_risk(2304) INFO calculating final risk scores 2021-05-10 11:31:23,769 model._logged_target(1655) INFO Execution finished 2021-05-10 11:31:23,771 utils.prepare_workspace(129) INFO Elapsed time: 2m 40.21000000000001s