Error running seasonal water yield

I am facing error in running the model saying keyerror : ‘cn_a’. But the thing is I dont have A group of soil in my study area. Can someone help me with this problem.

InVEST-natcap.invest.seasonal_water_yield.seasonal_water_yield-log-2023-10-23–11_43_22.txt (2.5 KB)
Biopysical_NCR.csv (1.3 KB)

Hi @Supriya12 , welcome to the community. Even if you do not have A group soils in your study area, the model still expects the Biophysical table to have a cn_a column. So that is the source of the error. If you truly have no soils from this group in your soils raster, then I don’t think it matters what values you use for that column of the table.

Thank you for the reply. Then if I put any value in the cn_a column and there is no group A in the soil raster, no error will arise right.

Please try and let us know what happens :slight_smile:

Okay I will try this and update here.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.