Skip to content

Commit e055d7b

Browse files
brian-eatonSteve Goldhaber
authored andcommitted
ESCOMP tag: cam6_4_055
Merge pull request ESCOMP#1203 from brian-eaton/misc06 cam6_4_055: Add QPLT and QPMT compsets, plus misc. ESCOMP commit: 7de26a3
1 parent fd0f9d9 commit e055d7b

File tree

14 files changed

+311
-135
lines changed

14 files changed

+311
-135
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<?xml version="1.0"?>
2+
3+
<namelist_defaults>
4+
5+
<!-- Spun up IC files -->
6+
<ncdata hgrid="ne3np4" nlev="58" >atm/cam/inic/se/QPLT_L58_ne3pg3_c241127.nc</ncdata>
7+
<ncdata hgrid="ne30np4" nlev="58" >atm/cam/inic/se/QPLT_L58_ne30pg3_c241127.nc</ncdata>
8+
<ncdata hgrid="ne3np4" nlev="93" >atm/cam/inic/se/QPMT_L93_ne3pg3_c241223.nc</ncdata>
9+
<ncdata hgrid="ne30np4" nlev="93" >atm/cam/inic/se/QPMT_L93_ne30pg3_c241223.nc</ncdata>
10+
11+
<!-- make planet orbit circular -->
12+
<orb_eccen >0.</orb_eccen>
13+
<orb_obliq >0.</orb_obliq>
14+
<orb_mvelp >0.</orb_mvelp>
15+
<orb_mode>fixed_parameters</orb_mode>
16+
17+
<!-- turn off volcanos -->
18+
<prescribed_strataero_feedback> false </prescribed_strataero_feedback>
19+
20+
<!-- APE ghg -->
21+
<ch4vmr >1.650e-6</ch4vmr>
22+
<n2ovmr >0.306e-6</n2ovmr>
23+
<co2vmr >348.0e-6</co2vmr>
24+
<f11vmr >0.0 </f11vmr>
25+
<f12vmr >0.0 </f12vmr>
26+
27+
<!-- Solar insolation of 1365 -->
28+
<solar_irrad_data_file >atm/cam/solar/ape_solar_ave_tsi_1365.nc</solar_irrad_data_file>
29+
30+
<!-- zonally symmetric ozone file -->
31+
<prescribed_ozone_file model_top="lt">apeozone_cam3_5_54.nc</prescribed_ozone_file>
32+
<prescribed_ozone_file model_top="mt">aquaplanet_ozone_hightop_c20180412.nc</prescribed_ozone_file>
33+
<prescribed_ozone_datapath>atm/cam/ozone</prescribed_ozone_datapath>
34+
<prescribed_ozone_name >OZONE</prescribed_ozone_name>
35+
<prescribed_ozone_type >CYCLICAL</prescribed_ozone_type>
36+
<prescribed_ozone_cycle_yr>1990</prescribed_ozone_cycle_yr>
37+
38+
<!-- Revised physics constants for ape experiments -->
39+
<sday >86164.10063718943</sday>
40+
<rearth >6.37100e6</rearth>
41+
<gravit >9.79764</gravit>
42+
<mwdry >28.96623324623746</mwdry>
43+
<mwh2o >18.01618112892741</mwh2o>
44+
<cpwv >1.846e3</cpwv>
45+
46+
<use_topo_file >.false.</use_topo_file>
47+
48+
<micro_mg_nccons >.true. </micro_mg_nccons>
49+
<micro_mg_nicons >.true. </micro_mg_nicons>
50+
<ext_frc_specifier > "" </ext_frc_specifier>
51+
<srf_emis_specifier > "" </srf_emis_specifier>
52+
<tracer_cnst_specifier > "" </tracer_cnst_specifier>
53+
<prescribed_aero_file > "" </prescribed_aero_file>
54+
<prescribed_aero_specifier> "" </prescribed_aero_specifier>
55+
56+
<seasalt_emis_scale > 0.0 </seasalt_emis_scale>
57+
58+
<!-- Just make the GHGs radiatively active (no aerosols).
59+
CFC concentrations are set to zero above -->
60+
<rad_climate> 'A:Q:H2O', 'N:O2:O2', 'N:CO2:CO2', 'N:ozone:O3',
61+
'N:N2O:N2O', 'N:CH4:CH4', 'N:CFC11:CFC11', 'N:CFC12:CFC12' </rad_climate>
62+
63+
</namelist_defaults>

