Skip to content

Commit 38e4e80

Browse files
authored
Merge pull request #1478 from fvitt/midtop_waphys
cam6_4_149: Include chemical heating in mid-top chemistry compsets
2 parents d5bff71 + 55aa0a0 commit 38e4e80

114 files changed

Lines changed: 69129 additions & 43724 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bld/build-namelist

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1937,11 +1937,11 @@ if (($chem =~ /trop_mozart/ or $chem =~ /trop_strat/ or $chem =~ /waccm_tsmlt/)
19371937
'ISOP -> ' => 'isop_emis_file',
19381938
'TOLUENE -> ' => 'toluene_emis_file',
19391939
);
1940-
if (!($chem =~ /_vbs/) and !($chem =~ /_tsmlt/)) {
1940+
if (!($chem =~ /_vbs/) and !($chem =~ /_tsmlt/) and !($chem =~ /_t1s/)) {
19411941
%species = (%species,
19421942
'NH3 -> ' => 'nh3_emis_file');
19431943
}
1944-
if (!($chem =~ /_vbs/) and !($chem =~ /_tsmlt/)) {
1944+
if (!($chem =~ /_vbs/) and !($chem =~ /_tsmlt/) and !($chem =~ /_t1s/)) {
19451945
%species = (%species,
19461946
'C10H16 -> ' => 'c10h16_emis_file', );
19471947
}
@@ -2407,7 +2407,7 @@ if ($phys =~ /cam6/ or $phys =~ /cam7/) {
24072407
%species = (%species,
24082408
'E90_srf_file' => 'E90' );
24092409
}
2410-
if ($chem !~ /_ts4/ and $chem !~ /_t4ma/) {
2410+
if ($chem !~ /_t4s/ and $chem !~ /_t4ma/) {
24112411
%species = (%species,
24122412
'BENZENE_an_srf_file' => 'BENZENE',
24132413
'BENZENE_bb_srf_file' => 'BENZENE',
@@ -2428,10 +2428,10 @@ if ($phys =~ /cam6/ or $phys =~ /cam7/) {
24282428
'XYLENES_an_srf_file' => 'XYLENES',
24292429
'XYLENES_bb_srf_file' => 'XYLENES' ) ;
24302430
}
2431-
if ($chem =~ /trop_strat_mam4_ts2/ or $chem =~ /trop_strat_mam5_ts2/) {
2431+
if ($chem =~ /trop_strat_mam4_ts2/ or $chem =~ /trop_strat_mam5_t2s1/) {
24322432
%species = (%species,
24332433
'MTERP_bb_srf_file' => 'APIN') ;
2434-
} elsif ($chem =~ /_ts4/ or $chem =~ /_t4ma/) {
2434+
} elsif ($chem =~ /_t4s/ or $chem =~ /_t4ma/) {
24352435
%species = (%species,
24362436
'MTERP_bb_srf_file' => 'TERP') ;
24372437
} else {
@@ -2456,7 +2456,7 @@ if ($phys =~ /cam6/ or $phys =~ /cam7/) {
24562456
'IVOC_bb_srf_file' => 'IVOCbb',
24572457
'SVOC_an_srf_file' => 'SVOCff',
24582458
'SVOC_bb_srf_file' => 'SVOCbb' );
2459-
} elsif ($chem !~ /_ts4/ and $chem !~ /_t4ma/) {
2459+
} elsif ($chem !~ /_t4s/ and $chem !~ /_t4ma/) {
24602460
%species = (%species,
24612461
'IVOC_an_srf_file' => 'IVOC',
24622462
'IVOC_bb_srf_file' => 'IVOC',
@@ -2481,7 +2481,7 @@ if ($phys =~ /cam6/ or $phys =~ /cam7/) {
24812481
$first = 0;
24822482
}
24832483
}
2484-
if ($chem eq 'trop_mam4' or $chem eq 'waccm_sc_mam4' or $chem eq 'ghg_mam4' or $chem =~ /_ts4/ or $chem =~ /_t4ma/) {
2484+
if ($chem eq 'trop_mam4' or $chem eq 'waccm_sc_mam4' or $chem eq 'ghg_mam4' or $chem =~ /_t4s/ or $chem =~ /_t4ma/) {
24852485
# SOA yields (used for the interactive emissions) have been calculated based on the VBS yields in CAM-chem.
24862486
# Duseong S. Jo, et al. to be submitted to GMD, 2023 -- see https://github.com/ESCOMP/CAM/pull/727 discussion for additional detail.
24872487
my %soae_fctrs = ('BENZENE_an_srf_file' => '2.5592D0',
@@ -2657,7 +2657,7 @@ if ($phys =~ /cam6/ or $phys =~ /cam7/) {
26572657
add_default($nl, 'megan_factors_file');
26582658
add_default($nl, 'megan_mapped_emisfctrs', 'val'=>'.false.');
26592659
}
2660-
if ($chem =~ /trop_strat_mam4_vbs/ or $chem =~ /trop_strat_mam5_vbs/) {
2660+
if ($chem =~ /trop_strat_mam4_vbs/ or $chem =~ /trop_strat_mam5_vbsext/ or $chem =~ /trop_strat_mam5_t1s/) {
26612661
my $val = "'ISOP = isoprene',"
26622662
. "'MTERP = carene_3 + pinene_a + thujene_a + bornene + terpineol_4 + terpineol_a + terpinyl_ACT_a "
26632663
. "+ myrtenal + sabinene + pinene_b + camphene + fenchene_a + limonene + phellandrene_a + terpinene_a "
@@ -2696,7 +2696,7 @@ if ($phys =~ /cam6/ or $phys =~ /cam7/) {
26962696
add_default($nl, 'megan_factors_file');
26972697
add_default($nl, 'megan_mapped_emisfctrs', 'val'=>'.false.');
26982698
}
2699-
if ($chem =~ /trop_strat_mam5_ts4/ or $chem =~ /_t4ma/) {
2699+
if ($chem =~ /trop_strat_mam5_t4s2/ or $chem =~ /_t4ma/) {
27002700
my $val = "'ISOP = isoprene',"
27012701
. "'TERP = carene_3 + pinene_a + thujene_a + bornene + terpineol_4 + terpineol_a + terpinyl_ACT_a +',"
27022702
. "' myrtenal + sabinene + pinene_b + camphene + fenchene_a + limonene + phellandrene_a + terpinene_a +',"
@@ -2728,7 +2728,7 @@ if ($phys =~ /cam6/ or $phys =~ /cam7/) {
27282728
add_default($nl, 'megan_factors_file');
27292729
add_default($nl, 'megan_mapped_emisfctrs', 'val'=>'.false.');
27302730
}
2731-
if ($chem =~ /trop_strat_mam4_ts2/ or $chem =~ /trop_strat_mam5_ts2/) {
2731+
if ($chem =~ /trop_strat_mam4_ts2/ or $chem =~ /trop_strat_mam5_t2s1/) {
27322732
my $val = "'ISOP = isoprene',"
27332733
. "'APIN = pinene_a + myrtenal',"
27342734
. "'BPIN = carene_3 + thujene_a + bornene + fenchene_a + pinene_b + sabinene + camphene + terpineol_4 + terpineol_a + terpinyl_ACT_a',"

bld/config_files/definition.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ test_radiative (Radiatively Active Dust), test_swelling (Sea Salt), test_tracers
103103
trop_strat_soa1 (Trop Strat Aerosols SOA1),
104104
trop_strat_soa5 (Trop Strat Aerosols SOA5)
105105
</entry>
106-
<entry id="chem" valid_values="none,ghg_mam4,terminator,trop_mam3,trop_mam4,trop_mam7,trop_mozart,trop_strat_mam4_ts2,trop_strat_mam4_vbs,trop_strat_mam4_vbsext,trop_strat_mam5_ts2,trop_strat_mam5_ts4,trop_strat_mam5_vbs,trop_strat_mam5_vbsext,trop_strat_noaero,waccm_ma,waccm_mad,waccm_ma_sulfur,waccm_sc,waccm_sc_mam4,waccm_mad_mam4,waccm_ma_mam4,waccm_tsmlt_mam4,waccm_tsmlt_mam4_vbsext,waccm_mad_mam5,waccm_ma_mam5,waccm_tsmlt_mam5,waccm_tsmlt_mam5_vbsext,waccm_t4ma_mam5,waccm_ma_noaero,geoschem_mam4" value="">
107-
Chemistry package: none,ghg_mam4,terminator,trop_mam3,trop_mam4,trop_mam7,trop_mozart,trop_strat_mam4_ts2,trop_strat_mam4_vbs,trop_strat_mam4_vbsext,trop_strat_mam5_ts2,trop_strat_mam5_ts4,trop_strat_mam5_vbs,trop_strat_mam5_vbsext,trop_strat_noaero,waccm_ma,waccm_mad,waccm_ma_sulfur,waccm_sc,waccm_sc_mam4,waccm_mad_mam4,waccm_ma_mam4,waccm_tsmlt_mam4,waccm_tsmlt_mam4_vbsext,waccm_mad_mam5,waccm_ma_mam5,waccm_tsmlt_mam5,waccm_tsmlt_mam5_vbsext,waccm_t4ma_mam5,waccm_ma_noaero,geoschem_mam4
106+
<entry id="chem" valid_values="none,ghg_mam4,terminator,trop_mam3,trop_mam4,trop_mam7,trop_mozart,trop_strat_mam4_ts2,trop_strat_mam4_vbs,trop_strat_mam4_vbsext,trop_strat_mam5_t1s1,trop_strat_mam5_t1s2,trop_strat_mam5_t2s1,trop_strat_mam5_t4s2,trop_strat_mam5_vbsext,trop_strat_noaero,waccm_ma,waccm_mad,waccm_ma_sulfur,waccm_sc,waccm_sc_mam4,waccm_mad_mam4,waccm_ma_mam4,waccm_tsmlt_mam4,waccm_tsmlt_mam4_vbsext,waccm_mad_mam5,waccm_ma_mam5,waccm_tsmlt_mam5,waccm_tsmlt_mam5_vbsext,waccm_t4ma_mam5,waccm_ma_noaero,geoschem_mam4" value="">
107+
Chemistry package: none,ghg_mam4,terminator,trop_mam3,trop_mam4,trop_mam7,trop_mozart,trop_strat_mam4_ts2,trop_strat_mam4_vbs,trop_strat_mam4_vbsext,trop_strat_mam5_t1s1,trop_strat_mam5_t1s2,trop_strat_mam5_t2s1,trop_strat_mam5_t4s2,trop_strat_mam5_vbsext,trop_strat_noaero,waccm_ma,waccm_mad,waccm_ma_sulfur,waccm_sc,waccm_sc_mam4,waccm_mad_mam4,waccm_ma_mam4,waccm_tsmlt_mam4,waccm_tsmlt_mam4_vbsext,waccm_mad_mam5,waccm_ma_mam5,waccm_tsmlt_mam5,waccm_tsmlt_mam5_vbsext,waccm_t4ma_mam5,waccm_ma_noaero,geoschem_mam4
108108
</entry>
109109
<entry id="prog_species" valid_values="DST,SSLT,SO4,GHG,OC,BC,CARBON16" value="" list="1">
110110
Prognostic mozart species packages: list of any subset of the following: DST,SSLT,SO4,GHG,OC,BC,CARBON16

bld/configure

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,11 @@ OPTIONS
6464
Default: none.
6565
-chem <name> Build CAM with specified prognostic chemistry package
6666
[ none | ghg_mam4 | terminator | trop_mam3 | trop_mam4 | trop_mam7 | trop_mozart | trop_strat_mam4_ts2 |
67-
trop_strat_mam4_vbs | trop_strat_mam4_vbsext | trop_strat_mam5_ts2 | trop_strat_mam5_ts4 | trop_strat_mam5_vbs | trop_strat_noaero |
68-
trop_strat_mam5_vbsext | waccm_ma | waccm_mad | waccm_ma_sulfur | waccm_sc | waccm_sc_mam4 |
69-
waccm_mad_mam4 | waccm_ma_mam4 | waccm_tsmlt_mam4 | waccm_tsmlt_mam4_vbsext | waccm_mad_mam5 |
70-
waccm_ma_mam5 | waccm_tsmlt_mam5 | waccm_tsmlt_mam5_vbsext | waccm_ma_noaero | geoschem_mam4 ].
67+
trop_strat_mam4_vbs | trop_strat_mam4_vbsext | trop_strat_mam5_t1s1 | trop_strat_mam5_t2s2 |
68+
trop_strat_mam5_t2s1 | trop_strat_mam5_t4s2 | trop_strat_noaero | trop_strat_mam5_vbsext |
69+
waccm_ma | waccm_mad | waccm_ma_sulfur | waccm_sc | waccm_sc_mam4 | waccm_mad_mam4 | waccm_ma_mam4 |
70+
waccm_tsmlt_mam4 | waccm_tsmlt_mam4_vbsext | waccm_mad_mam5 | waccm_ma_mam5 | waccm_tsmlt_mam5 |
71+
waccm_tsmlt_mam5_vbsext | waccm_t4ma_mam5 | waccm_ma_noaero | geoschem_mam4 ].
7172
Default: trop_mam4 for cam6 and trop_mam3 for cam5.
7273
-[no]clubb_sgs Switch on [off] CLUBB_SGS. Default: on for cam6 and cam7, otherwise off.
7374
-clubb_opts <list> Comma separated list of CLUBB options to turn on/off. By default they are all off.

0 commit comments

Comments
 (0)