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

initializing gru products to zero in fates runs #2168

Merged
merged 6 commits into from
Oct 13, 2023

Conversation

rgknox
Copy link
Collaborator

@rgknox rgknox commented Sep 20, 2023

Description of changes

The cn_products gru pools were not being initialized for a fates run. They are set to zero. In the future when fates can accomodate lu transitions and products, we will update this field accordingly.

Specific notes

Contributors other than yourself, if any:
software dev team, @ekluzek

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

Are answers expected to change (and if so in what way)?

wood product variables will now include a zero instead of an uninitialized for calculations, at least on the first time-step for a fates-clm run. Since the history omits averaging of with uninitialized, and the gru variables only contribute partially to the total wood product diagnostic in fates-clm tests, I don't think this will have an effect on the output.

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

Testing performed, if any: Ran standard testing

@rgknox rgknox changed the title Extending intialization of cn_products gru_ variables to restarts initializing gru products to zero in fates runs Sep 20, 2023
@rgknox
Copy link
Collaborator Author

rgknox commented Oct 11, 2023

Testing on cheyenne is as expected, all tests b4b with dev142, with exception of FATES tests that track wood products (ERP_Ld9.f45_f45_mg37.I2000Clm50FatesRs.cheyenne_intel.clm-FatesColdAllVars.GC.1010-133407ch_int). Those values now (intentionally) have 0's instead of unitialized:

/glade/scratch/rgknox/tests_1010-133407ch

Testing on Izumi is all pass: /scratch/cluster/rgknox/tests_1011-125117iz

@ekluzek ekluzek self-assigned this Oct 13, 2023
@ekluzek ekluzek added the bug something is working incorrectly label Oct 13, 2023
@ekluzek ekluzek removed the bug something is working incorrectly label Oct 13, 2023
@ekluzek ekluzek merged commit 77b9f61 into ESCOMP:master Oct 13, 2023
1 check passed
@ekluzek ekluzek deleted the clmfates-gru-init-fix branch October 13, 2023 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done (non release/external)
Development

Successfully merging this pull request may close these issues.

history write error on TOT_WOODPROC with CLMFATES gnu
2 participants