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

Add constituent tendency updater #111

Merged
merged 7 commits into from
Nov 27, 2024

Conversation

peverwhee
Copy link
Collaborator

@peverwhee peverwhee commented Aug 22, 2024

Originator(s): peverwhee

Summary (include the keyword ['closes', 'fixes', 'resolves'] and issue number):
Adds the apply_constituent_tendencies scheme to utilties/physics_tendency_updaters.F90.

  • Replaces dadadj_apply_qv_tendency in the dadadj suite.

Describe any changes made to the namelist: None

List all files eliminated and why:
D schemes/dry_adiabatic_adjust/dadadj_apply_qv_tendency.F90
D schemes/dry_adiabatic_adjust/dadadj_apply_qv_tendency.meta

  • remove now-unnecessary temporary water vapor state update scheme

List all files added and what they do: none

List all existing files that have been modified, and describe the changes:
(Helpful git command: git diff --name-status development...<your_branch_name>)
M schemes/dry_adiabatic_adjust/dadadj.meta

  • add constituent = True metadata property to tendency variable

M schemes/utilities/physics_tendency_updaters.F90
M schemes/utilities/physics_tendency_updaters.meta

  • add new apply_constituent_tendencies scheme

M test/test_suites/suite_dry_adiabatic_adjust.xml

  • replace temporary tendency updater scheme with new one

List any test failures: none

  • Confirmed no differences found with ne5 run of dadadj (compared to snapshots) on derecho

Is this a science-changing update? New physics package, algorithm change, tuning changes, etc? No

@peverwhee peverwhee marked this pull request as ready for review November 7, 2024 21:14
@peverwhee peverwhee requested a review from nusbaume November 7, 2024 21:14
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.

Looks good, but did have one request (which does expand the PR scope a little, sorry!).

Also just a reminder to update the missing standard names list when you get the chance. Thanks!

@peverwhee peverwhee requested a review from nusbaume November 8, 2024 21:16
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.

Looks great now, thanks!

@peverwhee peverwhee requested a review from mwaxmonsky November 11, 2024 17:52
Copy link
Collaborator

@mwaxmonsky mwaxmonsky left a comment

Choose a reason for hiding this comment

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

Looks great @peverwhee!

@peverwhee peverwhee merged commit 045b630 into ESCOMP:development Nov 27, 2024
3 checks passed
peverwhee added a commit to ESCOMP/CAM-SIMA that referenced this pull request Nov 27, 2024
Tag name (required for main):
Originator(s): peverwhee

Summary (include the keyword ['closes', 'fixes', 'resolves'] and issue
number): Brings in and enables new apply_constituent_tendencies scheme
(from ESCOMP/atmospheric_physics#111)

Describe any changes made to build system: Exclude constituent
tendencies from required variables (now handled by the CCPP Framework in
NCAR/ccpp-framework#584)

Describe any changes made to the namelist: None

List any changes to the defaults for the input datasets (e.g. boundary
datasets): None

List all files eliminated and why: None

List all files added and what they do: None

List all existing files that have been modified, and describe the
changes:
(Helpful git command: `git diff --name-status
development...<your_branch_name>`)

M     .gitmodules
- update CCPP-Framework and atmospheric_physics externals to point to
updates for constituent tendencies

M     src/data/write_init_files.py
- exclude constituent tendency variables (and array) from required
variables list

If there are new failures (compare to the existing-test-failures.txt
file),
have them OK'd by the gatekeeper, note them here, and add them to the
file.
If there are baseline differences, include the test and the reason for
the
diff. What is the nature of the change? Roundoff?

derecho/intel/aux_sima:

derecho/gnu/aux_sima:

CAM-SIMA date used for the baseline comparison tests if different than
latest:

---------

Co-authored-by: Courtney Peverley <courtneyp@izumi.cgd.ucar.edu>
jimmielin added a commit that referenced this pull request Dec 31, 2024
Tag name (The PR title should also include the tag name):
`atmos_phys0_07_001`
Originator(s): @jimmielin

List all `development` PR URLs included in this PR and a short
description of each:
* Update extraterrestrial flux in TUV-x prior to calculating rate constants #152 by @boulderdaze
* Simplify deallocation of multiple objects associated with the TUV-x #156 by @boulderdaze
* Fill in errmsg, errflg in check_energy schemes #160 by @jimmielin
* Validates the MUSICA meta data against the CCPP standard names #162 by @boulderdaze
* Add constituent tendency updater #111 by @peverwhee
* Add cloud optical calculations for use in TUV-x #167 by @mattldawson
* Add initialize_constituents scheme #149 by @peverwhee
* Add diagnostics to TJ2016 test schemes #170 by @peverwhee
* update "radians" to "rad" #173 by @peverwhee
* Solar zenith angle and Earth-Sun distance #171 by @mattldawson
* Update standard names for tropopause_find #140 by @jimmielin
* Update surface albedo units #181 by @mattldawson
* don't set water species property for species that air_composition handles #185 by @peverwhee

List all test failures: N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants