← Back to Documentation Home
CCPP SciDoc for HSD Capabilities  SRW v3.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, is_initialized, errmsg, errflg)

Variables

real(wp), parameter tsi_default = 1360.85767381726
real(wp), parameter mg_default = 0.1567652
real(wp), 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(wp) press_ref_tropsw
 Reference pressure separating the lower and upper atmosphere [Pa].
real(wp) temp_ref_psw
 Standard spectroscopic reference pressure [Pa].
real(wp) temp_ref_tsw
 Standard spectroscopic reference temperature [K].
real(wp) tsi_defaultsw
real(wp) mg_defaultsw
 Mean value of Mg2 index over the average solar cycle from the NRLSSI2 model of solar variability.
real(wp) sb_defaultsw
 Mean value of sunspot index over the average solar cycle from the NRLSSI2 model of solar variability.
real(wp), dimension(:), allocatable press_refsw
 Pressures for reference atmosphere; press_ref(# reference layers) [Pa].
real(wp), dimension(:), allocatable temp_refsw
 Temperatures for reference atmosphere; temp_ref(# reference layers) [K].
real(wp), dimension(:), allocatable solar_quietsw
 Spectrally-dependent quiet sun irradiance from the NRLSSI2 model of solar variability.
real(wp), dimension(:), allocatable solar_facularsw
 Spectrally-dependent facular term from the NRLSSI2 model of solar variability.
real(wp), dimension(:), allocatable solar_sunspotsw
 Spectrally-dependent sunspot term from the NRLSSI2 model of solar variability.
real(wp), dimension(:,:), allocatable band_limssw
 Beginning and ending wavenumber [cm -1] for each band.
real(wp), dimension(:,:,:), allocatable vmr_refsw
 Volume mixing ratios for reference atmosphere.
real(wp), dimension(:,:,:), allocatable kminor_lowersw
 (transformed from [nTemp x nEta x nGpt x nAbsorbers] array to
real(wp), dimension(:,:,:), allocatable kminor_uppersw
 (transformed from [nTemp x nEta x nGpt x nAbsorbers] array to
real(wp), dimension(:,:,:), allocatable rayl_lowersw
 Stored coefficients due to rayleigh scattering contribution.
real(wp), dimension(:,:,:), allocatable rayl_uppersw
 Stored coefficients due to rayleigh scattering contribution.
real(wp), 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).