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

Migrate FATES parameter file switches to the namelist #2904

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

glemieux
Copy link
Collaborator

@glemieux glemieux commented Dec 10, 2024

Addresses NGEET/fates#1295.

To be coordinated with NGEET/fates#1300.

Description of changes

List of switches to be moved:

  • fates_daylength_factor_switch
  • fates_hydro_solver
  • fates_leaf_photo_tempsens_model
  • fates_leaf_stomatal_assim_model
  • fates_leaf_stomatal_model
  • fates_maintresp_leaf_model
  • fates_mort_cstarvation_model
  • fates_rad_model
  • fates_regeneration_model

Specific notes

Contributors other than yourself, if any:

CTSM Issues Fixed (include github issue #):

Are answers expected to change (and if so in what way)? Should be B4B aside from namelist differences

Any User Interface Changes (namelist or namelist defaults changes)? Yes as this brings in new namelist options.

Does this create a need to change or add documentation? Did you do so?

Testing performed, if any:
(List what testing you did to show your changes worked as expected)
(This can be manual testing or running of the different test suites)
(Documentation on system testing is here: https://github.com/ESCOMP/ctsm/wiki/System-Testing-Guide)
(aux_clm on derecho for intel/gnu and izumi for intel/gnu/nag/nvhpc is the standard for tags on master)

NOTE: Be sure to check your coding style against the standard
(https://github.com/ESCOMP/ctsm/wiki/CTSM-coding-guidelines) and review
the list of common problems to watch out for
(https://github.com/ESCOMP/CTSM/wiki/List-of-common-problems).

@glemieux glemieux force-pushed the fates-switch-migration branch 2 times, most recently from 63076c8 to 7cbb40c Compare December 11, 2024 00:33
@glemieux glemieux requested a review from rgknox December 11, 2024 19:15
This commit facilitates moving this switch from the fates parameter file
to the API.  Note that the actual daylength factor value is always
passed through the API.  This just adds the switch to tell FATES to use
it.
@glemieux glemieux force-pushed the fates-switch-migration branch from 2284172 to 1780cc7 Compare December 12, 2024 00:51
This commit facilitates moving this switch from the FATES parameter file
to the namelist
@glemieux glemieux force-pushed the fates-switch-migration branch 2 times, most recently from 204bb5f to d825989 Compare December 12, 2024 06:28
@glemieux
Copy link
Collaborator Author

Per discussion at the CTSM SE meeting today, we came to a consensus that the FATES stomatal and leaf respiration models shouldn't be controlled by the existing namelist switches for CLM (stomatalcond_mtd and leafresp_method). The rationale is that even though both share the same options currently, the implementation is different enough to warrant having separate namelist switches to avoid suggesting to the user that they will be using the same code under the hood.

This commit facilitates moving this switch from the FATES parameter file
to the namelist
This commit facilitates moving this switch from the FATES parameter file
to the namelist
This commit facilitates moving this switch from the FATES parameter file
to the namelist
This commit facilitates moving this switch from the FATES parameter file
to the namelist
This commit facilitates moving this switch from the FATES parameter file
to the namelist
This commit facilitates moving this switch from the FATES parameter file
to the namelist
This commit facilitates moving this switch from the FATES parameter file
to the namelist
@glemieux glemieux force-pushed the fates-switch-migration branch from d825989 to 47fd489 Compare December 12, 2024 20:14
@glemieux glemieux marked this pull request as ready for review December 12, 2024 20:20
@glemieux
Copy link
Collaborator Author

Note: This could be rebased to the b4b-dev branch if the fates tag update does not contain b4b differences from the perspective of aux_clm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress - master/b4b-dev
Development

Successfully merging this pull request may close these issues.

1 participant