Skip to content

Commit

Permalink
Merge pull request #137 from mvertens/feature/new_use_cases
Browse files Browse the repository at this point in the history
Update of noresm physics for oslo-aero use cases for 1850, 2000 and hist

Contributors: mvertens
Reviewers: gold2718
PR URL: #137

Purpose of changes: Update use cases for noresm physics and oslo-aero to use as much as possible the same settings (e.g. ozone forcing) as for tropmam4

Changes made to build system: None
Changes made to the namelist: Use cases updated
Changes to the defaults for the boundary datasets: None
Substantial timing or memory changes: None

Testing:
Ran aux_cam_noresm on betzy, compared to noresm_v10_cam6_3_123 and generated noresm_v11_cam6_3_123
All tests passed
Baselines are different compared to noresm_v10_cam6_3_123 for the following:
ERP_D_Ln9_P18.ne3pg3_ne3pg3_mg37.NFLTHISToslo_v0d.betzy_intel.cam-outfrq9s
ERP_Ln9.ne30pg3_ne30pg3_mtn14.NF1850oslo.betzy_intel.cam-outfrq9s
ERP_Ln9.ne30pg3_ne30pg3_mtn14.NF1850tropmam4.betzy_intel.cam-outfrq9s
ERP_Ln9.ne30pg3_ne30pg3_mtn14.NF2000oslo.betzy_intel.cam-outfrq9s
ERP_Ln9.ne30pg3_ne30pg3_mtn14.NF2000tropmam4.betzy_intel.cam-outfrq9s
SMS_D_Ln9_P18.ne3pg3_ne3pg3_mg37.NF2000oslo.betzy_intel.cam-outfrq9s

NOTE: **These tests were performed with code from the following PRs**
NorESMhub/CAM-Nor-physics#10
NorESMhub/OSLO_AERO#19

Issues addressed by this PR: #138
  • Loading branch information
gold2718 authored Mar 9, 2024
2 parents 2452bf7 + 65db9c0 commit 802abfc
Show file tree
Hide file tree
Showing 11 changed files with 490 additions and 393 deletions.
4 changes: 2 additions & 2 deletions Externals_CAM.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ required = True

[camnor_phys]
protocol = git
branch = noresm
tag = 2aad4ca
repo_url = https://github.com/NorESMhub/CAM-Nor-physics
local_path = src/physics/camnor_phys
required = True

[oslo_aero]
protocol = git
branch = noresm_develop
tag = 90e657f
repo_url = https://github.com/NorESMhub/OSLO_AERO
local_path = src/chemistry/oslo_aero
required = True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<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>
<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>

<!-- LBC Files : -->
<flbc_file>atm/waccm/lb/LBC_17500116-20150116_CMIP6_0p5degLat_c180905.nc</flbc_file>
Expand All @@ -18,22 +18,22 @@
<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>
<!-- 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 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'</tracer_cnst_specifier>
<tracer_cnst_type>'CYCLICAL'</tracer_cnst_type>
<tracer_cnst_filelist>''</tracer_cnst_filelist>
<!-- 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' </tracer_cnst_specifier>
<tracer_cnst_type > 'CYCLICAL' </tracer_cnst_type>
<tracer_cnst_filelist > '' </tracer_cnst_filelist>

<!-- External forcing for MAMOslo -->
<!-- External forcing -->
<ext_frc_type>CYCLICAL</ext_frc_type>
<ext_frc_cycle_yr>1850</ext_frc_cycle_yr>
<ext_frc_specifier>
Expand All @@ -56,7 +56,7 @@
'SO4_PR -> $INPUTDATA_ROOT/atm/cam/chem/emis/cmip6_emissions_version20180512/emissions_cmip6_noresm2_SO4_PR_volcCONTEXPL_vertical_1850_0.9x1.25_version20180512.nc'
</ext_frc_specifier>

<!-- surface emissions for MAMoslo-->
<!-- Surface emissions -->
<srf_emis_type>CYCLICAL</srf_emis_type>
<srf_emis_cycle_yr>1850</srf_emis_cycle_yr>
<srf_emis_specifier>
Expand All @@ -69,13 +69,30 @@

<rad_climate>'A:Q:H2O','N:O2:O2','N:CO2:CO2','N:ozone:O3','N:N2O:N2O','N:CH4:CH4','N:CFC11:CFC11','N:CFC12:CFC12'</rad_climate>

<!--diagnostics-->
<do_circulation_diags>.true.</do_circulation_diags>

<!--phys_ctl_nl-->
<dme_energy_adjust>.true.</dme_energy_adjust>

<!--Options for megan -->
<megan_specifier>'isoprene = isoprene','monoterp = myrcene + sabinene + limonene+ carene_3 + ocimene_t_b + pinene_b + pinene_a'</megan_specifier>

