Skip to content
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

ctsm5.3.027: Migrate FATES parameter file switches to the namelist #2904

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
922a317
add fates daylength factor switch
glemieux Dec 10, 2024
949c668
add FATES switch to enable photosynthetic temp acclimation
glemieux Dec 10, 2024
59fef8c
add FATES namelist switch for stomatal conductance
glemieux Dec 10, 2024
9edf742
add FATES namelist switch for stomatal assimilation
glemieux Dec 10, 2024
59eb9f4
add FATES namelist switch for leaf respiration model
glemieux Dec 10, 2024
11a1708
add FATES switch to select carbon starvation model
glemieux Dec 10, 2024
3f2ed72
add FATES seed regeneration model switch to namelist
glemieux Dec 10, 2024
adf7d56
add FATES hydro solver selection switch to namelist
glemieux Dec 10, 2024
47fd489
add FATES radiation model switch to the namelist
glemieux Dec 11, 2024
02bc32a
change fates photosynthethic acclimation switch from logical to named
glemieux Jan 15, 2025
660ed58
add year to model switch for fates_stomatal_model namelist option
glemieux Jan 15, 2025
f990b24
fix fates_hydro_solver option name check
glemieux Jan 15, 2025
13a16e5
Merge tag 'ctsm5.3.019' into fates-switch-migration
glemieux Jan 15, 2025
5a04385
Merge remote-tracking branch 'glemieux/fates-api37.1' into fates-swit…
glemieux Feb 20, 2025
fa63e28
update fates gitmodules tag
glemieux Feb 20, 2025
2d0a541
Merge tag 'ctsm5.3.025' into fates-switch-migration
glemieux Feb 22, 2025
877e986
update default fates parameter file
glemieux Feb 23, 2025
9af9f32
update fates twostream tests per switch migration
glemieux Feb 23, 2025
ef27e7d
fix namelist definition valid values
glemieux Feb 23, 2025
527a4e0
correct fates API check for radation model
glemieux Feb 23, 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
2 changes: 1 addition & 1 deletion bld/namelist_files/namelist_defaults_ctsm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2389,7 +2389,7 @@ lnd/clm2/surfdata_esmf/NEON/ctsm5.3.0/surfdata_1x1_NEON_TOOL_hist_2000_78pfts_c2
<fates_photosynth_acclimation use_fates=".true.">nonacclimating</fates_photosynth_acclimation>
<fates_spitfire_mode use_fates=".true.">0</fates_spitfire_mode>
<fates_harvest_mode use_fates=".true.">no_harvest</fates_harvest_mode>
<fates_stomatal_model use_fates=".true.">ballberry</fates_stomatal_model>
<fates_stomatal_model use_fates=".true.">ballberry1987</fates_stomatal_model>
<fates_stomatal_assimilation use_fates=".true.">net</fates_stomatal_assimilation>
<fates_leafresp_model use_fates=".true.">ryan1991</fates_leafresp_model>
<fates_cstarvation_model use_fates=".true.">linear</fates_cstarvation_model>
Expand Down
2 changes: 1 addition & 1 deletion bld/namelist_files/namelist_definition_ctsm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ Set net or gross asslimiation for the FATES stomatal model
</entry>

<entry id="fates_stomatal_model" type="char*256" category="physics"
group="clm_inparm" valid_values="ballberry, medlyn" value="ballberry">
group="clm_inparm" valid_values="ballberry1987, medlyn2011" value="ballberry1987">
Set the FATES stomatal conductance model
</entry>

Expand Down
6 changes: 3 additions & 3 deletions src/utils/clmfates_interfaceMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ subroutine CLMFatesGlobals2()

if(trim(fates_photosynth_acclimation) == 'kumarathunge2019') then
pass_photosynth_acclimation_switch = 1
else if(trim(fates_photosynth_acclimation) == 'nonacclimating')
else if(trim(fates_photosynth_acclimation) == 'nonacclimating') then
pass_photosynth_acclimation_switch = 0
end if
call set_fates_ctrlparms('photosynth_acclimation',ival=pass_photosynth_acclimation_switch)
Expand All @@ -547,9 +547,9 @@ subroutine CLMFatesGlobals2()
end if
call set_fates_ctrlparms('use_daylength_factor_switch',ival=pass_daylength_factor_switch)

if (trim(fates_stomatal_model) == 'ballberry') then
if (trim(fates_stomatal_model) == 'ballberry1987') then
pass_stomatal_model = 1
else if (trim(fates_stomatal_model) == 'medlyn') then
else if (trim(fates_stomatal_model) == 'medlyn2011') then
pass_stomatal_model = 2
end if
call set_fates_ctrlparms('stomatal_model',ival=pass_stomatal_model)
Expand Down
Loading