Skip to content

Commit

Permalink
testing CESM3_SLH using cam_cesm2_2_rel_09_slh
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaPedroFernandez committed Oct 1, 2024
1 parent 3b1a221 commit 535c5a0
Show file tree
Hide file tree
Showing 15 changed files with 340 additions and 2,085 deletions.
4 changes: 3 additions & 1 deletion bld/namelist_files/namelist_defaults_cam.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1684,7 +1684,9 @@
<gas_wetdep_ice_uptake_list>'HNO3'</gas_wetdep_ice_uptake_list>

<!-- dry deposition method for gas-phase species -->
<drydep_method>xactive_lnd</drydep_method>
<!-- rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh -->
<!-- <drydep_method>xactive_lnd</drydep_method> -->
<!-- rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh -->


<!-- SLH scaling factors for different compsets -->
Expand Down
13 changes: 12 additions & 1 deletion bld/namelist_files/namelist_definition.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6680,7 +6680,8 @@ List of species that undergo dry deposition.
Default: set by build-namelist.
</entry>

<entry id="drydep_method" type="char*16" category="dry_deposition"
<!-- rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh -->
<!--<entry id="drydep_method" type="char*16" category="dry_deposition"
group="drydep_inparm" valid_values="xactive_atm,xactive_lnd,table" >
Dry deposition method used. This specifies the method used to calculate dry
deposition velocities of gas-phase chemical species. The available methods
Expand All @@ -6689,7 +6690,17 @@ are:
'xactive_atm' - interactive method in CAM
'xactive_lnd' - interactive method in CLM
Default: set by build-namelist
</entry>-->
<!-- rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh -->

<!-- rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh -->
<entry id="dep_data_file" type="char*500" input_pathname="abs" category="dry_deposition"
group="drydep_inparm" valid_values="" >
Full pathname of file containing gas phase deposition data including effective
Henry's law coefficients.
Default: set by build-namelist.
</entry>
<!-- rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh -->

<entry id="rxn_rate_sums" type="char*256(200)" category="cam_chem"
group="rxn_rate_diags_nl" valid_values="" >
Expand Down
4 changes: 3 additions & 1 deletion bld/namelist_files/use_cases/2000_cam4_trop_chem.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
<prescribed_ozone_cycle_yr> 2000 </prescribed_ozone_cycle_yr>

<chem_rad_passive>.true.</chem_rad_passive>
<drydep_method>'xactive_lnd'</drydep_method>
<!-- rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh -->
<!-- <drydep_method>'xactive_lnd'</drydep_method> -->
<!-- rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh -->

<!-- sim_year used for CLM datasets -->
<sim_year>2000</sim_year>
Expand Down
4 changes: 3 additions & 1 deletion bld/namelist_files/use_cases/sd_waccm_sulfur.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
<ncdata dyn="fv" hgrid="1.9x2.5" >atm/waccm/ic/f40.2008-2011.2deg.wcm.sd.carma.sulf.002.cam2.i.2010-01-01-00000.nc</ncdata>

<!-- Deposition Velocities -->
<drydep_method>'xactive_atm'</drydep_method>
<!-- rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh -->
<!-- <drydep_method>'xactive_atm'</drydep_method> -->
<!-- rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh -->


<!-- Emissions DEFAULTS OKAY for: airpl_emis_file,ch2o_emis_file,co_emis_file,nox_emis_file-->
Expand Down
1 change: 1 addition & 0 deletions chem_proc
Submodule chem_proc added at 49a351
1 change: 1 addition & 0 deletions src/atmos_phys
Submodule atmos_phys added at d7c575
20 changes: 14 additions & 6 deletions src/chemistry/mozart/mo_chemini.F90
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ subroutine chemini &
use mo_sulf, only : sulf_inti
use mo_photo, only : photo_inti
use mo_lightning, only : lightning_inti
!rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh
use mo_drydep, only : drydep_inti
use seq_drydep_mod, only : DD_XLND, DD_XATM, drydep_method
! use seq_drydep_mod, only : DD_XLND, DD_XATM, drydep_method
!rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh
use mo_imp_sol, only : imp_slv_inti
use mo_exp_sol, only : exp_sol_inti
use spmd_utils, only : iam
Expand Down Expand Up @@ -193,11 +195,17 @@ subroutine chemini &
!-----------------------------------------------------------------------
! ... initialize the dry deposition module
!-----------------------------------------------------------------------
if ( drydep_method == DD_XATM .or. drydep_method == DD_XLND ) then
call drydep_inti(depvel_lnd_file, clim_soilw_file, season_wes_file )
else
call drydep_inti( depvel_file )
endif
!rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh
! if ( drydep_method == DD_XATM .or. drydep_method == DD_XLND ) then
! call drydep_inti(depvel_lnd_file, clim_soilw_file, season_wes_file )
! else
! call drydep_inti( depvel_file )
! endif
!rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh

!rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh
call drydep_inti(depvel_lnd_file)
!rpf_CESM3_SLH testing cam_cesm2_2_rel_09_slh

if (masterproc) write(iulog,*) 'chemini: after drydep_inti on node ',iam

Expand Down
Loading

0 comments on commit 535c5a0

Please sign in to comment.