Show2023-02-19 19:01:50,375 (natcap.invest.ui.inputs) inputs.open_workspace(95) INFO Opening file explorer to workspace directory 2023-02-19 19:01:50,375 (natcap.invest.ui.inputs) inputs.open_workspace(99) INFO Using windows explorer to view files ing messages with level INFO and higher 2023-02-19 19:01:25,388 (natcap.invest.utils) utils.prepare_workspace(161) Level 100 Writing log messages to [C:\Users\49173\Documents\seasonal_water_yield_workspace\InVEST-Seasonal-Water-Yield-log-2023-02-19--19_01_25.txt] 2023-02-19 19:01:25,388 (natcap.invest.ui.model) model._logged_target(1626) Level 100 Starting model with parameters: Arguments for InVEST natcap.invest.seasonal_water_yield.seasonal_water_yield 3.12.1: alpha_m 1/12 aoi_path C:/Users/49173/Documents/seasonal water yields inputs ganz neu/UTM36N/DEM.shp beta_i 1 biophysical_table_path C:/Users/49173/Documents/Seasonal Water Yield INPUTS/biophysical_table_Baringo.csv dem_raster_path C:/Users/49173/Documents/seasonal water yields inputs ganz neu/UTM36N/SRTMUTM36N.tif et0_dir C:/Users/49173/Documents/seasonal water yields inputs ganz neu/UTM36N/ET0 gamma 1 lulc_raster_path C:/Users/49173/Documents/seasonal water yields inputs ganz neu/UTM36N/ESACCIUTM36N.tif monthly_alpha False n_workers -1 precip_dir C:/Users/49173/Documents/seasonal water yields inputs ganz neu/UTM36N/Rainfall rain_events_table_path C:/Users/49173/Documents/Seasonal Water Yield INPUTS/rain events_baringo.csv results_suffix soil_group_path C:/Users/49173/Documents/seasonal water yields inputs ganz neu/UTM36N/CN-number.tif threshold_flow_accumulation 100 user_defined_climate_zones False user_defined_local_recharge False workspace_dir C:\Users\49173\Documents\seasonal_water_yield_workspace 2023-02-19 19:01:25,398 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(421) INFO prepare and test inputs for common errors 2023-02-19 19:01:25,436 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(487) INFO Building file registry 2023-02-19 19:01:25,436 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(493) INFO Checking that the AOI is not the output aggregate vector 2023-02-19 19:01:25,436 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(502) INFO Aligning and clipping dataset list 2023-02-19 19:01:25,490 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(604) INFO quick flow 2023-02-19 19:01:25,490 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(618) INFO loading number of monthly events 2023-02-19 19:01:26,437 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(396) INFO starting stats_worker 2023-02-19 19:01:26,438 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(402) INFO started stats_worker 2023-02-19 19:01:26,450 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(499) 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 1099, in cn_op KeyError: 6 2023-02-19 19:01:26,457 (pygeoprocessing.geoprocessing) geoprocessing.raster_calculator(514) INFO Waiting for raster stats worker result. 2023-02-19 19:01:26,457 (taskgraph.Task) Task.add_task(706) ERROR Something went wrong when adding task calculate curve number (14), 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 1107, 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 1099, in cn_op KeyError: 6 2023-02-19 19:01:26,461 (natcap.invest.utils) utils.prepare_workspace(166) ERROR Exception while executing Seasonal-Water-Yield Traceback (most recent call last): File "natcap\invest\utils.py", line 164, in prepare_workspace File "natcap\invest\ui\model.py", line 1632, in _logged_target File "natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 406, in execute File "natcap\invest\seasonal_water_yield\seasonal_water_yield.py", line 663, 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 1107, 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 1099, in cn_op KeyError: 6 2023-02-19 19:01:26,463 (natcap.invest.utils) utils.prepare_workspace(169) INFO Elapsed time: 1.08s 2023-02-19 19:01:26,464 (natcap.invest.utils) utils.prepare_workspace(172) INFO Execution finished Error Message Your biophysical table column names are incorrect. The soil groups must be prefixed with cn_: cn_a … cn_d. The months must be prefixed with kc_: kc_1… kc_12. Columns: * lucode (integer, required): LULC code matching those in the LULC raster. * cn_[SOIL_GROUP] (number, units: unitless, required): Curve number values for each combination of soil group and LULC class. Replace [SOIL_GROUP] with each soil group code A, B, C, D so that there is one column for each soil group. Curve number values must be greater than 0. * kc_[MONTH] (number, units: unitless, required): Crop/vegetation coefficient (Kc) values for this LULC class in each month. Replace [MONTH] with the numbers 1 to 12 so that there is one column for each month.