<prescribed_volcaero_datapath>atm/cam/volc</prescribed_volcaero_datapath>
<prescribed_volcaero_file>CMIP_CAM6_radiation_average_v3_reformatted.nc</prescribed_volcaero_file>
<prescribed_volcaero_cycle_yr>1850</prescribed_volcaero_cycle_yr>
<prescribed_volcaero_type>CYCLICAL</prescribed_volcaero_type>

<!-- ================================================= -->
<!-- noresm-physics -->
<!-- ================================================= -->

<dme_energy_adjust>.true.</dme_energy_adjust>
<zmconv_c0_lnd> 0.0200D0 </zmconv_c0_lnd> <!--zmconv_nl-->
<zmconv_c0_ocn> 0.0200D0 </zmconv_c0_ocn> <!--zmconv_nl-->
<zmconv_ke> 8.0E-6 </zmconv_ke> <!--zmconv_nl-->
<zmconv_ke_lnd> 8.0E-6 </zmconv_ke_lnd> <!--zmconv_nl-->
<tau_0_ubc> .true. </tau_0_ubc> <!--gw_drag_nl-->
<clubb_gamma_coef hgrid="0.9x1.25">0.286</clubb_gamma_coef>
<clubb_gamma_coef hgrid="1.9x2.5" >0.264</clubb_gamma_coef>
<micro_mg_dcs hgrid="0.9x1.25">5.5e-4</micro_mg_dcs> <!--micro_mg_nl-->
<micro_mg_dcs hgrid="1.9x2.5" >5.0e-4</micro_mg_dcs> <!--micro_mg_nl-->
<cldfrc2m_rhmini hgrid="0.9x1.25">0.90D0</cldfrc2m_rhmini> <!--cldfrc2m_nl-->
<cldfrc_iceopt hgrid="1.9x2.5"> 4 </cldfrc_iceopt> <!--cldfrc_nl-->
<do_circulation_diags> .true. </do_circulation_diags> <!-- only used in fv -->

</namelist_defaults>
81 changes: 81 additions & 0 deletions bld/namelist_files/use_cases/1850_camnor_lt_tropmam4.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<?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>

<!-- 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' </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>

<!-- ================================================= -->
<!-- noresm-physics -->
<!-- ================================================= -->

<dme_energy_adjust>.true.</dme_energy_adjust>
<zmconv_c0_lnd> 0.0200D0 </zmconv_c0_lnd> <!--zmconv_nl-->
<zmconv_c0_ocn> 0.0200D0 </zmconv_c0_ocn> <!--zmconv_nl-->
<zmconv_ke> 8.0E-6 </zmconv_ke> <!--zmconv_nl-->
<zmconv_ke_lnd> 8.0E-6 </zmconv_ke_lnd> <!--zmconv_nl-->
<tau_0_ubc> .true. </tau_0_ubc> <!--gw_drag_nl-->
<clubb_gamma_coef hgrid="0.9x1.25">0.286</clubb_gamma_coef>
<clubb_gamma_coef hgrid="1.9x2.5" >0.264</clubb_gamma_coef>
<micro_mg_dcs hgrid="0.9x1.25">5.5e-4</micro_mg_dcs> <!--micro_mg_nl-->
<micro_mg_dcs hgrid="1.9x2.5" >5.0e-4</micro_mg_dcs> <!--micro_mg_nl-->
<cldfrc2m_rhmini hgrid="0.9x1.25">0.90D0</cldfrc2m_rhmini> <!--cldfrc2m_nl-->
<cldfrc_iceopt hgrid="1.9x2.5"> 4 </cldfrc_iceopt> <!--cldfrc_nl-->
<do_circulation_diags> .true. </do_circulation_diags> <!-- only used in fv -->

</namelist_defaults>
2 changes: 2 additions & 0 deletions bld/namelist_files/use_cases/2000_cam6.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
<tracer_cnst_datapath chem="trop_mam4">atm/cam/ozone </tracer_cnst_datapath>
<tracer_cnst_file chem="trop_mam4">tracer_cnst_CAM6chem_2000climo_3D_monthly_c171004.nc </tracer_cnst_file>
<tracer_cnst_specifier chem="trop_mam4">'O3','OH','NO3','HO2' </tracer_cnst_specifier>

<tracer_cnst_datapath chem="ghg_mam4" >atm/cam/tracer_cnst </tracer_cnst_datapath>
<tracer_cnst_file chem="ghg_mam4" >tracer_cnst_halons_3D_L70_1849-2015_CMIP6ensAvg_c180927.nc</tracer_cnst_file>
<tracer_cnst_specifier chem="ghg_mam4" >'O3','OH','NO3','HO2','HALONS' </tracer_cnst_specifier>

<tracer_cnst_cycle_yr >2000 </tracer_cnst_cycle_yr>
<tracer_cnst_type >CYCLICAL </tracer_cnst_type>
<tracer_cnst_filelist >'' </tracer_cnst_filelist>
Expand Down
Loading

0 comments on commit 802abfc

Please sign in to comment.