Skip to content

Commit

Permalink
Merge pull request #909 from brian-eaton/rrtmgp
Browse files Browse the repository at this point in the history
Provide RRTMGP as a radiation parameterization
  • Loading branch information
brian-eaton committed Feb 21, 2024
2 parents 74018ee + 538a356 commit 660e3fd
Show file tree
Hide file tree
Showing 42 changed files with 5,278 additions and 1,354 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ src/physics/silhs
src/chemistry/geoschem/geoschem_src
src/physics/pumas
src/physics/pumas-frozen
src/physics/rrtmgp/data
src/physics/rrtmgp/ext
src/dynamics/fv3/atmos_cubed_sphere
libraries/FMS
libraries/mct
Expand Down
14 changes: 14 additions & 0 deletions Externals_CAM.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,19 @@ repo_url = https://github.com/ESCOMP/HEMCO_CESM.git
required = True
externals = Externals_HCO.cfg

[rte-rrtmgp]
local_path = src/physics/rrtmgp/ext
protocol = git
repo_url = https://github.com/earth-system-radiation/rte-rrtmgp.git
tag = v1.7
required = True

[rrtmgp-data]
local_path = src/physics/rrtmgp/data
protocol = git
repo_url = https://github.com/earth-system-radiation/rrtmgp-data.git
tag = v1.8
required = True

[externals_description]
schema_version = 1.0.0
51 changes: 43 additions & 8 deletions bld/build-namelist
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,23 @@ my $rad_pkg = $cfg->get('rad');
if ($rad_pkg eq 'camrt') {
add_default($nl, 'absems_data');
}
elsif ($rad_pkg =~ m/rrtmgp/) {
# Dataset for gas optics are checked out of an external repo into
# the source code directory. The paths to this data are relative
# to the root directory of the cam component.
my $cam_dir = $cfg->get('cam_dir');

add_default($nl, 'rrtmgp_coefs_lw_file');
my $rel_path = $nl->get_value('rrtmgp_coefs_lw_file');
my $abs_path = quote_string(set_abs_filepath($rel_path, $cam_dir));
# Overwrite the relative pathname with the absolute pathname in the namelist object
$nl->set_variable_value('radiation_nl', 'rrtmgp_coefs_lw_file', $abs_path);

add_default($nl, 'rrtmgp_coefs_sw_file');
$rel_path = $nl->get_value('rrtmgp_coefs_sw_file');
my $abs_path = quote_string(set_abs_filepath($rel_path, $cam_dir));
$nl->set_variable_value('radiation_nl', 'rrtmgp_coefs_sw_file', $abs_path);
}

# Solar irradiance

Expand All @@ -705,15 +722,20 @@ if (defined $nl->get_value('solar_const') and

}

