Skip to content

Commit

Permalink
Clean up function _sxw_sw_setup
Browse files Browse the repository at this point in the history
Previously, the function `_sxw_sw_setup` called `SW_VPD_init` to setup SOILWAT2's vegetation data.

We no longer need to call `SW_VPD_init` since SOILWAT2 v3.5.0. SOILWAT2 calls `SW_VPD_init` at the beginning of each year (for dynamic CO2-effects).

Remove commented out code to address #376 (comment)
  • Loading branch information
dschlaep committed Aug 19, 2019
1 parent 508bf17 commit 13464c6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sxw_soilwat.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,6 @@ void _sxw_sw_setup (RealF sizes[]) {
v->veg[k].lai_conv_daily[doy] = 0.;
}
}

/* We no longer need to call `SW_VPD_init` since SOILWAT2 v3.5.0. SOILWAT2
calls `SW_VPD_init` at the beginning of each year (for dynamic CO2-effects)
*/
// SW_VPD_init();
}

void _sxw_sw_run(void) {
Expand Down

0 comments on commit 13464c6

Please sign in to comment.