Source Functions

RRTMGP.Sources.SourceLWNoScatType
SourceLWNoScat{S, D, PS} <: AbstractSourceLW

Longwave sources: computed at layer center, layer edges, and at the surface for no-scattering calculations.

Fields

  • param_set: Parameter set.
  • sfc_source: Surface source [W/m²] (ncol).
  • lay_source: Planck source at layer average temperature [W/m²] (ncol, nlay).
  • lev_source: Planck level source at layer edges [W/m²] (ncol, nlay+1); includes spectral weighting that accounts for the state-dependent frequency to g-space mapping.
source
RRTMGP.Sources.SourceLW2StrType
SourceLW2Str{S, D, V, PS} <: AbstractSourceLW

Longwave sources: computed at layer center, layer edges, and at the surface for 2-stream calculations.

Fields

  • param_set: Parameter set.
  • sfc_source: Surface source [W/m²] (ncol).
  • leveldata: Storage for level source, albedo and src (ncol, nlay+1, 3).
  • lev_source: Level source [W/m²] (ncol, nlay+1); used in 2-stream calculations.
  • albedo: Temporary storage array (ncol, nlay+1); used in 2-stream calculations.
  • src: Temporary storage array (ncol, nlay+1); used in 2-stream calculations.
source
RRTMGP.Sources.SourceSW2StrType
SourceSW2Str{S, D, V}

Shortwave sources: computed at layer center, layer edges, and at the surface for 2-stream calculations.

Fields

  • sfc_source: Surface source (ncol).
  • leveldata: Storage for albedo and src (ncol, nlay+1, 2).
  • albedo: Albedo (ncol, nlay+1).
  • src: Temporary storage array (ncol, nlay+1); used in 2-stream calculations.
source