forked from ESCOMP/CTSM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change wa_col cold start initialization when use_aquifer_layer is false
In the groundwater_irrigation branch (ESCOMP#523), @swensosc has stopped resetting wa_col each time step if use_aquifer_layer is false. However, this leads to having a substantially different value of wa_col when use_aquifer_layer is false: previously, it was reset to aquifer_water_baseline each time step, but with the changes from @swensosc, it stays close to its initial values, which have been 4000 in most places. This commit changes the initial values to match the value it was being reset to, so it simply starts at aquifer_water_baseline - so the every-time-step-resetting to aquifer_water_baseline can be removed without massively changing the value of wa_col. In addition to changing the cold start initialization of wa_col, we are also changing the cold start initialization of zwt in this case where use_aquifer_layer is false: The old initialization of zwt wouldn't work as intended now that we have changed the initial value of wa_col; @swensosc suggested this new initialization method instead. This initialization to zi(c,nbedrock(c)) is correct if there are no saturated layers, and close enough for a decent cold start even if there are.
- Loading branch information
Showing
5 changed files
with
109 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters