-
Notifications
You must be signed in to change notification settings - Fork 8
Description
The groundwater and Or evaporation schemes calculate wetfac differently to the default case. For this, the groundwater work introduces a calc_srf_wet_fraction() subroutine in cable_gw_hydro.F90.
Recently, in the main branch, some work was done on wetfac and the calculation was moved to the initialize_wetfac procedure in cbl_init_wetfac_mod.F90.
We need to decide on the approach we want to take so we do not introduce 2 equivalent subroutines in CABLE.
- The calculations in both branches for the default case are the same except the GW work introduces the ice/liquid density ratio:
ssnow%wbice(i,1) * den_rat & ! MMY not sure whether needed but add * den_rat
/ ssnow%wb(i,1) )**2
but with an "unsure" comment. Do we want to adopt or not?
This corresponds to this code in main (without the densities ratio):
CABLE/src/science/canopy/cbl_init_wetfac_mod.F90
Lines 83 to 88 in 630e2e1
| ice_ratio = (ssnow_wbice(i) / ssnow_wb(i))**2 | |
| !~ 1-Ice_ratio^2 | |
| ice_factor = 1._r_2 - MIN(0.2_r_2, ice_ratio) | |
| ice_factor = REAL(MAX(0.5_r_2, ice_factor)) | |
| ssnow_wetfac(i) = ssnow_wetfac(i) * ice_factor |
-
Placement of the subroutine. I don't think placing this subroutine in the GW alternative soil module makes sense. I would keep the separate module we have introduced in main.
-
Name of file/module/subroutine. The subroutine and module in main are called
initializeorinitbut this calculation seems to be done every time step, so not an initialisation but a calculation. Should we adopt the GW naming instead:calc_srf_wet_fraction?
This impacts the CABLE code, ESM1.6 and AM3. Any change should be introduced in all 3 code bases and tested in all 3 codes.
@har917 Any view on the use of the densities and naming?
@JhanSrbinovsky Any view on the naming? Not asking you to do anything, I just want a decision for now. If we decide on changes, ACCESS-NRI can handle them.