This forum is shutting down! Please post new discussions at community.naturalcapitalproject.org

seasonal water yield model - Error

I had error running seasonal water yiled model ("key error encountered:12), but i don't understand what's wrong. I attach the log text
Can someone help me? thanx
Mattias

Comments

  • swolnyswolny Member, NatCap Staff
    Hi Mattias -

    Any time we get a "key error" in the terrestrial models, it usually means that there is a mismatch between values in your land use raster and the values in your biophysical table. Is there an LULC raster class with a value of 12 that there is not an entry for in your biophysical table? In this case, the model is trying to build a Curve Number raster and appears not to find CN values for lucode 12 in the biophysical table.

    ~ Stacie

  • Hi,
    the problem was with Hydrological group map. there was a HSG class coded with 12. After reclassifing it, the model works correctly.
    thanks for your help
    Mattias
  • Thank you Mattias & swolny changing in HSG class coded works for key error encountered:12.

Sign In or Register to comment.