2023-03-18 16:41:02,598 (natcap.invest.utils) utils.prepare_workspace(161) Level 100 Writing log messages to [C:\Users\sesco\OneDrive - Bayer\Desktop\TESIS 2022\Procesamiento\InVEST\Test_0\InVEST-natcap.invest.seasonal_water_yield.seasonal_water_yield-log-2023-03-18--16_41_02.txt] 2023-03-18 16:41:02,599 (__main__) cli.main(475) Level 100 Starting model with parameters: Arguments for InVEST natcap.invest.seasonal_water_yield.seasonal_water_yield 3.12.0: alpha_m 1/12 aoi_path C:\Users\sesco\OneDrive - Bayer\Desktop\TESIS 2022\Procesamiento\InVEST\Inputs\AOI.shp beta_i 1 biophysical_table_path C:\Users\sesco\OneDrive - Bayer\Desktop\TESIS 2022\Procesamiento\InVEST\Inputs\BiophysicalTable.csv climate_zone_raster_path climate_zone_table_path dem_raster_path C:\Users\sesco\OneDrive - Bayer\Desktop\TESIS 2022\Procesamiento\InVEST\Inputs\MDE1.tif et0_dir C:\Users\sesco\OneDrive - Bayer\Desktop\TESIS 2022\Procesamiento\InVEST\ETo gamma 1 l_path lulc_raster_path C:\Users\sesco\OneDrive - Bayer\Desktop\TESIS 2022\Procesamiento\InVEST\Inputs\LULC.tif monthly_alpha False monthly_alpha_path n_workers -1 precip_dir C:\Users\sesco\OneDrive - Bayer\Desktop\TESIS 2022\Procesamiento\InVEST\Precipitation rain_events_table_path C:\Users\sesco\OneDrive - Bayer\Desktop\TESIS 2022\Procesamiento\InVEST\Inputs\Rain_event.csv results_suffix tst0 soil_group_path C:\Users\sesco\OneDrive - Bayer\Desktop\TESIS 2022\Procesamiento\InVEST\Inputs\HidroSoil_Reclas.tif threshold_flow_accumulation 1000 user_defined_climate_zones False user_defined_local_recharge False workspace_dir C:\Users\sesco\OneDrive - Bayer\Desktop\TESIS 2022\Procesamiento\InVEST\Test_0 2023-03-18 16:41:02,599 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(423) INFO prepare and test inputs for common errors 2023-03-18 16:41:02,661 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(489) INFO Building file registry 2023-03-18 16:41:02,661 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(495) INFO Checking that the AOI is not the output aggregate vector 2023-03-18 16:41:02,662 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(504) INFO Aligning and clipping dataset list 2023-03-18 16:41:03,389 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 1 of 27 aligned: prcp_a0_tst0.tif 2023-03-18 16:41:04,074 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 2 of 27 aligned: prcp_a1_tst0.tif 2023-03-18 16:41:04,826 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 3 of 27 aligned: prcp_a2_tst0.tif 2023-03-18 16:41:05,558 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 4 of 27 aligned: prcp_a3_tst0.tif 2023-03-18 16:41:06,622 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 5 of 27 aligned: prcp_a4_tst0.tif 2023-03-18 16:41:08,765 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 6 of 27 aligned: prcp_a5_tst0.tif 2023-03-18 16:41:09,855 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 7 of 27 aligned: prcp_a6_tst0.tif 2023-03-18 16:41:10,608 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 8 of 27 aligned: prcp_a7_tst0.tif 2023-03-18 16:41:11,407 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 9 of 27 aligned: prcp_a8_tst0.tif 2023-03-18 16:41:12,174 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 10 of 27 aligned: prcp_a9_tst0.tif 2023-03-18 16:41:13,108 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 11 of 27 aligned: prcp_a10_tst0.tif 2023-03-18 16:41:13,988 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 12 of 27 aligned: prcp_a11_tst0.tif 2023-03-18 16:41:14,484 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 13 of 27 aligned: soil_group_aligned_tst0.tif 2023-03-18 16:41:14,895 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 14 of 27 aligned: et0_a0_tst0.tif 2023-03-18 16:41:15,378 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 15 of 27 aligned: et0_a1_tst0.tif 2023-03-18 16:41:16,072 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 16 of 27 aligned: et0_a2_tst0.tif 2023-03-18 16:41:16,527 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 17 of 27 aligned: et0_a3_tst0.tif 2023-03-18 16:41:16,931 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 18 of 27 aligned: et0_a4_tst0.tif 2023-03-18 16:41:17,431 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 19 of 27 aligned: et0_a5_tst0.tif 2023-03-18 16:41:17,947 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 20 of 27 aligned: et0_a6_tst0.tif 2023-03-18 16:41:18,500 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 21 of 27 aligned: et0_a7_tst0.tif 2023-03-18 16:41:19,242 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 22 of 27 aligned: et0_a8_tst0.tif 2023-03-18 16:41:19,908 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 23 of 27 aligned: et0_a9_tst0.tif 2023-03-18 16:41:20,493 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 24 of 27 aligned: et0_a10_tst0.tif 2023-03-18 16:41:21,047 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 25 of 27 aligned: et0_a11_tst0.tif 2023-03-18 16:41:21,555 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 26 of 27 aligned: lulc_aligned_tst0.tif 2023-03-18 16:41:22,524 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(824) INFO 27 of 27 aligned: dem_aligned_tst0.tif 2023-03-18 16:41:22,524 (pygeoprocessing.geoprocessing) geoprocessing.align_and_resize_raster_stack(828) INFO aligned all 27 rasters. 2023-03-18 16:41:24,851 (pygeoprocessing.routing.routing) Task._call(1093) WARNING opening C:\Users\sesco\OneDrive - Bayer\Desktop\TESIS 2022\Procesamiento\InVEST\Test_0\cache_dir\pit_filled_dem_tst0.tif resulted in null, trying 5 more times. 2023-03-18 16:41:29,925 (pygeoprocessing.routing.routing) Task._call(1093) INFO (fill pits): complete 2023-03-18 16:41:40,258 (pygeoprocessing.routing.routing) Task._call(1093) INFO 100.0% complete 2023-03-18 16:41:49,151 (pygeoprocessing.routing.routing) Task._call(1093) INFO 100.0% complete 2023-03-18 16:41:53,664 (pygeoprocessing.routing.routing) Task._call(1093) INFO filter out incomplete divergent streams 2023-03-18 16:41:53,780 (pygeoprocessing.routing.routing) Task._call(1093) INFO 100.0% complete 2023-03-18 16:41:53,802 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(606) INFO quick flow 2023-03-18 16:41:53,802 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(620) INFO loading number of monthly events 2023-03-18 16:41:54,959 (taskgraph.Task) Task.add_task(653) INFO A task was created that had an identical args signature sans target paths, but a different target_path_list of the same length. To avoid recomputation, dynamically adding previous Task (n_events as a constant raster month 2 (7)) as a dependent task to this one (n_events as a constant raster month 4 (9)). 2023-03-18 16:41:54,961 (taskgraph.Task) Task.is_precalculated(1252) INFO not precalculated (n_events as a constant raster month 4 (9)), Task hash exists, but there are these mismatches: Recorded path not in target path list c:\users\sesco\onedrive - bayer\desktop\tesis 2022\procesamiento\invest\test_0\cache_dir\n_events2_tst0.tif 2023-03-18 16:41:57,229 (taskgraph.Task) Task.add_task(653) INFO A task was created that had an identical args signature sans target paths, but a different target_path_list of the same length. To avoid recomputation, dynamically adding previous Task (n_events as a constant raster month 4 (9)) as a dependent task to this one (n_events as a constant raster month 11 (15)). 2023-03-18 16:41:57,231 (taskgraph.Task) Task.is_precalculated(1252) INFO not precalculated (n_events as a constant raster month 11 (15)), Task hash exists, but there are these mismatches: Recorded path not in target path list c:\users\sesco\onedrive - bayer\desktop\tesis 2022\procesamiento\invest\test_0\cache_dir\n_events4_tst0.tif 2023-03-18 16:41:57,528 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(396) INFO starting stats_worker 2023-03-18 16:41:57,530 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(402) INFO started stats_worker 2023-03-18 16:41:57,904 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(498) ERROR exception encountered in raster_calculator Traceback (most recent call last): File "pygeoprocessing\geoprocessing.py", line 443, in raster_calculator File "natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 1101, in cn_op KeyError: 0 2023-03-18 16:41:58,034 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(513) INFO Waiting for raster stats worker result. 2023-03-18 16:41:58,034 (taskgraph.Task) Task.add_task(706) ERROR Something went wrong when adding task calculate curve number (15), terminating taskgraph. Traceback (most recent call last): File "taskgraph\Task.py", line 674, in add_task File "taskgraph\Task.py", line 1093, in _call File "natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 1109, in _calculate_curve_number_raster File "pygeoprocessing\geoprocessing.py", line 443, in raster_calculator File "natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 1101, in cn_op KeyError: 0 2023-03-18 16:41:58,035 (natcap.invest.utils) utils.prepare_workspace(166) ERROR Exception while executing natcap.invest.seasonal_water_yield.seasonal_water_yield Traceback (most recent call last): File "natcap\invest\utils.py", line 164, in prepare_workspace File "invest\cli.py", line 486, in main File "natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 408, in execute File "natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 665, in _execute File "taskgraph\Task.py", line 674, in add_task File "taskgraph\Task.py", line 1093, in _call File "natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 1109, in _calculate_curve_number_raster File "pygeoprocessing\geoprocessing.py", line 443, in raster_calculator File "natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 1101, in cn_op KeyError: 0 2023-03-18 16:41:58,037 (natcap.invest.utils) utils.prepare_workspace(169) INFO Elapsed time: 55.44s 2023-03-18 16:41:58,037 (natcap.invest.utils) utils.prepare_workspace(172) INFO Execution finished