What is the issue or question you have?
My precipitation data cannot be read. They are just clips from raster files from Chirps data, named on monthly basis.
What do you expect to happen?
That it would work
What have you tried so far? Renaming the files
Attach the logfile here:
Initializing…
Showing messages with level INFO and higher
2023-02-02 21:04:45,848 (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-02–21_04_45.txt]
2023-02-02 21:04:45,852 (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 Yield INPUTS/Baringo-Bogoria-Merccatchment.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 Yield INPUTS/SRTM30_reproj_Mercator.tif
et0_dir C:/Users/49173/Documents/Seasonal Water Yield INPUTS/ETo_clipped
gamma 1
lulc_raster_path C:/Users/49173/Documents/Seasonal Water Yield INPUTS/ESACCI_reproj_Mercator.tif
monthly_alpha False
n_workers -1
precip_dir C:/Users/49173/Documents/Seasonal Water Yield INPUTS/Rainfall data
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 Yield INPUTS/curve number proj - Mercator.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-02 21:04:45,859 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(421) INFO prepare and test inputs for common errors
2023-02-02 21:04:45,900 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(487) INFO Building file registry
2023-02-02 21:04:45,901 (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-02 21:04:45,901 (natcap.invest.seasonal_water_yield.seasonal_water_yield) seasonal_water_yield._execute(502) INFO Aligning and clipping dataset list
2023-02-02 21:04:45,905 (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 527, in _execute
ValueError: No Precip found for month 1
2023-02-02 21:04:45,908 (natcap.invest.utils) utils.prepare_workspace(169) INFO Elapsed time: 0.06s
2023-02-02 21:04:45,909 (natcap.invest.utils) utils.prepare_workspace(172) INFO Execution finished