I have found another bug in the calculation of Zsum_node in the vic_init function (version VIC.5.0.1 - latest release)
Lines 845, 846, 848 of vic_init soil_con[0].depth[0] should be replaced with soil_con[i].depth[0]
Note that the soil_con index has changed from [0] to [i] (as it is everywhere else). Otherwise the dz_node and Zsum_node variables depths are determined by the first soil depth (of the area), instead of the current soil depth.
Maybe you can fix it in this repository?
Dear Mr/Ms,
I have found another bug in the calculation of Zsum_node in the vic_init function (version VIC.5.0.1 - latest release)
Lines 845, 846, 848 of vic_init soil_con[0].depth[0] should be replaced with soil_con[i].depth[0] Note that the soil_con index has changed from [0] to [i] (as it is everywhere else). Otherwise the dz_node and Zsum_node variables depths are determined by the first soil depth (of the area), instead of the current soil depth. Maybe you can fix it in this repository?
Cheers!