Join GitHub today
Water balance error in lake model #308
The lake model in release 4.2 is exhibiting water balance errors. Currently investigating to find the source of the problem.
So far, I have found at least one part of the problem: the variable out_prec, used only for reporting precipitation for output, was not being updated correctly in full_energy.c. This only affects the water balance check in put_data.c (as well as making the output precipitation not equal the input precipitation). This is easy to fix. However, after fixing this, there are still water balance errors, which I am investigating now.