-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce namelist option for thermal conductivity of snow: Jordan vs. Sturm #2148
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing this @AdrienDams we're investigating the impact of the change to arctic soil temperatures and productivity now.
Assuming the results seem promising, I suggest we add Jordan vs. Sturm namelist options for calculating snow thermal conductivity thk
. Updates for Sturm will also need to be added to the technote (e.q. 2.6.85)
! Only examine levels from snl(c)+1 -> 0 where snl(c) < 1 | ||
if (snl(c)+1 < 1 .AND. (j >= snl(c)+1) .AND. (j <= 0)) then | ||
bw(c,j) = (h2osoi_ice(c,j)+h2osoi_liq(c,j))/(frac_sno(c)*dz(c,j)) | ||
thk(c,j) = tkair + (7.75e-5_r8 *bw(c,j) + 1.105e-6_r8*bw(c,j)*bw(c,j))*(tkice-tkair) | ||
bw(c,j) = ((h2osoi_ice(c,j)*1)+h2osoi_liq(c,j))/(frac_sno(c)*dz(c,j)) ! ==RHOS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is actually is the same for both approaches.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Returning line 740 to the original. Is the comment at the end ==RHOS
helpful to keep?
@@ -47,7 +47,7 @@ module SoilTemperatureMod | |||
! o The thermal conductivity of soil is computed from | |||
! the algorithm of Johansen (as reported by Farouki 1981), and the | |||
! conductivity of snow is from the formulation used in | |||
! SNTHERM (Jordan 1991). | |||
! Sturm (1997). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is there so much documentation in the code itself here? If we keep all the notes (here and below) snow conductivity should reference both Jordan and Sturm papers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Half of the notes here and below are about the thermal conductivity of soil, so I will keep them and reference both papers.
thk(c,j) = tkair + (7.75e-5_r8 *bw(c,j) + 1.105e-6_r8*bw(c,j)*bw(c,j))*(tkice-tkair) | ||
bw(c,j) = ((h2osoi_ice(c,j)*1)+h2osoi_liq(c,j))/(frac_sno(c)*dz(c,j)) ! ==RHOS | ||
! thk(c,j) = tkair + (7.75e-5_r8 *bw(c,j) + 1.105e-6_r8*bw(c,j)*bw(c,j))*(tkice-tkair) ! Original (Jordan) Parameterisation | ||
if (bw(c,j) <= 156) then !LMW or 0.156 ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is where I think we'll want to use a namelist option to chose between Jornand and Sturm formulations for thk
Thanks for your presentation yesterday @AdrienDams. Given results from your presentation and tests done by @olyson and @slevis-lmwg it seems like we should bring this in as a namelist option to let users chose between Jordan and Sturm snow conductivity formulations. Adrien, can you add Keith and Sam as collaborators to your github PR so they can work on this PR and bring it to main? |
Notes to self:
|
! select case (thermal_cond_snow) | ||
! case ('Jordan1991') | ||
! thk(c,j) = tkair + (7.75e-5_r8 *bw(c,j) + 1.105e-6_r8*bw(c,j)*bw(c,j))*(tkice-tkair) | ||
! case ('Sturm1997') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wwieder
I wanted to make sure I had the default value correct... Are we keeping Jordan1991 as default or changing it to Sturm1997?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...and maybe the right answer is Jordan1991 for now to get bfb same answers and we change the default later in an answer changing tag.
Test-suites
|
Add GRAINN outputs In response to a user request for GRAINN_TO_FOOD outputs, this adds *_N_TO_FOOD(_ANN) and *_N_TO_SEED(_ANN) outputs for reproductive N pools. These are off by default, unlike their C counterparts. Note that the results are not scientifically supported, and tests have revealed unrealistic values. (Also adds GRAINC_TO_SEED_ANN output.)
Labeled as bfb because I made Jordan1991 the default option. |
Description of changes
We have replaced the snow thermal conductivity calculations from Jordan (1991) with Sturm et al. (1997) discussed here and described for single point runs by Dutch et al 2022.
Specific notes
Contributors: Victoria Dutch, Leanne Wake
Testing in progress here