cime_config/testdefs/testmods_dirs/cam/dae/shell_commands

Lines changed: 0 additions & 6 deletions
This file was deleted.

cime_config/testdefs/testmods_dirs/cam/dae/user_nl_cam

Lines changed: 0 additions & 4 deletions
This file was deleted.

cime_config/testdefs/testmods_dirs/cam/dae/user_nl_cpl

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
CAM_CONFIG_OPTS=`./xmlquery CAM_CONFIG_OPTS --value`
22
if [[ $CAM_CONFIG_OPTS != *"-cosp"* ]]; then
3-
./xmlchange -append CAM_CONFIG_OPTS="-cosp"
3+
./xmlchange --append CAM_CONFIG_OPTS="-cosp"
44
fi
55
./xmlchange ROF_NCPL=\$ATM_NCPL
66
./xmlchange GLC_NCPL=\$ATM_NCPL
7-
./xmlchange CAM_NML_USE_CASE=UNSET
87
./xmlchange RUN_STARTDATE="19950101"

cime_config/testdefs/testmods_dirs/cam/outfrq3s_cosp/user_nl_cam

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ mfilt=1,1,1,1,1,1
22
ndens=1,1,1,1,1,1
33
nhtfrq=3,3,3,3,3,3
44
inithist='ENDOFRUN'
5-
fexcl1='CFAD_DBZE94_CS','CLDTOT_CALCS','CLD_CAL_NOTCS','CS_MIXCERT','CS_MIXPOSS','CS_NOPRECIP','CS_PIA','CS_RAINPOSS','CS_RAINPROB'
5+
fexcl1='CFAD_DBZE94_CS','CLDTOT_CALCS','CLD_CAL_NOTCS','CS_MIXCERT','CS_MIXPOSS','CS_NOPRECIP','CS_PIA',
6+
'CS_RAINPOSS','CS_RAINPROB','CS_SNOWCERT','CS_SNOWPOSS'

doc/ChangeLog

Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,202 @@
11
===============================================================
22

