Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
cb6e923
hacky way to address #3068
wwieder Apr 16, 2025
bb42294
remove extra comments
wwieder Apr 21, 2025
8ff529e
add namelist control over glacier
wwieder Apr 21, 2025
f65cdb4
including lake conductance methods
wwieder Apr 21, 2025
2dba8f0
namelist controls in main
wwieder Apr 21, 2025
dfd7108
define BFB namelist defaults
wwieder Apr 21, 2025
797612f
rename to snow_thermal_cond_glc_method
wwieder Apr 22, 2025
008db3c
Merge remote-tracking branch 'escomp/b4b-dev' into JordanGlacier
ekluzek Apr 24, 2025
f63b70e
add perl namelist
wwieder Apr 24, 2025
12cf573
Merge branch 'JordanGlacier' of https://github.com/wwieder/CTSM into …
wwieder Apr 24, 2025
065635a
Merge remote-tracking branch 'escomp/b4b-dev' into JordanGlacier
ekluzek Apr 26, 2025
0464df1
Add the needed add_default calls for the new snow_thermal_cond_* name…
ekluzek Apr 29, 2025
b0793c2
Merge branch 'master' of https://github.com/ESCOMP/CTSM into JordanGl…
wwieder Apr 29, 2025
e469029
error logs fail to build, removing
wwieder Apr 29, 2025
c077a43
Merge branch 'JordanGlacier' of https://github.com/wwieder/CTSM into …
wwieder Apr 29, 2025
715f256
Merge branch 'JordanGlacier' of github.com:wwieder/CTSM into JordanGl…
ekluzek Apr 29, 2025
81b2dfa
Revert "error logs fail to build, removing"
ekluzek Apr 29, 2025
f9ac7ac
Add in module use statements needed so the error checks will build
ekluzek Apr 29, 2025
bd5e550
Similar changes that I brought in for LakeFluxes and SoilTemperature …
ekluzek Apr 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 25 additions & 17 deletions src/biogeophys/SoilTemperatureMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -742,24 +742,32 @@ subroutine SoilThermProp (bounds, num_urbanc, filter_urbanc, num_nolakec, filter
! 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))
select case (snow_thermal_cond_method)
case ('Jordan1991')
l = col%landunit(c)

! hard code to Jordan over glacier land unit
if (lun%itype(l) == istice) then
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')
! Implemented by Vicky Dutch (VRD), Nick Rutter, and
! Leanne Wake (LMW)
! https://tc.copernicus.org/articles/16/4201/2022/
! Code provided by Adrien Dams to Will Wieder
if (bw(c,j) <= 156) then !LMW or 0.156 ?
thk(c,j) = 0.023 + 0.234*(bw(c,j)/1000) !LMW - units changed by VRD
else !LMW
thk(c,j) = 0.138 - 1.01*(bw(c,j)/1000) +(3.233*((bw(c,j)/1000)*(bw(c,j)/1000))) ! LMW Sturm I think
end if
case default
write(iulog,*) subname//' ERROR: unknown snow_thermal_cond_method value: ', snow_thermal_cond_method
call endrun(msg=errMsg(sourcefile, __LINE__))
end select
end if
else
select case (snow_thermal_cond_method)
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')
! Implemented by Vicky Dutch (VRD), Nick Rutter, and
! Leanne Wake (LMW)
! https://tc.copernicus.org/articles/16/4201/2022/
! See also https://tc.copernicus.org/articles/19/1539/2025/
! Code provided by Adrien Dams to Will Wieder
if (bw(c,j) <= 156) then !LMW or 0.156 ?
thk(c,j) = 0.023 + 0.234*(bw(c,j)/1000) !LMW - units changed by VRD
else !LMW
thk(c,j) = 0.138 - 1.01*(bw(c,j)/1000) +(3.233*((bw(c,j)/1000)*(bw(c,j)/1000))) ! LMW Sturm I think
end if
case default
write(iulog,*) subname//' ERROR: unknown snow_thermal_cond_method value: ', snow_thermal_cond_method
call endrun(msg=errMsg(sourcefile, __LINE__))
end select
end if ! close land unit if statement
end if

end do
end do
Expand Down