CCPP SciDoc v7.0.0  v7.0.0
Common Community Physics Package Developed at DTC
 
Loading...
Searching...
No Matches
rrtmgp_sw_gas_optics Module Reference

This module contains a routine to initialize the k-distribution data used by the RRTMGP shortwave radiation scheme.

Functions/Subroutines

subroutine rrtmgp_sw_gas_optics_init (rrtmgp_root_dir, rrtmgp_sw_file_gas, active_gases_array, mpicomm, mpirank, mpiroot, errmsg, errflg)
 

Variables

real(kind_phys), parameter tsi_default = 1360.85767381726
 
real(kind_phys), parameter mg_default = 0.1567652
 
real(kind_phys), parameter sb_default = 902.7126
 
type(ty_gas_optics_rrtmgp) sw_gas_props
 
integer ntempssw
 
integer npresssw
 
integer ngptssw
 
integer nabsorberssw
 
integer nextrabsorberssw
 
integer nminorabsorberssw
 
integer nmixingfracssw
 
integer nlayerssw
 
integer nbndssw
 
integer npairssw
 
integer nminor_absorber_intervals_lowersw
 
integer nminor_absorber_intervals_uppersw
 
integer ncontributors_lowersw
 
integer ncontributors_uppersw
 
integer, dimension(:), allocatable kminor_start_lowersw
 Starting index in the [1, nContributors] vector for a contributor.
 
integer, dimension(:), allocatable kminor_start_uppersw
 Starting index in the [1, nContributors] vector for a contributor.
 
integer, dimension(:,:), allocatable band2gptsw
 Beginning and ending gpoint for each band.
 
integer, dimension(:,:), allocatable minor_limits_gpt_lowersw
 Beginning and ending gpoint for each minor interval in lower atmosphere.
 
integer, dimension(:,:), allocatable minor_limits_gpt_uppersw
 Beginning and ending gpoint for each minor interval in upper atmosphere.
 
integer, dimension(:,:,:), allocatable key_speciessw
 Key species pair for each band.
 
real(kind_phys) press_ref_tropsw
 Reference pressure separating the lower and upper atmosphere [Pa].
 
real(kind_phys) temp_ref_psw
 Standard spectroscopic reference pressure [Pa].
 
real(kind_phys) temp_ref_tsw
 Standard spectroscopic reference temperature [K].
 
real(kind_phys) tsi_defaultsw
 
real(kind_phys) mg_defaultsw
 Mean value of Mg2 index over the average solar cycle from the NRLSSI2 model of solar variability.
 
real(kind_phys) sb_defaultsw
 Mean value of sunspot index over the average solar cycle from the NRLSSI2 model of solar variability.
 
real(kind_phys), dimension(:), allocatable press_refsw
 Pressures for reference atmosphere; press_ref(# reference layers) [Pa].
 
real(kind_phys), dimension(:), allocatable temp_refsw
 Temperatures for reference atmosphere; temp_ref(# reference layers) [K].
 
real(kind_phys), dimension(:), allocatable solar_quietsw
 Spectrally-dependent quiet sun irradiance from the NRLSSI2 model of solar variability.
 
real(kind_phys), dimension(:), allocatable solar_facularsw
 Spectrally-dependent facular term from the NRLSSI2 model of solar variability.
 
real(kind_phys), dimension(:), allocatable solar_sunspotsw
 Spectrally-dependent sunspot term from the NRLSSI2 model of solar variability.
 
real(kind_phys), dimension(:,:), allocatable band_limssw
 Beginning and ending wavenumber [cm -1] for each band.
 
real(kind_phys), dimension(:,:,:), allocatable vmr_refsw
 Volume mixing ratios for reference atmosphere.
 
real(kind_phys), dimension(:,:,:), allocatable kminor_lowersw
 (transformed from [nTemp x nEta x nGpt x nAbsorbers] array to
 
real(kind_phys), dimension(:,:,:), allocatable kminor_uppersw
 (transformed from [nTemp x nEta x nGpt x nAbsorbers] array to
 
real(kind_phys), dimension(:,:,:), allocatable rayl_lowersw
 Stored coefficients due to rayleigh scattering contribution.
 
real(kind_phys), dimension(:,:,:), allocatable rayl_uppersw
 Stored coefficients due to rayleigh scattering contribution.
 
real(kind_phys), dimension(:,:,:,:), allocatable kmajorsw
 Stored absorption coefficients due to major absorbing gases.
 
character(len=32), dimension(:), allocatable gas_namessw
 Names of absorbing gases.
 
character(len=32), dimension(:), allocatable gas_minorsw
 Name of absorbing minor gas.
 
character(len=32), dimension(:), allocatable identifier_minorsw
 Unique string identifying minor gas.
 
character(len=32), dimension(:), allocatable minor_gases_lowersw
 Names of minor absorbing gases in lower atmosphere.
 
character(len=32), dimension(:), allocatable minor_gases_uppersw
 Names of minor absorbing gases in upper atmosphere.
 
character(len=32), dimension(:), allocatable scaling_gas_lowersw
 Absorption also depends on the concentration of this gas.
 
character(len=32), dimension(:), allocatable scaling_gas_uppersw
 Absorption also depends on the concentration of this gas.
 
logical(wl), dimension(:), allocatable minor_scales_with_density_lowersw
 Density scaling is applied to minor absorption coefficients.
 
logical(wl), dimension(:), allocatable minor_scales_with_density_uppersw
 Density scaling is applied to minor absorption coefficients.
 
logical(wl), dimension(:), allocatable scale_by_complement_lowersw
 Absorption is scaled by concentration of scaling_gas (F) or its complement (T)
 
logical(wl), dimension(:), allocatable scale_by_complement_uppersw
 Absorption is scaled by concentration of scaling_gas (F) or its complement (T)