Skip to content

Commit

Permalink
Merge pull request #2231 from rgknox/fates-npp-fix
Browse files Browse the repository at this point in the history
Fates npp fix
  • Loading branch information
ekluzek authored Nov 7, 2023
2 parents 54c37a4 + 9c3ea99 commit dc164d5
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Externals_CLM.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
local_path = src/fates
protocol = git
repo_url = https://github.com/NGEET/fates
tag = sci.1.68.0_api.28.0.0
tag = sci.1.68.1_api.29.0.0
required = True

[externals_description]
Expand Down
74 changes: 74 additions & 0 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,78 @@
===============================================================
Tag name: ctsm5.1.dev150
Originator(s): rgknox (Ryan Knox,LAWRENCE BERKELEY NATIONAL LABORATORY,510-495-2153)
Date: Mon Nov 6 14:12:37 MST 2023
One-line Summary: FATES API fix to support future fates npp-fixation coupling, and urgent coupling fixes with E3SM.

Purpose and description of changes
----------------------------------

This set of changes accomodates an API change on the FATES side of the code. Those changes are needed
to accomodate a bug-fix in E3SM. These changes will also accomodate correct coupling with free-living nitrogen
fixation when it is enabled in clm-fates.


Significant changes to scientifically-supported configurations
--------------------------------------------------------------

none

Bugs fixed or introduced
------------------------

Supports fixes FATES issues:
https://github.com/NGEET/fates/issues/1113
https://github.com/NGEET/fates/issues/1106

CTSM issues fixed (include CTSM Issue #): none

Known bugs introduced in this tag (include issue #):

Notes of particular relevance for users
---------------------------------------

none

Notes of particular relevance for developers:
---------------------------------------------

This set of changes is introduced, while there is a known test failure in:
ERS_Lm20_Mmpi-serial.1x1_smallvilleIA.I2000Clm50BgcCropQianRs.izumi_gnu.clm-cropMonthlyNoinitial

This is documented in issue: 2236 and a fix is slated for integration. The nature of the changes
in this PR where obviously orthogonal to the issue.

Changes to tests or testing: none


Testing summary:
----------------
regular tests (aux_clm: https://github.com/ESCOMP/CTSM/wiki/System-Testing-Guide#pre-merge-system-testing):

cheyenne ---- ok
izumi ------- ok

fates tests: (give name of baseline if different from CTSM tagname, normally fates baselines are fates-<FATES TAG>-<CTSM TAG>)
cheyenne ---- ok


Answer changes
--------------

no answer changes

Other details
-------------

none

Pull Requests that document the changes (include PR ids):

https://github.com/ESCOMP/CTSM/pull/2231


===============================================================
===============================================================
Tag name: ctsm5.1.dev149
Originator(s): samrabin (Sam Rabin, UCAR/TSS, [email protected])
Date: Fri Nov 3 19:52:44 MDT 2023
Expand Down
1 change: 1 addition & 0 deletions doc/ChangeSum
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Tag Who Date Summary
============================================================================================================================
ctsm5.1.dev150 rgknox 11/06/2023 FATES API fix to support future fates npp-fixation coupling, and urgent coupling fixes with E3SM.
ctsm5.1.dev149 samrabin 11/03/2023 Rearrange leaf/stem "harvest" and fix soil gas diffusivity
ctsm5.1.dev148 samrabin 11/03/2023 Add GRAINN outputs
ctsm5.1.dev147 samrabin 10/30/2023 Add sowing window input files
Expand Down
2 changes: 1 addition & 1 deletion src/utils/clmfates_interfaceMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3042,7 +3042,7 @@ subroutine WrapUpdateFatesRmean(this, nc, temperature_inst)
end do
end do

call UpdateFatesRMeansTStep(this%fates(nc)%sites,this%fates(nc)%bc_in)
call UpdateFatesRMeansTStep(this%fates(nc)%sites,this%fates(nc)%bc_in,this%fates(nc)%bc_out)

end subroutine WrapUpdateFatesRmean

Expand Down

0 comments on commit dc164d5

Please sign in to comment.