Source Functions

RRTMGP.Sources.SourceLWNoScatType
SourceLWNoScat{FT,FTA1D,FTA2D} <: 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/m2] (ncol)

  • layerdata: storage for lay_source, lev_source_inc and lev_source_dec (3, nlay, ncol)

  • lay_source: Planck source at layer average temperature [W/m2] (nlay, ncol)

  • lev_source_inc: Planck source at layer edge in increasing ilay direction [W/m2] (nlay, ncol), includes spectral weighting that accounts for state-dependent frequency to g-space mapping

  • lev_source_dec: Planck source at layer edge in decreasing ilay direction [W/m2] (nlay, ncol), includes spectral weighting that accounts for 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/m2] (ncol)

  • leveldata: storage for level source, albedo and src (3, nlay+1, ncol)

  • lev_source: level source [W/m2] (nlay+1, ncol), used in 2 stream calculations

  • albedo: temporary storage array, used in 2 stream calculations (nlay + 1, ncol)

  • src: temporary storage array, used in 2 stream calculations (nlay + 1, ncol)

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 (2, nlay + 1, ncol)

  • albedo: albedo (nlay + 1, ncol)

  • src: temporary storage array, used in 2 stream calculations (nlay + 1, ncol)

source
RRTMGP.Sources.source_func_longwaveFunction
source_func_longwave(
    param_set,
    ::Type{FT},
    ncol::Int,
    nlay::Int,
    OPC::Symbol,
    ::Type{DA},
) where {FT, DA}

Initializes the longwave source for one scalar and two stream simulations.

source
RRTMGP.Sources.source_func_shortwaveFunction
source_func_shortwave(
    ::Type{FT},
    ncol::Int,
    nlay::Int,
    opc::Symbol,
    ::Type{DA},
) where {FT,DA}

Initializes the shortwave source for one scalar and two stream simulations.

source