Skip to content

Commit 8b4d541

Browse files
authored
Update teout standard name for check_energy; bring in check_energy diagnostic output (#339)
Tag name (required for release branches): sima0_03_000 Originator(s): @jimmielin Description (include the issue title, and the keyword ['closes', 'fixes', 'resolves'] followed by the issue number): Closes ESCOMP/atmospheric_physics#161, ESCOMP/atmospheric_physics#166, ESCOMP/atmospheric_physics#176: - Fixes Add check_energy related history output variables to check_energy_diagnostics ESCOMP/atmospheric_physics#161 - Fixes Need to remove old CAM suite definition files [#166](ESCOMP/atmospheric_physics#166) as well (but other PRs might get to it first) since I'm modifying the SDF files in this PR anyway - Fixes Update standard name for teout [#176](ESCOMP/atmospheric_physics#176) (updates teout standard name to vertically_integrated_total_energy_using_dycore_energy_formula_at_end_of_physics_timestep) Companion PRs: - ESCOMP/atmospheric_physics#178 - ESCOMP/atmospheric_physics#169 Describe any changes made to build system: N/A Describe any changes made to the namelist: N/A List any changes to the defaults for the input datasets (e.g. boundary datasets): N/A List all files eliminated and why: N/A List all files added and what they do: N/A List all existing files that have been modified, and describe the changes: (Helpful git command: `git diff --name-status development...<your_branch_name>`) ``` Updates teout standard name to vertically_integrated_total_energy_using_dycore_energy_formula_at_end_of_physics_timestep M src/data/registry.xml M src/dynamics/mpas/dyn_comp.F90 M src/dynamics/none/dyn_grid.F90 M src/dynamics/se/dyn_comp.F90 Updates atmospheric_physics submodule. M .gitmodules M src/physics/ncar_ccpp Notes that CAM7 test is preexisting failure. M test/existing-test-failures.txt ``` If there are new failures (compared to the `test/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: SMS_Ln9.mpasa480_mpasa480.FKESSLER.derecho_intel.cam-outfrq_kessler_mpas_derecho (Overall: DIFF) details: SMS_Ln9.ne5pg3_ne5pg3_mg37.FKESSLER.derecho_intel.cam-outfrq_se_cslam (Overall: DIFF) details: SMS_Ln9.ne5pg3_ne5pg3_mg37.FTJ16.derecho_intel.cam-outfrq_se_cslam (Overall: DIFF) details: - baseline differences due to new thermo_water_update scheme in Kessler and TJ2016. SMS_Ln9.ne5pg3_ne5pg3_mg37.FCAM7.derecho_intel.cam-outfrq_se_cslam_analy_ic (Overall: FAIL) details: - pre-existing failure in CAM7 tests ``` ``` derecho/gnu/aux_sima: SMS_Ln2.ne3pg3_ne3pg3_mg37.FPHYStest.derecho_gnu.cam-outfrq_kessler_derecho (Overall: NLFAIL) details: FAIL SMS_Ln2.ne3pg3_ne3pg3_mg37.FPHYStest.derecho_gnu.cam-outfrq_kessler_derecho NLCOMP - suite_kessler.xml changed to suite_kessler_test.xml, NLCOMP failure for physics_suite. the actual run passes BFB SMS_Ln9.mpasa480_mpasa480.FKESSLER.derecho_gnu.cam-outfrq_kessler_mpas_derecho (Overall: DIFF) details: SMS_Ln9.ne5pg3_ne5pg3_mg37.FKESSLER.derecho_gnu.cam-outfrq_se_cslam (Overall: DIFF) details: SMS_Ln9.ne5pg3_ne5pg3_mg37.FTJ16.derecho_gnu.cam-outfrq_se_cslam (Overall: DIFF) details: - baseline differences due to new thermo_water_update scheme in Kessler and TJ2016. SMS_Ln9.ne5pg3_ne5pg3_mg37.FCAM7.derecho_gnu.cam-outfrq_se_cslam_analy_ic (Overall: FAIL) details: - pre-existing failure in CAM7 tests ``` If this changes climate describe any run(s) done to evaluate the new climate in enough detail that it(they) could be reproduced: CAM-SIMA date used for the baseline comparison tests if different than latest:
1 parent c6de6d7 commit 8b4d541

File tree

8 files changed

+12
-9
lines changed

8 files changed

+12
-9
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[submodule "ncar-physics"]
2121
path = src/physics/ncar_ccpp
2222
url = https://github.com/ESCOMP/atmospheric_physics
23-
fxtag = atmos_phys0_08_000
23+
fxtag = 252b500a93c89f36ece7d8ba08fd8eb025279eaa
2424
fxrequired = AlwaysRequired
2525
fxDONOTUSEurl = https://github.com/ESCOMP/atmospheric_physics
2626
[submodule "ccs_config"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
./xmlchange CAM_CONFIG_OPTS="--dyn none --physics-suites kessler"
1+
./xmlchange CAM_CONFIG_OPTS="--dyn none --physics-suites kessler_test"

src/data/registry.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256
<ic_file_input_names>tw_cur state_tw_cur</ic_file_input_names>
257257
</variable>
258258
<variable local_name="teout"
259-
standard_name="vertically_integrated_total_energy_at_end_of_physics_timestep"
259+
standard_name="vertically_integrated_total_energy_using_dycore_energy_formula_at_end_of_physics_timestep"
260260
units="J m-2" type="real" kind="kind_phys"
261261
allocatable="allocatable">
262262
<long_name>Total energy using dynamical core formula at the end of physics timestep</long_name>
@@ -343,7 +343,7 @@
343343
<data>vertically_integrated_total_energy_using_dycore_energy_formula</data>
344344
<data>vertically_integrated_total_water_at_start_of_physics_timestep</data>
345345
<data>vertically_integrated_total_water</data>
346-
<data>vertically_integrated_total_energy_at_end_of_physics_timestep</data>
346+
<data>vertically_integrated_total_energy_using_dycore_energy_formula_at_end_of_physics_timestep</data>
347347
</ddt>
348348
<ddt type="physics_tend">
349349
<data>tendency_of_air_temperature_due_to_model_physics</data>

src/dynamics/mpas/dyn_comp.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,8 +1072,8 @@ subroutine mark_variables_as_initialized()
10721072
! While we are not responsible for initializing or updating them, we still need to help mark them as initialized.
10731073

10741074
! These variables are to be set externally by the `check_energy_chng` CCPP physics scheme.
1075-
call mark_as_initialized('vertically_integrated_total_energy_at_end_of_physics_timestep')
10761075
call mark_as_initialized('vertically_integrated_total_energy_using_dycore_energy_formula')
1076+
call mark_as_initialized('vertically_integrated_total_energy_using_dycore_energy_formula_at_end_of_physics_timestep')
10771077
call mark_as_initialized('vertically_integrated_total_energy_using_dycore_energy_formula_at_start_of_physics_timestep')
10781078
call mark_as_initialized('vertically_integrated_total_energy_using_physics_energy_formula')
10791079
call mark_as_initialized('vertically_integrated_total_energy_using_physics_energy_formula_at_start_of_physics_timestep')

src/dynamics/none/dyn_grid.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ subroutine find_energy_formula(file, grid_is_latlon)
703703
call mark_as_initialized("vertically_integrated_total_energy_using_dycore_energy_formula")
704704
call mark_as_initialized("vertically_integrated_total_water_at_start_of_physics_timestep")
705705
call mark_as_initialized("vertically_integrated_total_water")
706-
call mark_as_initialized("vertically_integrated_total_energy_at_end_of_physics_timestep")
706+
call mark_as_initialized("vertically_integrated_total_energy_using_dycore_energy_formula_at_end_of_physics_timestep")
707707

708708
end subroutine find_energy_formula
709709

src/dynamics/se/dyn_comp.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1873,7 +1873,7 @@ subroutine read_inidat(dyn_in)
18731873
call mark_as_initialized("vertically_integrated_total_energy_using_dycore_energy_formula")
18741874
call mark_as_initialized("vertically_integrated_total_water_at_start_of_physics_timestep")
18751875
call mark_as_initialized("vertically_integrated_total_water")
1876-
call mark_as_initialized("vertically_integrated_total_energy_at_end_of_physics_timestep")
1876+
call mark_as_initialized("vertically_integrated_total_energy_using_dycore_energy_formula_at_end_of_physics_timestep")
18771877

18781878
end subroutine read_inidat
18791879

test/existing-test-failures.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
All clear!
1+
SMS_Ln9.ne5pg3_ne5pg3_mg37.FCAM7.derecho_intel.cam-outfrq_se_cslam_analy_ic (Overall: FAIL) details:
2+
SMS_Ln9.ne5pg3_ne5pg3_mg37.FCAM7.derecho_gnu.cam-outfrq_se_cslam_analy_ic (Overall: FAIL) details:
3+
- CAM7 suite will not work without a PBL scheme
4+
- CAM7 suite will not work with snapshot fields in registry.xml even if initial_value is defined (CAM-SIMA#359)

0 commit comments

Comments
 (0)