3+
Tag name: cam6_4_055
4+
Originator(s): eaton
5+
Date: 13 January 2025
6+
One-line Summary: Add QPLT and QPMT compsets, plus misc.
7+
Github PR URL: https://github.com/ESCOMP/CAM/pull/1203
8+
9+
Purpose of changes (include the issue number and title text for each relevant GitHub issue):
10+
11+
Issue #814 - Introduce QPC7 and possibly QPS7 aquaplanet compsets
12+
- Analogous to FLT and FMT compset names, create QPLT and QPMT compsets.
13+
- Open new issue to address QPS7.
14+
- The new aquaplanet configurations use '-chem none' to eliminate the
15+
aerosols. This is much faster and requires much less memory than a
16+
configuration that leaves the default chemistry in place and removes
17+
aerosols by zeroing the initial concentrations and emission sources.
18+
19+
Issue #1159 - Prealpha tests exceeding wallclock
20+
- increased time limit to 20 minutes for these prealpha tests:
21+
ERP_Ln9.f09_f09_mg17.FHIST_BGC.derecho_intel.cam-outfrq9s
22+
ERP_Ln9.f09_f09_mg17.FHIST.derecho_intel.cam-outfrq9s
23+
24+
Issue #670 - DAE test broken
25+
- ChangeLog indicates that this test has never worked since it was added
26+
in cam6_2_046 (2020-09-01). Test removed.
27+
28+
Issue #807 - add UT and UQ to cam_diagnostics
29+
- Add UT and UQ. Note that other possible fields mentioned in the issue,
30+
i.e., OMEGA2, OMEGAQ, OMEGAU, and OMEGAV, are already implemented.
31+
OMEGA2 is called OMGAOMGA.
32+
33+
Describe any changes made to build system: none
34+
35+
Describe any changes made to the namelist: none
36+
37+
List any changes to the defaults for the boundary datasets:
38+
. add spun up initial files for QPLT compset on ne3pg3 and ne30pg3 grids.
39+
atm/cam/inic/se/QPLT_L58_ne3pg3_c241127.nc
40+
atm/cam/inic/se/QPLT_L58_ne30pg3_c241127.nc
41+
42+
. add spun up initial files for QPMT compset on ne3pg3 and ne30pg3 grids.
43+
atm/cam/inic/se/QPMT_L93_ne3pg3_c241223.nc
44+
atm/cam/inic/se/QPMT_L93_ne30pg3_c241223.nc
45+
46+
. add ozone dataset for high top aquaplanet runs
47+
atm/cam/ozone/aquaplanet_ozone_hightop_c20180412.nc
48+
49+
Describe any substantial timing or memory changes: n/a
50+
51+
Code reviewed by: cacraig
52+
53+
List all files eliminated:
54+
55+
cime_config/testdefs/testmods_dirs/cam/dae/shell_commands
56+
cime_config/testdefs/testmods_dirs/cam/dae/user_nl_cam
57+
cime_config/testdefs/testmods_dirs/cam/dae/user_nl_cpl
58+
test/system/da_cam_no_data_mod.sh
59+
. DAE test removed
60+
61+
List all files added and what they do: none
62+
63+
List all existing files that have been modified, and describe the changes:
64+
65+
bld/namelist_files/namelist_defaults_cam.xml
66+
. Remove ncdata files for nlev=58 and nlev=93 aquaplanet. Those files are
67+
specified in the aquaplanet_cam7.xml use case file.
68+
69+
bld/namelist_files/use_cases/aquaplanet_cam7.xml
70+
. use case file for QPLT and QPMT. Same as for QPC6 except:
71+
- set f11vmr=f12vmr=0 to override the non-zero default values from
72+
namelist_defaults_cam.xml.
73+
- set prescribed_aero_file="" and prescribed_aero_specifier="" to
74+
override the default bulk aerosol settings from build-namelist.
75+
- set rad_climate to just make the GHGs radiatively active to override
76+
the default build-namelist setting which includes bulk aerosols.
77+
- Add spun-up IC files. This allows us to remove the ic_ymd attribute
78+
which should not be needed for aquaplanet runs. Removing ic_ymd
79+
enables testing with arbitrary start dates.
80+
- Add ozone dataset for high top aquaplanet configuration
81+
82+
cime_config/config_component.xml
83+
. CAM_CONFIG_OPTS
84+
- add match for _CAM70.*_SLND_SICE_DOCN%AQP to set '-chem none'
85+
. CAM_NML_USE_CASE
86+
- add match for 2000_CAM70.*_SLND_SICE_DOCN%AQP to use aquaplanet_cam7.
87+
This match will work for both %LT and %MT configs.
88+
89+
cime_config/config_compsets.xml
90+
. add QPLT = 2000_CAM70%LT_SLND_SICE_DOCN%AQP3_SROF_SGLC_SWAV
91+
. add QPMT = 2000_CAM70%MT_SLND_SICE_DOCN%AQP3_SROF_SGLC_SWAV
92+
93+
cime_config/testdefs/testlist_cam.xml
94+
. increase time limit to 20 minutes for these prealpha tests:
95+
ERP_Ln9.f09_f09_mg17.FHIST_BGC.derecho_intel.cam-outfrq9s
96+
ERP_Ln9.f09_f09_mg17.FHIST.derecho_intel.cam-outfrq9s
97+
. remove non-working DAE test
98+
. replace ERP_D_Ln9.f19_f19_mg17.QPC6.derecho_intel.cam-outfrq9s
99+
by ERP_D_Ln9.ne30pg3_ne30pg3_mg17.QPLT.derecho_intel.cam-outfrq3s_cosp
100+
. Add ERP_D_Ln9.ne30pg3_ne30pg3_mg17.QPMT.derecho_intel.cam-outfrq9s
101+
. replace ERP_D_Ln9.ne3pg3_ne3pg3_mg37.QPC6.izumi_gnu.cam-outfrq9s_rrtmgp
102+
by ERP_D_Ln9.ne3pg3_ne3pg3_mg37.QPLT.izumi_gnu.cam-outfrq9s
103+
. Add ERP_D_Ln9.ne3pg3_ne3pg3_mg37.QPMT.izumi_gnu.cam-outfrq9s
104+
105+
cime_config/testdefs/testmods_dirs/cam/outfrq3s_cosp/shell_commands
106+
. remove "./xmlchange CAM_NML_USE_CASE=UNSET"
107+
108+
cime_config/testdefs/testmods_dirs/cam/outfrq3s_cosp/user_nl_cam
109+
. add CS_SNOWCERT and CS_SNOWPOSS to fexcl1
110+
111+
src/chemistry/mozart/mo_drydep.F90
112+
. get_landuse_and_soilw_from_file
113+
- restrict the INFO messages to only print from masterproc
114+
115+
src/physics/cam/cam_diagnostics.F90
116+
. diag_init_dry
117+
- add addfld call for UT, and corresponding add_default for UT inside the
118+
history_eddy conditional.
119+
. diag_phys_writeout_dry
120+
- add calculation and outfld call for UT
121+
. diag_init_moist
122+
- add addfld call for UQ, and corresponding add_default for UQ inside the
123+
history_eddy conditional.
124+
. diag_phys_writeout_moist
125+
- add calculation and outfld call for UQ
126+
127+
src/physics/cam/microp_aero.F90
128+
. microp_aero_run
129+
- add condition that number of bulk aerosols must be > 0 before calling
130+
ndrop_bam_run.
131+
132+
src/physics/cam/nucleate_ice_cam.F90
133+
. nucleate_ice_cam_calc
134+
- add conditionals so naer2 array not referenced when there are no
135+
aerosols.
136+
137+
src/physics/cam/vertical_diffusion.F90
138+
. vertical_diffusion_init
139+
- fix conditional around add_default call for UFLX and VFLX so those
140+
fields aren't added if they're not computed.
141+
142+
src/physics/cam7/physpkg.F90
143+
. tphysbc
144+
- add conditionals so modal aerosol calculations only called when modal
145+
aerosols are present.
146+
147+
If there were any failures reported from running test_driver.sh on any test
148+
platform, and checkin with these failures has been OK'd by the gatekeeper,
149+
then copy the lines from the td.*.status files for the failed tests to the
150+
appropriate machine below. All failed tests must be justified.
151+
152+
derecho/intel/aux_cam:
153+
154+
ERC_D_Ln9.f19_f19_mg17.QPC6.derecho_intel.cam-outfrq3s_cosp (Overall: DIFF)
155+
- diffs due to changing the test definition (in outfrq3s_cosp) so that the use case file,
156+
aquaplanet_cam6.xml, is no longer ignored. This changes answers.
157+
158+
ERP_D_Ln9.ne30pg3_ne30pg3_mg17.QPLT.derecho_intel.cam-outfrq3s_cosp (Overall: DIFF)
159+
ERP_D_Ln9.ne30pg3_ne30pg3_mg17.QPMT.derecho_intel.cam-outfrq9s (Overall: DIFF)
160+
- There are no baselines for these new tests.
161+
162+
ERP_Ln9.f09_f09_mg17.FCSD_HCO.derecho_intel.cam-outfrq9s (Overall: FAIL)
163+
- pre-existing failure due to HEMCO not having reproducible results issues #1018 and #856
164+
165+
SMS_D_Ln9.f19_f19_mg17.FXHIST.derecho_intel.cam-outfrq9s_amie (Overall: FAIL)
166+
SMS_D_Ln9_P1280x1.ne0CONUSne30x8_ne0CONUSne30x8_mt12.FCHIST.derecho_intel.cam-outfrq9s (Overall: FAIL)
167+
- pre-existing failures due to build-namelist error requiring CLM/CTSM external update.
168+
169+
derecho/nvhpc/aux_cam:
170+
171+
ERS_Ln9.ne30pg3_ne30pg3_mg17.F2000dev.derecho_nvhpc.cam-outfrq9s_gpu_default (Overall: FAIL)
172+
- pre-existing failure -- issue #1220
173+
174+
izumi/nag/aux_cam:
175+
176+
ERC_D_Ln9.f10_f10_mg37.QPC5.izumi_nag.cam-outfrq3s_cosp (Overall: DIFF) details:
177+
- diffs due to changing the test definition (in outfrq3s_cosp) so that the use case file,
178+
aquaplanet_cam5.xml, is no longer ignored. This changes answers.
179+
180+
izumi/gnu/aux_cam:
181+
182+
ERC_D_Ln9.f10_f10_mg37.QPC4.izumi_gnu.cam-outfrq3s_diags (Overall: DIFF)
183+
- Diff is due to the new diagnostic fields UT and UQ being included in the
184+
test. Otherwise the run is identical with the baseline.
185+
186+
ERP_D_Ln9.ne3pg3_ne3pg3_mg37.QPLT.izumi_gnu.cam-outfrq9s (Overall: DIFF)
187+
ERP_D_Ln9.ne3pg3_ne3pg3_mg37.QPMT.izumi_gnu.cam-outfrq9s (Overall: DIFF)
188+
- There are no baselines for these new tests.
189+
190+
CAM tag used for the baseline comparison tests if different than previous
191+
tag:
192+
193+
Summarize any changes to answers: BFB. Note however that a change in the
194+
test definition for outfrq3s_cosp causes answer changes for tests
195+
using that testmod.
196+
197+
===============================================================
198+
===============================================================
199+
3200
Tag name: cam6_4_054
4201
Originator(s): nusbaume
5202
Date: 9 Jan 2025
@@ -366,6 +563,7 @@ Summarize any changes to answers:
366563

