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

cam6_3_109: Science and infrastructure changes to improve energy/mass budget reporting and closure. #761

Merged
merged 192 commits into from
Apr 28, 2023

Conversation

jtruesdal
Copy link
Collaborator

@jtruesdal jtruesdal commented Mar 10, 2023

Add inline energy/mass budgets support. (#519) Science changes are included that help close the mass and energy budgets of physics and the SE/MPAS dycores (#521) as well as adding all water constituents to atmospheric mass (pressure) (#520). Lastly a small fix for issue #790.

We've been testing with an interim CTSM branch that has MPAS land boundary condition files. There is a parallel PR ESCOMP/CTSM#1501 to get these updated MPAS files into the land repo.

As of this PR energy/mass budgets have been added for physics and the SE and MPAS dycores. The work of budget improvement, expansion to other supported dycores, and refactor of the logging infrastructure will continue in future PRs.
Most functional regression testing are passing and baselines are expected to fail due to the climate changing science updates.

Similar to amwg_diagnostic functionality, energy/mass budget diagnostic fields will be added to a history file via the thermo_budget_histfile_num namelist parameter. Globally averaged energy budget summaries are also calculated and written to the atm log file every time the budget history tape is written to. The period over which energy and mass budgets are averaged is the same as the averaging period of the history budget file. Thus history budgets can be output/averaged at time step, hour, or month resolutions using the nhtfrq variable specific to the budget history file identified by (.false.) The default is .false. (no budgeting) because of the global gathers needed to create the budgets.

closes #790
closes #519
closes #520
closes #521
closes #789

…le that handles the meta data involved in working with budgets similar to the way constituents are handled
Pass surface ozone concentrations to coupler
Merge pull request ESCOMP#409 from PUMASDevelopment/gettelman_pumas_update0821
Copy link
Collaborator

@nusbaume nusbaume left a comment

Choose a reason for hiding this comment

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

All of my concerns have been resolved or properly deferred, so I am happy with this PR. Thanks @jtruesdal and @PeterHjortLauritzen for all your work on the review responses!

@fvitt
Copy link

fvitt commented Apr 27, 2023

I don't have time to do a proper review

@fvitt fvitt requested review from fvitt and removed request for fvitt April 27, 2023 17:46
@jtruesdal jtruesdal requested a review from cacraigucar April 27, 2023 22:58
@jtruesdal jtruesdal force-pushed the ebudget_dev_update branch from 50c8f09 to b51b632 Compare April 28, 2023 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Tag
Development

Successfully merging this pull request may close these issues.

7 participants