Skip to content

Conversation

@fvitt
Copy link
Contributor

@fvitt fvitt commented Jul 7, 2025

Description of changes

Implement namelist options for soil moisture activation factor used in MEGAN isoprene emissions

Specific notes

Contributors other than yourself, if any:

CTSM Issues Fixed (include github issue #):
Fixes #3016

Are answers expected to change (and if so in what way)? Only when turned on

Any User Interface Changes (namelist or namelist defaults changes)?

Two new CTSM megan_opts namelist items:
megan_use_gamma_sm
megan_min_gamma_sm

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

Testing performed, if any: aux_clm on Derecho and Izumi as usual

	modified:   bld/namelist_files/namelist_definition_drv_flds.xml
	modified:   src/biogeochem/VOCEmissionMod.F90
Copy link
Contributor

@wwieder wwieder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening up this PR, @fvitt .

@ekluzek see my comments / questions on the cdeps side of this PR for staging. I'm also not sure what timeline is needed for bringing this into a CESM tag?

@ekluzek ekluzek added bfb bit-for-bit enhancement new capability or improved behavior of existing capability priority: high High priority to fix/merge soon, e.g., because it is a problem in important configurations science Enhancement to or bug impacting science labels Jul 8, 2025
@ekluzek ekluzek added this to the cesm3_0_beta07 milestone Jul 8, 2025
@ekluzek
Copy link
Collaborator

ekluzek commented Jul 8, 2025

@fvitt there's two primary questions I have here.

  1. If the naemlist items need to be in CDEPS or if they can be local to CTSM?
  2. What additional testing should look like for this?

Minimally we need to run the test list to ensure answers are b4b with the change as we expect. And we should run at least one test (if not the whole test list) with it turned on to make sure it works with the change.

@fvitt
Copy link
Contributor Author

fvitt commented Jul 8, 2025

As @ekluzek suggests, the namelist options should probably be implemented in CTSM rather than in CMEPS

        modified:   bld/namelist_files/namelist_definition_drv_flds.xml
        modified:   bld/CLMBuildNamelist.pm
        modified:   bld/namelist_files/namelist_definition_ctsm.xml
        modified:   src/biogeochem/VOCEmissionMod.F90
        modified:   src/main/clm_instMod.F90
Copy link
Contributor

@wwieder wwieder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for bringing this into a clm namelist change, Francis.

@wwieder
Copy link
Contributor

wwieder commented Jul 10, 2025

@fvitt are you ready for us to review (and merge) this PR?

@fvitt
Copy link
Contributor Author

fvitt commented Jul 10, 2025

@fvitt are you ready for us to review (and merge) this PR?

Yes I am ready for review. Shawn is testing.

Copy link
Collaborator

@ekluzek ekluzek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great. This could go on b4b-dev.

@github-project-automation github-project-automation bot moved this to Ready to start (or start again) in CTSM: Upcoming tags Jul 15, 2025
@ekluzek ekluzek moved this from Ready to start (or start again) to In progress - master in CTSM: Upcoming tags Jul 15, 2025
@ekluzek ekluzek moved this from Todo to In Progress in LMWG: Sprint Planning Board Jul 22, 2025
@ekluzek ekluzek moved this from In Progress to Done in LMWG: Sprint Planning Board Jul 22, 2025
@ekluzek ekluzek changed the base branch from master to b4b-dev July 24, 2025 00:50
 Conflicts:
	bld/unit_testers/build-namelist_test.pl
@ekluzek
Copy link
Collaborator

ekluzek commented Jul 24, 2025

Some tests are showing a difference in answers of what looks like roundoff level.

I'm trying setting

megan_min_gamma_sm = -5.e-14

to see if it's something about rounding below zero.

@ekluzek ekluzek added the next this should get some attention in the next week or two. Normally each Thursday SE meeting. label Jul 24, 2025
@ekluzek ekluzek moved this from In progress - master to In progress - b4b-dev in CTSM: Upcoming tags Jul 24, 2025
@ekluzek ekluzek removed the next this should get some attention in the next week or two. Normally each Thursday SE meeting. label Jul 24, 2025
@ekluzek ekluzek merged commit f783875 into ESCOMP:b4b-dev Jul 25, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from In progress - b4b-dev to Done (non release/external) in CTSM: Upcoming tags Jul 25, 2025
@ekluzek ekluzek deleted the isop_sm_factor branch July 25, 2025 06:09
@wwieder
Copy link
Contributor

wwieder commented Jul 25, 2025

🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bfb bit-for-bit enhancement new capability or improved behavior of existing capability priority: high High priority to fix/merge soon, e.g., because it is a problem in important configurations science Enhancement to or bug impacting science

Projects

Status: Done (non release/external)
Status: Done

Development

Successfully merging this pull request may close these issues.

Low MEGAN emissions in CESM3

3 participants