367564
===============================================================
368565
===============================================================
566+
369567
Tag name: cam6_4_050
370568
Originator(s): jimmielin
371569
Date: 31 Dec 2024

src/chemistry/mozart/mo_drydep.F90

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -520,11 +520,13 @@ subroutine get_landuse_and_soilw_from_file()
520520
logical :: lexist
521521

522522
if (len_trim(drydep_srf_file) == 0) then
523-
write(iulog,*)'**************************************'
524-
write(iulog,*)' get_landuse_and_soilw_from_file: INFO:'
525-
write(iulog,*)' drydep_srf_file not set:'
526-
write(iulog,*)' setting fraction_landuse to zero'
527-
write(iulog,*)'**************************************'
523+
if (masterproc) then
524+
write(iulog,*)'**************************************'
525+
write(iulog,*)' get_landuse_and_soilw_from_file: INFO:'
526+
write(iulog,*)' drydep_srf_file not set:'
527+
write(iulog,*)' setting fraction_landuse to zero'
528+
write(iulog,*)'**************************************'
529+
end if
528530
fraction_landuse = 0._r8
529531
return
530532
end if
@@ -536,12 +538,14 @@ subroutine get_landuse_and_soilw_from_file()
536538
call infld('fraction_landuse', piofile, 'ncol','class',1,pcols,1,n_land_type, begchunk,endchunk, &
537539
fraction_landuse, readvar, gridname='physgrid')
538540
if (.not. readvar) then
539-
write(iulog,*)'**************************************'
540-
write(iulog,*)'get_landuse_and_soilw_from_file: INFO:'
541-
write(iulog,*)' fraction_landuse not read from file: '
542-
write(iulog,*)' ', trim(locfn)
543-
write(iulog,*)' setting all values to zero'
544-
write(iulog,*)'**************************************'
541+
if (masterproc) then
542+
write(iulog,*)'**************************************'
543+
write(iulog,*)'get_landuse_and_soilw_from_file: INFO:'
544+
write(iulog,*)' fraction_landuse not read from file: '
545+
write(iulog,*)' ', trim(locfn)
546+
write(iulog,*)' setting all values to zero'
547+
write(iulog,*)'**************************************'
548+
end if
545549
fraction_landuse = 0._r8
546550
end if
547551

0 commit comments

Comments
 (0)