Skip to content

Commit

Permalink
Merge pull request #806 from cacraigucar/cam_use_cases
Browse files Browse the repository at this point in the history
cam6_3_111: create CAM LT and MT 1850 use_cases
  • Loading branch information
cacraigucar authored May 17, 2023
2 parents ea7d389 + dc86625 commit 379603b
Show file tree
Hide file tree
Showing 9 changed files with 231 additions and 31 deletions.
2 changes: 1 addition & 1 deletion bld/build-namelist
Original file line number Diff line number Diff line change
Expand Up @@ -2384,7 +2384,7 @@ if (($chem =~ /_mam4/ or $chem =~ /_mam5/) and ($phys =~ /cam6/ or $phys =~ /cam
}

# for cam6 add h2o source from methane oxidation
if ($chem =~ /trop_mam/ or $chem =~ /ghg_mam/) {
if ($chem =~ /trop_mam/) {
%species = (%species, 'h2o_ch4ox_ext_file' => 'H2O');
}
# for mechanisms without OCS use prescribed OCS oxidation rates for
Expand Down
5 changes: 4 additions & 1 deletion bld/namelist_files/namelist_defaults_cam.xml
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,9 @@
<gw_limit_tau_without_eff chem="trop_strat_mam5_vbs">.true. </gw_limit_tau_without_eff>
<gw_limit_tau_without_eff chem="trop_strat_mam5_vbsext">.true. </gw_limit_tau_without_eff>
<gw_apply_tndmax >.true. </gw_apply_tndmax>
<gw_apply_tndmax waccm_phys="1">.false.</gw_apply_tndmax>
<gw_apply_tndmax chem="ghg_mam4" nlev="93">.false.</gw_apply_tndmax>
<gw_apply_tndmax chem="ghg_mam4" nlev="58">.false.</gw_apply_tndmax>
<gw_apply_tndmax waccm_phys="1">.false.</gw_apply_tndmax>
<gw_apply_tndmax chem="trop_strat_mam4_vbs">.false.</gw_apply_tndmax>
<gw_apply_tndmax chem="trop_strat_mam4_vbsext">.false.</gw_apply_tndmax>
<gw_apply_tndmax chem="trop_strat_mam5_vbs">.false.</gw_apply_tndmax>
Expand Down Expand Up @@ -2977,6 +2979,7 @@
<se_hypervis_subcycle > 3 </se_hypervis_subcycle>
<se_hypervis_subcycle waccm_phys="1" > 2 </se_hypervis_subcycle>
<se_hypervis_subcycle hgrid="ne16np4" > 4 </se_hypervis_subcycle>
<se_hypervis_subcycle hgrid="ne30np4" npg="3" nlev="58" > 4 </se_hypervis_subcycle>
<se_hypervis_subcycle se_refined_mesh="1" > 3 </se_hypervis_subcycle>
<se_hypervis_subcycle hgrid="ne0np4CONUS.ne30x8" waccm_phys="1" > 1 </se_hypervis_subcycle>

Expand Down
67 changes: 67 additions & 0 deletions bld/namelist_files/use_cases/1850_cam_lt.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0"?>
<namelist_defaults>

<!-- Solar data from NRL -->
<solar_irrad_data_file>atm/cam/solar/SolarForcingCMIP6piControl_c160921.nc</solar_irrad_data_file>
<solar_data_ymd> 18500101 </solar_data_ymd>
<solar_data_type> FIXED </solar_data_type>

<!-- Initial conditions-->
<ncdata hgrid="ne30np4" npg="3" nlev="58">atm/cam/inic/se/FWsc_ne30pg3_58L_GRID_48_taperstart10km_lowtop_BL10_v3_beta1p75_Top_43km.nc</ncdata>

<!-- LBC Files : -->
<flbc_file>atm/waccm/lb/LBC_17500116-20150116_CMIP6_0p5degLat_c180905.nc</flbc_file>
<flbc_cycle_yr>1850</flbc_cycle_yr>
<flbc_type>'CYCLICAL'</flbc_type>
<flbc_list>'CO2','CH4','N2O','CFC11','CFC12','CFC11eq'</flbc_list>

<!-- Low top upper boundary conditions -->
<ubc_specifier>'Q:H2O->UBC_FILE'</ubc_specifier>
<ubc_file_path>atm/cam/chem/ubc/b.e21.BWHIST.f09_g17.CMIP6-historical-WACCM.ensAvg123.cam.h0zm.H2O.185001-201412_c230509cdf5.nc</ubc_file_path>
<ubc_file_input_type>CYCLICAL</ubc_file_input_type>
<ubc_file_cycle_yr>1850</ubc_file_cycle_yr>

<!-- ozone data : -->
<prescribed_ozone_datapath> 'atm/cam/ozone_strataero' </prescribed_ozone_datapath>
<prescribed_ozone_file > 'ozone_strataero_cyclical_WACCM6_L70_CMIP6-piControl.001_y21-50avg_zm_5day_c180802.nc' </prescribed_ozone_file>
<prescribed_ozone_name > 'O3' </prescribed_ozone_name>
<prescribed_ozone_type > CYCLICAL </prescribed_ozone_type>
<prescribed_ozone_cycle_yr> 1850 </prescribed_ozone_cycle_yr>

<!-- Prescribed stratospheric aerosols : -->
<prescribed_strataero_cycle_yr> 1850 </prescribed_strataero_cycle_yr>
<prescribed_strataero_datapath> 'atm/cam/ozone_strataero' </prescribed_strataero_datapath>
<prescribed_strataero_file> 'ozone_strataero_cyclical_WACCM6_L70_CMIP6-piControl.001_y21-50avg_zm_5day_c180802.nc' </prescribed_strataero_file>
<prescribed_strataero_use_chemtrop> .true. </prescribed_strataero_use_chemtrop>
<prescribed_strataero_type> 'CYCLICAL' </prescribed_strataero_type>


<!-- Prescribed oxidants for aerosol chemistry : -->
<tracer_cnst_cycle_yr > 1850 </tracer_cnst_cycle_yr>
<tracer_cnst_datapath > 'atm/cam/tracer_cnst' </tracer_cnst_datapath>
<tracer_cnst_file > 'tracer_cnst_WACCM6_halons_3DmonthlyL70_1850climoCMIP6piControl001_y21-50avg_c180802.nc' </tracer_cnst_file>
<tracer_cnst_specifier> 'O3','OH','NO3','HO2','HALONS' </tracer_cnst_specifier>
<tracer_cnst_type > 'CYCLICAL' </tracer_cnst_type>
<tracer_cnst_filelist > '' </tracer_cnst_filelist>

<!-- External forcing -->
<ext_frc_type> CYCLICAL </ext_frc_type>
<ext_frc_cycle_yr> 1850 </ext_frc_cycle_yr>
<ext_frc_specifier>
'num_a1 -> $INPUTDATA_ROOT/atm/cam/chem/emis/historical_ne30pg3/emissions-cmip6_num_so4_a1_anthro-ene_vertical_mol_175001-201412_ne30pg3_c20200103.nc',
'num_a1 -> $INPUTDATA_ROOT/atm/cam/chem/emis/historical_ne30pg3/emissions-cmip6_num_a1_so4_contvolcano_vertical_850-5000_ne30pg3_c20200125.nc',
'num_a2 -> $INPUTDATA_ROOT/atm/cam/chem/emis/historical_ne30pg3/emissions-cmip6_num_a2_so4_contvolcano_vertical_850-5000_ne30pg3_c20200125.nc',
'SO2 -> $INPUTDATA_ROOT/atm/cam/chem/emis/historical_ne30pg3/emissions-cmip6_SO2_contvolcano_vertical_850-5000_ne30pg3_c20200125.nc',
'so4_a1 -> $INPUTDATA_ROOT/atm/cam/chem/emis/historical_ne30pg3/emissions-cmip6_so4_a1_anthro-ene_vertical_mol_175001-201412_ne30pg3_c20200103.nc',
'so4_a1 -> $INPUTDATA_ROOT/atm/cam/chem/emis/historical_ne30pg3/emissions-cmip6_so4_a1_contvolcano_vertical_850-5000_ne30pg3_c20200125.nc',
'so4_a2 -> $INPUTDATA_ROOT/atm/cam/chem/emis/historical_ne30pg3/emissions-cmip6_so4_a2_contvolcano_vertical_850-5000_ne30pg3_c20200125.nc'
</ext_frc_specifier>

<!-- Surface emissions -->
<srf_emis_type> CYCLICAL </srf_emis_type>
<srf_emis_cycle_yr> 1850 </srf_emis_cycle_yr>

<csw_time_type>CYCLICAL</csw_time_type>
<csw_cycle_yr>1850 </csw_cycle_yr>

</namelist_defaults>
62 changes: 62 additions & 0 deletions bld/namelist_files/use_cases/1850_cam_mt.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?xml version="1.0"?>
<namelist_defaults>

<!-- Solar data from NRL -->
<solar_irrad_data_file>atm/cam/solar/SolarForcingCMIP6piControl_c160921.nc</solar_irrad_data_file>
<solar_data_ymd> 18500101 </solar_data_ymd>
<solar_data_type> FIXED </solar_data_type>

<!-- Initial conditions-->
<ncdata hgrid="ne30np4" npg="3" nlev="93">atm/cam/inic/se/L93_ne30pg3_ne30pg3_mg17_450_short.cam.i.1979-01-07-00000.nc</ncdata>

<!-- LBC Files : -->
<flbc_file>atm/waccm/lb/LBC_17500116-20150116_CMIP6_0p5degLat_c180905.nc</flbc_file>
<flbc_cycle_yr>1850</flbc_cycle_yr>
<flbc_type>'CYCLICAL'</flbc_type>
<flbc_list>'CO2','CH4','N2O','CFC11','CFC12','CFC11eq'</flbc_list>


<!-- ozone data : -->
<prescribed_ozone_datapath> 'atm/cam/ozone_strataero' </prescribed_ozone_datapath>
<prescribed_ozone_file > 'ozone_strataero_cyclical_WACCM6_L70_CMIP6-piControl.001_y21-50avg_zm_5day_c180802.nc' </prescribed_ozone_file>
<prescribed_ozone_name > 'O3' </prescribed_ozone_name>
<prescribed_ozone_type > CYCLICAL </prescribed_ozone_type>
<prescribed_ozone_cycle_yr> 1850 </prescribed_ozone_cycle_yr>

<!-- Prescribed stratospheric aerosols : -->
<prescribed_strataero_cycle_yr> 1850 </prescribed_strataero_cycle_yr>
<prescribed_strataero_datapath> 'atm/cam/ozone_strataero' </prescribed_strataero_datapath>
<prescribed_strataero_file> 'ozone_strataero_cyclical_WACCM6_L70_CMIP6-piControl.001_y21-50avg_zm_5day_c180802.nc' </prescribed_strataero_file>
<prescribed_strataero_use_chemtrop> .true. </prescribed_strataero_use_chemtrop>
<prescribed_strataero_type> 'CYCLICAL' </prescribed_strataero_type>


<!-- Prescribed oxidants for aerosol chemistry : -->
<tracer_cnst_cycle_yr > 1850 </tracer_cnst_cycle_yr>
<tracer_cnst_datapath > 'atm/cam/tracer_cnst' </tracer_cnst_datapath>
<tracer_cnst_file > 'tracer_cnst_WACCM6_halons_3DmonthlyL70_1850climoCMIP6piControl001_y21-50avg_c180802.nc' </tracer_cnst_file>
<tracer_cnst_specifier> 'O3','OH','NO3','HO2','HALONS' </tracer_cnst_specifier>
<tracer_cnst_type > 'CYCLICAL' </tracer_cnst_type>
<tracer_cnst_filelist > '' </tracer_cnst_filelist>

<!-- External forcing -->
<ext_frc_type> CYCLICAL </ext_frc_type>
<ext_frc_cycle_yr> 1850 </ext_frc_cycle_yr>
<ext_frc_specifier>
'num_a1 -> $INPUTDATA_ROOT/atm/cam/chem/emis/historical_ne30pg3/emissions-cmip6_num_so4_a1_anthro-ene_vertical_mol_175001-201412_ne30pg3_c20200103.nc',
'num_a1 -> $INPUTDATA_ROOT/atm/cam/chem/emis/historical_ne30pg3/emissions-cmip6_num_a1_so4_contvolcano_vertical_850-5000_ne30pg3_c20200125.nc',
'num_a2 -> $INPUTDATA_ROOT/atm/cam/chem/emis/historical_ne30pg3/emissions-cmip6_num_a2_so4_contvolcano_vertical_850-5000_ne30pg3_c20200125.nc',
'SO2 -> $INPUTDATA_ROOT/atm/cam/chem/emis/historical_ne30pg3/emissions-cmip6_SO2_contvolcano_vertical_850-5000_ne30pg3_c20200125.nc',
'so4_a1 -> $INPUTDATA_ROOT/atm/cam/chem/emis/historical_ne30pg3/emissions-cmip6_so4_a1_anthro-ene_vertical_mol_175001-201412_ne30pg3_c20200103.nc',
'so4_a1 -> $INPUTDATA_ROOT/atm/cam/chem/emis/historical_ne30pg3/emissions-cmip6_so4_a1_contvolcano_vertical_850-5000_ne30pg3_c20200125.nc',
'so4_a2 -> $INPUTDATA_ROOT/atm/cam/chem/emis/historical_ne30pg3/emissions-cmip6_so4_a2_contvolcano_vertical_850-5000_ne30pg3_c20200125.nc'
</ext_frc_specifier>

<!-- Surface emissions -->
<srf_emis_type> CYCLICAL </srf_emis_type>
<srf_emis_cycle_yr> 1850 </srf_emis_cycle_yr>

<csw_time_type>CYCLICAL</csw_time_type>
<csw_cycle_yr>1850 </csw_cycle_yr>

</namelist_defaults>
13 changes: 0 additions & 13 deletions bld/namelist_files/use_cases/hist_cam_lt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
<!-- Initial conditions -->
<ncdata hgrid="ne30np4" npg="3" nlev="58">atm/cam/inic/se/FWsc_ne30pg3_58L_GRID_48_taperstart10km_lowtop_BL10_v3_beta1p75_Top_43km.nc</ncdata>

<!-- Topography -->
<bnd_topo hgrid="ne30np4" npg="3">atm/cam/topo/se/ne30pg3_gmted2010_modis_bedmachine_nc3000_Laplace0100_20230105.nc</bnd_topo>

<!-- LBC Files -->
<flbc_file>atm/waccm/lb/LBC_17500116-20150116_CMIP6_0p5degLat_c180905.nc</flbc_file>
<flbc_type>'SERIAL'</flbc_type>
Expand Down Expand Up @@ -48,14 +45,4 @@
<srf_emis_type>INTERP_MISSING_MONTHS</srf_emis_type>
<csw_time_type>SERIAL</csw_time_type>

<!-- Dycore settings -->
<se_rsplit> 3 </se_rsplit>
<se_nsplit> 2 </se_nsplit>
<se_hypervis_subcycle> 4 </se_hypervis_subcycle>

<!-- gravity wave settings -->
<gw_apply_tndmax> .false. </gw_apply_tndmax>
<use_gw_convect_dp> .false. </use_gw_convect_dp>
<use_gw_front> .false. </use_gw_front>

</namelist_defaults>
16 changes: 0 additions & 16 deletions bld/namelist_files/use_cases/hist_cam_mt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
<!-- Initial conditions -->
<ncdata hgrid="ne30np4" npg="3" nlev="93">atm/cam/inic/se/L93_ne30pg3_ne30pg3_mg17_450_short.cam.i.1979-01-07-00000.nc</ncdata>

<!-- Topography -->
<bnd_topo hgrid="ne30np4" npg="3">atm/cam/topo/se/ne30pg3_gmted2010_modis_bedmachine_nc3000_Laplace0100_20230105.nc</bnd_topo>

<!-- LBC Files -->
<flbc_file>atm/waccm/lb/LBC_17500116-20150116_CMIP6_0p5degLat_c180905.nc</flbc_file>
<flbc_type>'SERIAL'</flbc_type>
Expand Down Expand Up @@ -43,17 +40,4 @@
<srf_emis_type>INTERP_MISSING_MONTHS</srf_emis_type>
<csw_time_type>SERIAL</csw_time_type>

<!-- Dycore settings -->
<se_rsplit> 6 </se_rsplit>
<se_nsplit> 3 </se_nsplit>
<se_hypervis_subcycle> 3 </se_hypervis_subcycle>

<!-- gravity wave settings -->
<gw_apply_tndmax> .false. </gw_apply_tndmax>
<use_gw_convect_dp> .true. </use_gw_convect_dp>
<use_gw_front> .true. </use_gw_front>

<tau_0_ubc> .true. </tau_0_ubc>
<se_nu_top> 1.E6 </se_nu_top>

</namelist_defaults>
2 changes: 2 additions & 0 deletions cime_config/config_component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@
<value compset="1850_CAM60%WCTS" >waccm_tsmlt_1850_cam6</value>
<value compset="1850_CAM60%WCCM" >waccm_ma_1850_cam6</value>
<value compset="1850_CAM60%WCSC" >waccm_sc_1850_cam6</value>
<value compset="1850_CAM%DEV%LT" >1850_cam_lt</value>
<value compset="1850_CAM%DEV%MT" >1850_cam_mt</value>

<value compset="2000_CAM40%TMOZ" >2000_cam4_trop_chem</value>
<value compset="2000_CAM40%WXIE" >waccmxie_ma_2000_cam4</value>
Expand Down
10 changes: 10 additions & 0 deletions cime_config/config_compsets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,16 @@
<lname>HIST_CAM%DEV%MT%GHGMAM4_CLM51%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV</lname>
</compset>

<compset>
<alias>FLT1850_TESTINGONLY_v0c</alias>
<lname>1850_CAM%DEV%LT%GHGMAM4_CLM51%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV</lname>
</compset>

<compset>
<alias>FMT1850_TESTINGONLY_v0c</alias>
<lname>1850_CAM%DEV%MT%GHGMAM4_CLM51%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV</lname>
</compset>

<compset>
<alias>FHIST_BGC</alias>
<lname>HIST_CAM60_CLM50%BGC-CROP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV</lname>
Expand Down
85 changes: 85 additions & 0 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,90 @@
===============================================================

Tag name: cam6_3_111
Originator(s): cacraig, hannay, fvitt
Date: May 17, 2023
One-line Summary: create CAM LT and MT 1850 use_cases
Github PR URL: https://github.com/ESCOMP/CAM/pull/806

Purpose of changes (include the issue number and title text for each relevant GitHub issue):
- Add use_cases for 1850 LT and MT compsets: https://github.com/ESCOMP/CAM/issues/804

*** IMPORTANT NOTE -- MT compsets do not run successfully for 9 time steps

Describe any changes made to build system: N/A

Describe any changes made to the namelist:
- See specific details below in file section:
Updated namelist settings based on discussion in: https://github.com/NCAR/amwg_dev/discussions/261

List any changes to the defaults for the boundary datasets: N/A

Describe any substantial timing or memory changes: N/A

Code reviewed by: hannay, nusbaume

List all files eliminated: N/A

List all files added and what they do:
A bld/namelist_files/use_cases/1850_cam_lt.xml
A bld/namelist_files/use_cases/1850_cam_mt.xml
- Initial use cases - setup for BLT1850 and BMT1850 to use

List all existing files that have been modified, and describe the changes:
M bld/build-namelist
- Remove H2O ext_file from ghg_mam runs

M bld/namelist_files/namelist_defaults_cam.xml
- Added gw_apply_tndmz defaults for ghg_mam4 93 and 58 level
- Added se_hypervis_subcycle default for ne30np4, npg3, 58 level

M bld/namelist_files/use_cases/hist_cam_lt.xml
M bld/namelist_files/use_cases/hist_cam_mt.xml
- Removed the above settings and others which are set properly via namelist_defaults

M cime_config/config_component.xml
- Added hooks for 1850 LT and MT use_cases

M cime_config/config_compsets.xml
- Added for Testing purposes ONLY - FLT1850_TESTINGONLY_v0c and FMT1850_TESTINGONLY_v0c


If there were any failures reported from running test_driver.sh on any test
platform, and checkin with these failures has been OK'd by the gatekeeper,
then copy the lines from the td.*.status files for the failed tests to the
appropriate machine below. All failed tests must be justified.

cheyenne/intel/aux_cam:
FAIL ERP_Ln9_Vnuopc.ne30pg3_ne30pg3_mg17.FW2000climo.cheyenne_intel.cam-outfrq9s_wcm_ne30 RUN time=266
- preexisting failure

FAIL ERS_Ln9_P36x1_Vnuopc.mpasa480_mpasa480.F2000climo.cheyenne_intel.cam-outfrq9s_mpasa480 RUN time=357
- This test passed for Brian Eaton when he made cam6_3_110. We retested and Francis Vitt had it fail for
cam6_3_109. Cheryl Craig tested using cam6_3_110 and cam6_3_108 and it failed in both of these version.
Saying this is a preexisting failure and will be researched later

FAIL ERS_Ld3_Vnuopc.f10_f10_mg37.F1850.cheyenne_intel.cam-outfrq1d_14dec_ghg_cam_dev BASELINE
FAIL SMS_D_Ln9_Vnuopc_P720x1.ne30pg3_ne30pg3_mg17.FCLTHIST.cheyenne_intel.cam-outfrq9s BASELINE
- expected baselines differences due to namelist changes


izumi/nag/aux_cam: all BFB except:
FAIL DAE_Vnuopc.f45_f45_mg37.FHS94.izumi_nag.cam-dae RUN time=10


izumi/gnu/aux_cam: all BFB

ADDITIONAL TESTS RUN:

Cecile ran FLTHIST and FLT1850 tests with restart and they ran properly (with user_nl_cam, user_nl_clm, CLM SourceMods and
various XML settings):
/glade/scratch/hannay/cases/f.cam6_3_111.FLT1850.001
/glade/scratch/hannay/cases/f.cam6_3_111.FLTHIST_v0c.001


===============================================================
===============================================================

Tag name: cam6_3_110
Originator(s): eaton, bstephens
Date: Tue May 9 01:46:34 PM EDT 2023
Expand Down

0 comments on commit 379603b

Please sign in to comment.