if ($rad_pkg eq 'rrtmg' or $chem =~ /waccm/) {
if ($rad_pkg =~ /rrtmg/ or $chem =~ /waccm/) {

if (defined $nl->get_value('solar_const')) {
die "$ProgName - ERROR: Specifying solar_const with RRTMG or WACCM is not allowed.\n"
die "$ProgName - ERROR: Specifying solar_const with RRTMG/RRTMGP or WACCM is not allowed.\n"
}

# use solar data file as the default for rrtmg and waccm_ma
add_default($nl, 'solar_irrad_data_file');
add_default($nl, 'solar_htng_spctrl_scl', 'val'=>'.true.');

# This option only used by camrt and rrtmg radiation schemes.
# The solar spectral scaling is done internal to RRTMGP code.
if ($rad_pkg ne 'rrtmgp') {
add_default($nl, 'solar_htng_spctrl_scl', 'val'=>'.true.');
}

}
elsif (!$simple_phys) {
Expand Down Expand Up @@ -843,7 +865,6 @@ if ($chem_rad_passive or $aqua_mode) {

# The aerosol optics depend on which radiative transfer model is used due to differing
# wavelength bands used.
my $rrtmg = $rad_pkg eq 'rrtmg' ? 1 : 0;

# @aero_names contains the names of the entities (bulk aerosols and modes)
# that are externally mixed in aerosol optics calculation. These entities are all
Expand Down Expand Up @@ -1121,15 +1142,15 @@ if ($aer_model eq 'mam' ) {
}

if ($rad_prog_sslt) {
if ($rrtmg) {
if ($rad_pkg =~ /rrtmg/) {
push(@aero_names, "SSLT01", "SSLT02", "SSLT03", "SSLT04");
push(@aerosources, "A:", "A:", "A:", "A:" );
} else {
push(@aero_names, "SSLTA", "SSLTC");
push(@aerosources, "N:", "N:");
}
} elsif ($moz_aero_data =~ /$TRUE/io ) {
if ($rrtmg) {
if ($rad_pkg =~ /rrtmg/) {
push(@aero_names, "sslt1", "sslt2", "sslt3", "sslt4");
push(@aerosources, "N:", "N:", "N:", "N:" );
} else {
Expand Down Expand Up @@ -1224,7 +1245,7 @@ if ($carma eq 'bc_strat') {
}
}

if ($rrtmg) {
if ($rad_pkg eq 'rrtmg') {

# CARMA Microphysics - RRTMG Only
#
Expand Down Expand Up @@ -1644,11 +1665,25 @@ if ($rad_pkg ne 'none') {
}

# Cloud optics
if ($rrtmg) {
if ($rad_pkg =~ m/rrtmg/) { # matches both rrtmg and rrtmgp
add_default($nl, 'liqcldoptics');
add_default($nl, 'icecldoptics');
add_default($nl, 'liqopticsfile');
add_default($nl, 'iceopticsfile');

# rrtmgp only implemented with mitchell and gammadist cloud optics
if ($rad_pkg =~ m/rrtmgp/) {
my $liqcldoptics = $nl->get_value('liqcldoptics');
if ($liqcldoptics !~ m/gammadist/) {
die "$ProgName - ERROR: RRTMGP only implemented with gammadist liquid cloud optics\n" .
"liqcldoptics = $liqcldoptics\n";
}
my $icecldoptics = $nl->get_value('icecldoptics');
if ($icecldoptics !~ m/mitchell/) {
die "$ProgName - ERROR: RRTMGP only implemented with mitchell ice cloud optics\n" .
"icecldoptics = $icecldoptics\n";
}
}
}

# Volcanic Aerosol Mass climatology dataset
Expand Down
4 changes: 2 additions & 2 deletions bld/config_files/definition.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ on Mapes and Neale (2011): 0 => no, 1 => yes
PBL package: uw (University of Washington), hb (Holtslag and Boville), hbr
(Holtslag, Boville, and Rasch), clubb_sgs, spcam_sam1om, spcam_m2005, none.
</entry>
<entry id="rad" valid_values="rrtmg,camrt,none" value="">
<entry id="rad" valid_values="rrtmgp,rrtmg,camrt,none" value="">
Radiative transfer calculation:
camrt (CAM3 and CAM4 RT package), rrtmg (RRTMG package from AER).
camrt (CAM3 and CAM4 RT package), rrtmg (RRTMG package from AER), rrtmgp (updated version).
</entry>
<entry id="carma" valid_values="none,bc_strat,cirrus,cirrus_dust,dust,meteor_impact,meteor_smoke,mixed_sulfate,pmc,pmc_sulfate,sea_salt,sulfate,tholin,test_detrain,test_growth,test_passive,test_radiative,test_swelling,test_tracers,test_tracers2" value="none">
CARMA sectional microphysics:
Expand Down
32 changes: 29 additions & 3 deletions bld/configure
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ OPTIONS
-prog_species <list>Comma-separate list of prognostic mozart species packages.
Currently available: DST,SSLT,SO4,GHG,OC,BC,CARBON16
-psubcols <n> Maximum number of sub-columns in a run - set to 1 if not using sub-columns (default)
-rad <name> Specify the radiation package [rrtmg | camrt]
-rad <name> Specify the radiation package [rrtmg | rrtmgp | rrtmgp_gpu | camrt]
-silhs Switch on SILHS.
-spcam_clubb_sgs Turn on the SPCAM version of CLUBB
-spcam_nx <n> SPCAM x-grid. - defaults to 4 (note the CRM requires spcam_nx to be greater than or equal to 4)
Expand Down Expand Up @@ -1069,8 +1069,16 @@ elsif ($phys_pkg =~ m/^cam[56]$|^cam_dev$|^spcam_m2005$/) {
$rad_pkg = 'rrtmg';
}
# Allow the user to override the default via the commandline.
my $use_rrtmgp_gpu = 0;
if (defined $opts{'rad'}) {
$rad_pkg = lc($opts{'rad'});
# If the radiation package is set to rrtmgp_gpu then will add the gpu code version
# (openmp and openacc) to the Filepath file, but strip off the "_gpu" when setting
# the radiation package name in the config_cache file.
if ($rad_pkg eq 'rrtmgp_gpu') {
$use_rrtmgp_gpu = 1;
$rad_pkg = 'rrtmgp';
}
}

# consistency checks...
Expand All @@ -1083,13 +1091,18 @@ if ($rad_pkg eq 'camrt') {
" with aerosol package $chem_pkg\n";
}
}
elsif ($rad_pkg eq 'rrtmg') {
elsif ($rad_pkg =~ m/rrtmg/) {

# The rrtmg package doesn't work with the CAM3 prescribed aerosols
if ($phys_pkg eq 'cam3') {
die "configure ERROR: radiation package: $rad_pkg is not compatible\n".
" with physics package $phys_pkg\n";
}

# RRTMGP not currently working with CARMA
if ($rad_pkg eq 'rrtmgp' and $carma_pkg ne 'none') {
die "configure ERROR: The CARMA microphysics package does not currently work with RRTMGP\n";
}
}

$cfg_ref->set('rad', $rad_pkg);
Expand Down Expand Up @@ -1125,7 +1138,7 @@ if ($phys_pkg eq 'spcam_sam1mom') {
}

if ($phys_pkg eq 'spcam_m2005') {
if ($rad_pkg ne 'rrtmg') {
if ($rad_pkg !~ m/rrtmg/) {
die "configure ERROR: radiation package: $rad_pkg is not compatible\n".
" with m2005 -- it should be rrtmg\n";
}
Expand Down Expand Up @@ -2231,6 +2244,19 @@ sub write_filepath
elsif ($rad eq 'camrt') {
print $fh "$camsrcdir/src/physics/camrt\n";
}
elsif ($rad eq 'rrtmgp') {
print $fh "$camsrcdir/src/physics/rrtmgp\n";
print $fh "$camsrcdir/src/physics/rrtmgp/ext/extensions\n";
print $fh "$camsrcdir/src/physics/rrtmgp/ext/gas-optics\n";
print $fh "$camsrcdir/src/physics/rrtmgp/ext/rrtmgp-frontend\n";
print $fh "$camsrcdir/src/physics/rrtmgp/ext/rte-frontend\n";
if ($use_rrtmgp_gpu) {
print $fh "$camsrcdir/src/physics/rrtmgp/ext/rrtmgp-kernels/accel\n";
print $fh "$camsrcdir/src/physics/rrtmgp/ext/rte-kernels/accel\n";
}
print $fh "$camsrcdir/src/physics/rrtmgp/ext/rrtmgp-kernels\n";
print $fh "$camsrcdir/src/physics/rrtmgp/ext/rte-kernels\n";
}

if ($clubb_sgs) {
print $fh "$camsrcdir/src/physics/clubb/src/CLUBB_core\n";
Expand Down
87 changes: 86 additions & 1 deletion bld/namelist_files/namelist_defaults_cam.xml
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,36 @@
<bam_SSLTA rad="rrtmg">atm/cam/physprops/ssam_rrtmg_c080918.nc</bam_SSLTA>
<bam_SSLTC rad="rrtmg">atm/cam/physprops/sscm_rrtmg_c080918.nc</bam_SSLTC>

<!-- Bulk aerosols for RRTMGP -->
<bam_sulf rad="rrtmgp">atm/cam/physprops/sulfate_rrtmg_c080918.nc</bam_sulf>
<bam_SO4 rad="rrtmgp">atm/cam/physprops/sulfate_rrtmg_c080918.nc</bam_SO4>
<bam_dust1 rad="rrtmgp">atm/cam/physprops/dust1_rrtmg_c080918.nc</bam_dust1>
<bam_DST01 rad="rrtmgp">atm/cam/physprops/dust1_rrtmg_c080918.nc</bam_DST01>
<bam_dust2 rad="rrtmgp">atm/cam/physprops/dust2_rrtmg_c080918.nc</bam_dust2>
<bam_DST02 rad="rrtmgp">atm/cam/physprops/dust2_rrtmg_c080918.nc</bam_DST02>
<bam_dust3 rad="rrtmgp">atm/cam/physprops/dust3_rrtmg_c080918.nc</bam_dust3>
<bam_DST03 rad="rrtmgp">atm/cam/physprops/dust3_rrtmg_c080918.nc</bam_DST03>
<bam_dust4 rad="rrtmgp">atm/cam/physprops/dust4_rrtmg_c080918.nc</bam_dust4>
<bam_DST04 rad="rrtmgp">atm/cam/physprops/dust4_rrtmg_c080918.nc</bam_DST04>
<bam_bcar1 rad="rrtmgp">atm/cam/physprops/bcpho_rrtmg_c080918.nc</bam_bcar1>
<bam_CB1 rad="rrtmgp">atm/cam/physprops/bcpho_rrtmg_c080918.nc</bam_CB1>
<bam_bcar2 rad="rrtmgp">atm/cam/physprops/bcphi_rrtmg_c080918.nc</bam_bcar2>
<bam_CB2 rad="rrtmgp">atm/cam/physprops/bcphi_rrtmg_c080918.nc</bam_CB2>
<bam_ocar1 rad="rrtmgp">atm/cam/physprops/ocpho_rrtmg_c080918.nc</bam_ocar1>
<bam_OC1 rad="rrtmgp">atm/cam/physprops/ocpho_rrtmg_c080918.nc</bam_OC1>
<bam_ocar2 rad="rrtmgp">atm/cam/physprops/ocphi_rrtmg_c080918.nc</bam_ocar2>
<bam_OC2 rad="rrtmgp">atm/cam/physprops/ocphi_rrtmg_c080918.nc</bam_OC2>
<bam_sslt1 rad="rrtmgp">atm/cam/physprops/seasalt1_rrtmg_c080918.nc</bam_sslt1>
<bam_SSLT01 rad="rrtmgp">atm/cam/physprops/seasalt1_rrtmg_c080918.nc</bam_SSLT01>
<bam_sslt2 rad="rrtmgp">atm/cam/physprops/seasalt2_rrtmg_c080918.nc</bam_sslt2>
<bam_SSLT02 rad="rrtmgp">atm/cam/physprops/seasalt2_rrtmg_c080918.nc</bam_SSLT02>
<bam_sslt3 rad="rrtmgp">atm/cam/physprops/seasalt3_rrtmg_c080918.nc</bam_sslt3>
<bam_SSLT03 rad="rrtmgp">atm/cam/physprops/seasalt3_rrtmg_c080918.nc</bam_SSLT03>
<bam_sslt4 rad="rrtmgp">atm/cam/physprops/seasalt4_rrtmg_c080918.nc</bam_sslt4>
<bam_SSLT04 rad="rrtmgp">atm/cam/physprops/seasalt4_rrtmg_c080918.nc</bam_SSLT04>
<bam_SSLTA rad="rrtmgp">atm/cam/physprops/ssam_rrtmg_c080918.nc</bam_SSLTA>
<bam_SSLTC rad="rrtmgp">atm/cam/physprops/sscm_rrtmg_c080918.nc</bam_SSLTC>

<!-- CAM-Chem modal aerosols (different names used in prescribed and prognostic modes) -->
<!-- Optics for RRTMG -->
<!-- modal aerosol properties files -->
Expand All @@ -471,6 +501,16 @@
<mam_dst rad="rrtmg">atm/cam/physprops/dust_aeronet_rrtmg_c141106.nc</mam_dst>
<mam_nh4 rad="rrtmg">atm/cam/physprops/sulfate_rrtmg_c080918.nc</mam_nh4>

<!-- Modal aerosol properties for RRTMGP -->
<mam_so4 rad="rrtmgp">atm/cam/physprops/sulfate_rrtmg_c080918.nc</mam_so4>
<mam_pom rad="rrtmgp" mam="3mode">atm/cam/physprops/ocpho_rrtmg_c101112.nc</mam_pom>
<mam_pom rad="rrtmgp">atm/cam/physprops/ocpho_rrtmg_c130709.nc</mam_pom>
<mam_soa rad="rrtmgp">atm/cam/physprops/ocphi_rrtmg_c100508.nc</mam_soa>
<mam_bc rad="rrtmgp">atm/cam/physprops/bcpho_rrtmg_c100508.nc</mam_bc>
<mam_ncl rad="rrtmgp">atm/cam/physprops/ssam_rrtmg_c100508.nc</mam_ncl>
<mam_dst rad="rrtmgp">atm/cam/physprops/dust_aeronet_rrtmg_c141106.nc</mam_dst>
<mam_nh4 rad="rrtmgp">atm/cam/physprops/sulfate_rrtmg_c080918.nc</mam_nh4>

<!-- Eruptive volcanic aerosols -->
<VOLC_MMR rad="camrt">atm/cam/physprops/volc_camRT_byradius_sigma1.6_c130724.nc</VOLC_MMR>
<VOLC_MMR chem="none" rad="camrt">atm/cam/physprops/sulfuricacid_cam3_c080918.nc</VOLC_MMR>
Expand All @@ -479,6 +519,12 @@
<VOLC_MMR2 rad="rrtmg">atm/cam/physprops/volc_camRRTMG_byradius_sigma1.6_mode2_c210211.nc</VOLC_MMR2>
<VOLC_MMR3 rad="rrtmg">atm/cam/physprops/volc_camRRTMG_byradius_sigma1.2_mode3_c210211.nc</VOLC_MMR3>

<!-- Eruptive volcanic aerosols for RRTMGP -->
<VOLC_MMR rad="rrtmgp">atm/cam/physprops/volc_camRRTMG_byradius_sigma1.6_c130724.nc</VOLC_MMR>
<VOLC_MMR1 rad="rrtmgp">atm/cam/physprops/volc_camRRTMG_byradius_sigma1.6_mode1_c210211.nc</VOLC_MMR1>
<VOLC_MMR2 rad="rrtmgp">atm/cam/physprops/volc_camRRTMG_byradius_sigma1.6_mode2_c210211.nc</VOLC_MMR2>
<VOLC_MMR3 rad="rrtmgp">atm/cam/physprops/volc_camRRTMG_byradius_sigma1.2_mode3_c210211.nc</VOLC_MMR3>

<!-- Modal optics calculations -->
<mam3_mode1_file rad="rrtmg">atm/cam/physprops/mam4_mode1_rrtmg_aeronetdust_c141106.nc</mam3_mode1_file>
<mam3_mode2_file rad="rrtmg">atm/cam/physprops/mam4_mode2_rrtmg_aitkendust_c141106.nc </mam3_mode2_file>
Expand Down Expand Up @@ -509,6 +555,36 @@
<mam7_mode6_file rad="rrtmg">atm/cam/physprops/mam7_mode6_rrtmg_c120904.nc</mam7_mode6_file>
<mam7_mode7_file rad="rrtmg">atm/cam/physprops/mam7_mode7_rrtmg_c120904.nc</mam7_mode7_file>

<!-- Modal optics for RRTMGP -->
<mam3_mode1_file rad="rrtmgp">atm/cam/physprops/mam4_mode1_rrtmg_aeronetdust_c141106.nc</mam3_mode1_file>
<mam3_mode2_file rad="rrtmgp">atm/cam/physprops/mam4_mode2_rrtmg_aitkendust_c141106.nc </mam3_mode2_file>
<mam3_mode3_file rad="rrtmgp">atm/cam/physprops/mam4_mode3_rrtmg_aeronetdust_c141106.nc</mam3_mode3_file>

<mam3_mode1_file rad="rrtmgp" ver="strat">atm/cam/physprops/mam4_mode1_rrtmg_aeronetdust_sig1.6_dgnh.48_c140304.nc</mam3_mode1_file>
<mam3_mode3_file rad="rrtmgp" ver="strat">atm/cam/physprops/mam4_mode3_rrtmg_aeronetdust_sig1.2_dgnl.40_c150219.nc</mam3_mode3_file>

<mam4_mode1_file rad="rrtmgp">atm/cam/physprops/mam4_mode1_rrtmg_aeronetdust_c141106.nc</mam4_mode1_file>
<mam4_mode2_file rad="rrtmgp">atm/cam/physprops/mam4_mode2_rrtmg_aitkendust_c141106.nc</mam4_mode2_file>
<mam4_mode3_file rad="rrtmgp">atm/cam/physprops/mam4_mode3_rrtmg_aeronetdust_c141106.nc</mam4_mode3_file>
<mam4_mode4_file rad="rrtmgp">atm/cam/physprops/mam4_mode4_rrtmg_c130628.nc</mam4_mode4_file>

<mam4_mode1_file rad="rrtmgp" ver="strat">atm/cam/physprops/mam4_mode1_rrtmg_aeronetdust_sig1.6_dgnh.48_c140304.nc</mam4_mode1_file>
<mam4_mode3_file rad="rrtmgp" ver="strat">atm/cam/physprops/mam4_mode3_rrtmg_aeronetdust_sig1.2_dgnl.40_c150219.nc</mam4_mode3_file>

<mam5_mode1_file rad="rrtmgp" ver="strat">atm/cam/physprops/mam4_mode1_rrtmg_aeronetdust_sig1.6_dgnh.48_c140304.nc</mam5_mode1_file>
<mam5_mode2_file rad="rrtmgp" ver="strat">atm/cam/physprops/mam4_mode2_rrtmg_aitkendust_c141106.nc</mam5_mode2_file>
<mam5_mode3_file rad="rrtmgp" ver="strat">atm/cam/physprops/mam4_mode3_rrtmg_aeronetdust_c141106.nc</mam5_mode3_file>
<mam5_mode4_file rad="rrtmgp" ver="strat">atm/cam/physprops/mam4_mode4_rrtmg_c130628.nc</mam5_mode4_file>
<mam5_mode5_file rad="rrtmgp" ver="strat">atm/cam/physprops/mam4_mode3_rrtmg_aeronetdust_sig1.2_dgnl.40_c150219.nc</mam5_mode5_file>

<mam7_mode1_file rad="rrtmgp">atm/cam/physprops/mam7_mode1_rrtmg_c120904.nc</mam7_mode1_file>
<mam7_mode2_file rad="rrtmgp">atm/cam/physprops/mam7_mode2_rrtmg_c120904.nc</mam7_mode2_file>
<mam7_mode3_file rad="rrtmgp">atm/cam/physprops/mam7_mode3_rrtmg_c120904.nc</mam7_mode3_file>
<mam7_mode4_file rad="rrtmgp">atm/cam/physprops/mam7_mode4_rrtmg_c120904.nc</mam7_mode4_file>
<mam7_mode5_file rad="rrtmgp">atm/cam/physprops/mam7_mode5_rrtmg_c120904.nc</mam7_mode5_file>
<mam7_mode6_file rad="rrtmgp">atm/cam/physprops/mam7_mode6_rrtmg_c120904.nc</mam7_mode6_file>
<mam7_mode7_file rad="rrtmgp">atm/cam/physprops/mam7_mode7_rrtmg_c120904.nc</mam7_mode7_file>

<water_refindex_file>atm/cam/physprops/water_refindex_rrtmg_c080910.nc</water_refindex_file>

<modal_accum_coarse_exch >.false.</modal_accum_coarse_exch>
Expand All @@ -523,6 +599,15 @@
<iceopticsfile rad="rrtmg">atm/cam/physprops/iceoptics_c080917.nc</iceopticsfile>
<liqopticsfile rad="rrtmg">atm/cam/physprops/F_nwvl200_mu20_lam50_res64_t298_c080428.nc</liqopticsfile>

<!-- RRTMGP -->
<liqcldoptics rad="rrtmgp">gammadist</liqcldoptics>
<icecldoptics rad="rrtmgp">mitchell</icecldoptics>
<iceopticsfile rad="rrtmgp">atm/cam/physprops/iceoptics_c080917.nc</iceopticsfile>
<liqopticsfile rad="rrtmgp">atm/cam/physprops/F_nwvl200_mu20_lam50_res64_t298_c080428.nc</liqopticsfile>

<rrtmgp_coefs_lw_file>src/physics/rrtmgp/data/rrtmgp-gas-lw-g128.nc</rrtmgp_coefs_lw_file>
<rrtmgp_coefs_sw_file>src/physics/rrtmgp/data/rrtmgp-gas-sw-g112.nc</rrtmgp_coefs_sw_file>

<!-- CAM-RT absorptivity/emissivity lookup table -->
<absems_data rad="camrt">atm/cam/rad/abs_ems_factors_fastvx.c030508.nc</absems_data>

Expand Down Expand Up @@ -1908,7 +1993,7 @@
<gas_wetdep_method phys="spcam_m2005" >OFF</gas_wetdep_method>

<!-- Dry Dep surface data file needed by prognostic MAM on unstructured grid only. -->
<drydep_srf_file hgrid="ne3np4" npg="3" >atm/cam/chem/trop_mam/atmsrf_ne3np4.pg3_c221214.nc</drydep_srf_file>
<drydep_srf_file hgrid="ne3np4" npg="3" >atm/cam/chem/trop_mam/atmsrf_ne3np4.pg3_221214.nc</drydep_srf_file>
<drydep_srf_file hgrid="ne5np4" >atm/cam/chem/trop_mam/atmsrf_ne5np4_110920.nc</drydep_srf_file>
<drydep_srf_file hgrid="ne5np4" npg="3">atm/cam/chem/trop_mam/atmsrf_ne5pg3_201105.nc</drydep_srf_file>
<drydep_srf_file hgrid="ne16np4" >atm/cam/chem/trop_mam/atmsrf_ne16np4_110920.nc</drydep_srf_file>
Expand Down
21 changes: 20 additions & 1 deletion bld/namelist_files/namelist_definition.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5467,7 +5467,7 @@ Default: Unused

<!-- Radiation -->
<entry id="radiation_scheme" type="char*16" category="radiation"
group="phys_ctl_nl" valid_values="rrtmg,camrt" >
group="phys_ctl_nl" valid_values="rrtmgp,rrtmg,camrt" >
Type of radiation scheme employed.
Default: set by build-namelist
</entry>
Expand Down Expand Up @@ -5657,6 +5657,25 @@ Switch to turn on Fixed Dynamical Heating in the offline radiation tool (PORT).
Default: false
</entry>

<!-- RRTMGP -->

<entry id="rrtmgp_coefs_lw_file" type="char*256" category="radiation"
group="radiation_nl" valid_values="" >
Relative pathname for LW gas optics coefficients for RRTMGP. This data is
part of the RRTMGP source, thus this pathname is relative to the root source
code directory for the CAM component.
Default: set by build-namelist.
</entry>

<entry id="rrtmgp_coefs_sw_file" type="char*256" category="radiation"
group="radiation_nl" valid_values="" >
Relative pathname for SW gas optics coefficients for RRTMGP. This data is
part of the RRTMGP source, thus this pathname is relative to the root source
code directory for the CAM component.
Default: set by build-namelist.
</entry>


<!-- Aerosol and cloud optics -->

<entry id="water_refindex_file" type="char*256" input_pathname="abs" category="radiation"
Expand Down
Loading

0 comments on commit 660e3fd

Please sign in to comment.