KMarkert / hydrate

Python package to setup and run hydrologic models using data from Earth Engine
GNU General Public License v3.0
17 stars 6 forks source link

VIC model LAI veg error #3

Open jsta opened 2 years ago

jsta commented 2 years ago

When I run test_vic.py the log ends with the following error:

Model run-time error... ERROR: cell 1134, veg tile 1: the specified veg class (2) is listed as an overstory class in the veg LIBRARY, but the LAI given in the veg PARAM FILE for this tile for month 1 is 0.

I get the same results whether I run the script/model locally or through Docker.

KMarkert commented 2 years ago

Thanks for reporting this issue. Looks like this is coming from VIC where it is expecting vegetation classes that have overstory set to true to have an LAI value. So, either the LAI data has a missing value somewhere that was given as 0 or the formating of the inputs is off.

Last I tried a test case using the Mekong basin, I was able to get the model to run. So, my suspicion is that this is a data error which can be checked quickly. Just to check, which version of VIC do you have installed/running with hydrate?

jsta commented 2 years ago

I followed the Dockerfile so VIC.4.2.d