-
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
Update temperature cost function for symbiotic Nfix in FUN #2869
Conversation
Given that the new temperature cost function will be included in the ctsm6 release, we will need to re-run the One-at-a-time parameter ensemble. To do so, we will need a tag that is greater than ctsm5.3.010 with this new cost function added. We will also need a parameter file that is compatible with ctsm5.3.010 (ctsm60_params.c241017.nc) and adds the three new parameters from this function. I'll also need a restart from the 2-degree spinup Will already ran. |
@linniahawkins and @ekluzek I've:
Next steps would be to:
Let me know what you think of this plan and what I've missed. |
…nd update ctsm60 file so that it is based on the previous one with the nfix fields just added to the end
Testing on Derecho and Izumi are as expected other than the following which fail, because they need update parameter files ERS_Ld3.f10_f10_mg37.I2000Clm60Bgc.derecho_intel.clm-ciso_cwd_hr (RUN) |
Branch tag made: branch_tags/BNF_v2.n01_ctsm5.3.012 |
@slevis-lmwg can you help add a namelist flag that controls the Houlton or Bytnerowicz function? Initially it should default to Houlton and be merged on b4b-dev. |
I have checked out this branch to work on the namelist flag: Current plan: |
Testing code mods with |
@wwieder my code mods are pushed and ready for your review. I could not assign you the review because you own the PR :-) |
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 adding in the namelist controls, @slevis-lmwg. I'm assuming it will be straightforward for CLM5 physics to default to Houlton and CLM6 physics to default to Tom's function once we have it turned on?
Currently it always defaults to Houlton but, yes, later we can change namelist_defaults_ctsm.xml to
|
I want to follow up regarding the COMPARE_base_rest failure above by
|
@wwieder I still get the COMPARE_base_rest failure in my follow-up test above. The Bytnerowicz method may need a new variable sent to restart to give b4b restarts. We can discuss and/or I could try to resolve this before we discuss. |
@wwieder I may have been quick to conclude that there was a problem. I now see that my "case2run" in the test used "Houlton" even though the base case used "Bytnerowicz" so I need to revisit my testing approach. |
Ok, I just had to temporarily hardwire Bytnerowicz as the default and the COMPARE_base_rest test passed, so we're good. |
This comment suggests that I will likely need to open an issue/PR to debug some aspect of the code that was introduced here. |
Merge tmp-241219 branch to master Includes three tmp-241219 tags: tmp-241219.n01.ctsm5.3.016 Merge b4b-dev: nfix_method options Houlton (default), Bytnerowicz (option) tmp-241219.n02.ctsm5.3.016 FATES hydro test update tmp-241219.n03.ctsm5.3.016 Bug fix for izumi nag tests to pass (b4b unless using Bytnerowicz) Fixes ESCOMP#2924 Fix problem with izumi nag tests Fixes ESCOMP#2878 Remove fates_allom_smode shell_command update in FatesColdHydro testmod Fixes ESCOMP#2869 Update temperature cost function for symbiotic nfix in FUN Changes answers as documented in the ChangeLog. slevis resolved conflicts: doc/ChangeLog doc/ChangeSum
Merge tmp-241219 branch to master Includes three tmp-241219 tags: tmp-241219.n01.ctsm5.3.016 Merge b4b-dev: nfix_method options Houlton (default), Bytnerowicz (option) tmp-241219.n02.ctsm5.3.016 FATES hydro test update tmp-241219.n03.ctsm5.3.016 Bug fix for izumi nag tests to pass (b4b unless using Bytnerowicz) Fixes ESCOMP#2924 Fix problem with izumi nag tests Fixes ESCOMP#2878 Remove fates_allom_smode shell_command update in FatesColdHydro testmod Fixes ESCOMP#2869 Update temperature cost function for symbiotic nfix in FUN Changes answers as documented in the ChangeLog.
Description of changes
Updates temperature cost function of Nfix using lab measurements from Bytnerowicz et al. (2022), see Supplementary Table 3.
Specific notes
Replaces the Houlton temperature cost function that's currently used in CNFUN.
/glade/work/wwieder/modified_inputs/ctsm60_params_nfix.c241101.nc
Updated temperature function (below in blue) compared to the default temperature function from Houlton et al (orange) to calculate C costs of N fix in FUN (second figure).
Contributors other than yourself, if any:
Tom Bytnerowicz, @tbytnero, [email protected]
CTSM Issues Fixed (include github issue #):
None
Are answers expected to change (and if so in what way)?
Reduces temperate N fix and vegetation C pools. Also modifies temporal changes over historical and SSP scenarios.
Diagnostics from CRU-JRA forced runs at f19 posted here
Issue on LMWG-dev linked here
Discussion on Nfix started on LMWG-dev
Any User Interface Changes (namelist or namelist defaults changes)?
TODO add namelist option for Bytnerowicz vs. Houlton Nfix cost function
Does this create a need to change or add documentation? Did you do so?
Needs to be added to documentation, not currently done
Testing performed, if any:
Ran scientific tests in point simulations (CLM5.1 code base) and global 2 degree spinup, historical and SSP2-4.5 case.