overflow respiration bug fixes #3491#4014
Conversation
Merge b4b-dev to master Details in PR ESCOMP#4000
wwieder
left a comment
There was a problem hiding this comment.
Minor change, do we need to request a review from someone else?
| trim(decomp_cascade_con%decomp_pool_name_long(decomp_cascade_con%cascade_donor_pool(l))) | ||
| call hist_addfld1d (fname=fieldname, units='gC/m^2/s', & | ||
| avgflag='A', long_name=longname, & | ||
| ptr_col=data1dptr) |
There was a problem hiding this comment.
Here and below: I decided to make them default active while we're testing. Can return them to inactive before merging if we prefer.
| do fc = 1,num_bgc_soilc | ||
| c = filter_bgc_soilc(fc) | ||
| this%somhr_col(c) = this%somhr_col(c) + this%decomp_cascade_hr_col(c,k) | ||
| this%c_overflow_hr_sum(c) = this%c_overflow_hr_sum(c) + this%c_overflow_hr(c,k) |
There was a problem hiding this comment.
Rather than adding a unique new loop to sum the c_overflow_hr_sum variable, I introduced partial sums in the existing loops. This line here is in the "is_soil" loop, next is the litter loop, then cwd, and last the is_microbe loop.
@wwieder based on what you said this morning, we may need to have this in one or some of those and not all, but I went for full coverage since I do not know.
There was a problem hiding this comment.
I think that's fine. I'm curious to see what the history files from MIMICS tests look like, once you are able to run them on derecho.
There was a problem hiding this comment.
I think that's fine. I'm curious to see what the history files from MIMICS tests look like, once you are able to run them on derecho.
@wwieder in the next post I have posted four mimics tests that you could look at in this directory:
/glade/work/slevis/git_people/wwieder/mimics_5.2.028_working/tests_0513-205326de/
|
|
@wwieder do you want to pick another reviewer? Maybe Sam R. would be a good option? |
I think this makes sense. Should we see what derecho testing look like first, or just go ahead and request Sam's review? |
I say let's wait, just in case derecho testing discovers problems that require code revisions. |
Description of changes
Fixes overflow respiration error described in #3491
Specific notes
Contributors other than yourself, if any:
CTSM issues resolved or otherwise addressed, if any:
Resolves #3491
If answers are expected to change, describe (delete this line otherwise):
Yes, reduces N limitation in MIMICS simulations
Any user interface changes (namelist or namelist defaults changes)?
NA
Testing planned or performed, if any:
Requirements before merge:
The code in this PR branch builds with no errors.
The code in this PR branch runs with no errors. Briefly describe tested configuration(s):
This either (a) does not change answers, (b) it only changes answers at roundoff level, or (c) I have performed a scientific evaluation of the answer changes. Which?:
I have reviewed relevant parts of the CLM documentation Tech Note or User's Guide to determine if anything needs to be changed or added. If it does, describe:
Documentation for MIMICS still needed, see Docs needed: MIMICS #3166
This PR either (a) does not create a need to update the documentation or (b) includes required documentation updates (see guidelines for contributing documentation). Which?:
Documentation for MIMICS still needed, see Docs needed: MIMICS #3166