2022-12-18 17:47:23,909 (natcap.invest.utils) utils.prepare_workspace(161) Level 100 Writing log messages to [C:\Invest\Invest_SWY\InVEST-natcap.invest.seasonal_water_yield.seasonal_water_yield-log-2022-12-18--17_47_23.txt] 2022-12-18 17:47:23,914 (__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:\Invest\Invest_SWY\area_29N.shp beta_i 1 biophysical_table_path C:\Invest\Invest_SWY\invest_swy\biophysical_table_good.csv climate_zone_raster_path climate_zone_table_path dem_raster_path C:\Invest\Invest_SWY\invest_swy\DEM_cut_ocs.tif et0_dir C:\Invest\Invest_SWY\ET0_29N gamma 1 l_path lulc_raster_path C:\Invest\Invest_SWY\invest_swy\OCS_reclass_2019_H.tif monthly_alpha False monthly_alpha_path n_workers -1 precip_dir C:\Invest\Invest_SWY\monthly_precipitation_mm_32229 rain_events_table_path C:\Invest\Invest_SWY\rain_events_good.csv results_suffix soil_group_path C:\Invest\Invest_SWY\invest_swy\Groupe_hydro_cut.tif threshold_flow_accumulation 1000 user_defined_climate_zones False user_defined_local_recharge False workspace_dir C:\Invest\Invest_SWY 2022-12-18 17:47:23,914 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(423) INFO prepare and test inputs for common errors 2022-12-18 17:47:24,007 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(489) INFO Building file registry 2022-12-18 17:47:24,008 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(495) INFO Checking that the AOI is not the output aggregate vector 2022-12-18 17:47:24,009 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(504) INFO Aligning and clipping dataset list 2022-12-18 17:47:24,083 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(606) INFO quick flow 2022-12-18 17:47:24,083 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(620) INFO loading number of monthly events 2022-12-18 17:47:24,086 (taskgraph.Task) Task.is_precalculated(1252) INFO not precalculated (n_events as a constant raster month 0 (5)), Task hash exists, but there are these mismatches: Recorded path not in target path list c:\invest\invest_swy\cache_dir\n_events11.tif 2022-12-18 17:47:24,438 (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 0 (5)) as a dependent task to this one (n_events as a constant raster month 1 (6)). 2022-12-18 17:47:24,438 (taskgraph.Task) Task.is_precalculated(1252) INFO not precalculated (n_events as a constant raster month 1 (6)), Task hash exists, but there are these mismatches: Recorded path not in target path list c:\invest\invest_swy\cache_dir\n_events0.tif 2022-12-18 17:47:24,772 (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 1 (6)) as a dependent task to this one (n_events as a constant raster month 2 (6)). 2022-12-18 17:47:24,773 (taskgraph.Task) Task.is_precalculated(1252) INFO not precalculated (n_events as a constant raster month 2 (6)), Task hash exists, but there are these mismatches: Recorded path not in target path list c:\invest\invest_swy\cache_dir\n_events1.tif 2022-12-18 17:47:25,105 (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 (6)) as a dependent task to this one (n_events as a constant raster month 10 (13)). 2022-12-18 17:47:25,105 (taskgraph.Task) Task.is_precalculated(1252) INFO not precalculated (n_events as a constant raster month 10 (13)), Task hash exists, but there are these mismatches: Recorded path not in target path list c:\invest\invest_swy\cache_dir\n_events2.tif 2022-12-18 17:47:25,428 (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 10 (13)) as a dependent task to this one (n_events as a constant raster month 11 (13)). 2022-12-18 17:47:25,436 (taskgraph.Task) Task.is_precalculated(1252) INFO not precalculated (n_events as a constant raster month 11 (13)), Task hash exists, but there are these mismatches: Recorded path not in target path list c:\invest\invest_swy\cache_dir\n_events10.tif 2022-12-18 17:47:25,754 (taskgraph.Task) Task.add_task(706) ERROR Something went wrong when adding task calculate curve number (13), 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 1057, in _calculate_curve_number_raster KeyError: nan 2022-12-18 17:47:25,754 (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 1057, in _calculate_curve_number_raster KeyError: nan 2022-12-18 17:47:25,762 (natcap.invest.utils) utils.prepare_workspace(169) INFO Elapsed time: 1.85s 2022-12-18 17:47:25,762 (natcap.invest.utils) utils.prepare_workspace(172) INFO Execution finished