CH-Earth / summa

Structure for Unifying Multiple Modeling Alternatives:
http://www.ral.ucar.edu/projects/summa
GNU General Public License v3.0
80 stars 105 forks source link

skip water balance checks when split to individual soil layers #361

Closed martynpclark closed 4 years ago

martynpclark commented 4 years ago

The code allows separate solutions for each soil layer when the solution is very slow. In these cases the water balance was erroneously calculated at the end of calculations for each soil layer. Code modified to only calculate the water balance when all soil layers are solved simultaneously.

There are other water balance checks later in the code, so this simplification should have limited impact.