Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cam6_3_111: create CAM LT and MT 1850 use_cases #806

Merged
merged 10 commits into from
May 17, 2023
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>

cacraigucar marked this conversation as resolved.
Show resolved Hide resolved
<!-- 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>

cacraigucar marked this conversation as resolved.
Show resolved Hide resolved
<!-- 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</alias>
<lname>1850_CAM%DEV%LT%GHGMAM4_CLM51%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV</lname>
</compset>

<compset>
<alias>FMT1850</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 -- LT compsets do not restart
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a reminder to remove or modify this line if LT compsets do restart successfully for Cecile.

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

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_compsets.xml
????????????????????????????????????DO WE WANT TO KEEP TEMPORARILY??????????????????????????????????
????????????????????????????????????DO WE WANT TO KEEP TEMPORARILY??????????????????????????????????
????????????????????????????????????DO WE WANT TO KEEP TEMPORARILY??????????????????????????????????
????????????????????????????????????DO WE WANT TO KEEP TEMPORARILY??????????????????????????????????
????????????????????????????????????DO WE WANT TO KEEP TEMPORARILY??????????????????????????????????
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just adding a reminder to "answer" this question in the ChangeLog before merging.



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:

izumi/nag/aux_cam:

izumi/gnu/aux_cam:

ADDITIONAL TESTS:
FLTHIST_v0c: Didn't quite complete, but 3 restart files were BFB with 9 timestep original run:
/glade/scratch/cacraig/ERP_D_Ln9_Vnuopc.ne30pg3_ne30pg3_mg17.FLTHIST_v0c.cheyenne_intel.cam-outfrq9s.20230516_144724_gs6zve
FLT1850: Finished original 9 timestep run, but stopped during initialization in restart, no error reported:
/glade/scratch/cacraig/ERP_D_Ln9_Vnuopc.ne30pg3_ne30pg3_mg17.FLT1850.cheyenne_intel.cam-outfrq9s.20230516_143553_k4i9e6
FMTHIST_v0c: Stops during initialization - no error reported
/glade/scratch/cacraig/ERP_D_Ln9_Vnuopc.ne30pg3_ne30pg3_mg17.FMTHIST_v0c.cheyenne_intel.cam-outfrq9s.20230516_144956_aw8gtc
FMT1850: Stops during initialization - no error reported
/glade/scratch/cacraig/ERP_D_Ln9_Vnuopc.ne30pg3_ne30pg3_mg17.FMT1850.cheyenne_intel.cam-outfrq9s.20230516_144426_n4qhss

NONDEBUG RESTART TESTS:
FLTHIST_v0c: Finished original 9 timestep run, but stopped during initialization in restart, no error reported:
/glade/scratch/cacraig/ERP_Ln9_Vnuopc.ne30pg3_ne30pg3_mg17.FLTHIST_v0c.cheyenne_intel.cam-outfrq9s.20230516_163931_c3lrrw
FLT1850: Finished original 9 timestep run, but stopped during initialization in restart, no error reported:
/glade/scratch/cacraig/ERP_Ln9_Vnuopc.ne30pg3_ne30pg3_mg17.FLT1850.cheyenne_intel.cam-outfrq9s.20230516_164207_isfo08
FMTHIST_v0c: Stops during initialization - 36:MPT ERROR: Rank 36(g:36) received signal SIGBUS(7). (no traceback)
/glade/scratch/cacraig/ERP_Ln9_Vnuopc.ne30pg3_ne30pg3_mg17.FMTHIST_v0c.cheyenne_intel.cam-outfrq9s.20230516_164356_y2jmbv
FMT1850: Ran for 5 timesteps and stopped during writes?
/glade/scratch/cacraig/ERP_Ln9_Vnuopc.ne30pg3_ne30pg3_mg17.FMT1850.cheyenne_intel.cam-outfrq9s.20230516_164528_0anan8


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

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