Volume Mixing Ratios

RRTMGP.Vmrs.VmrType
Vmr{FT,FTA3D} <: AbstractVmr{FT}

Volume mixing ratios for various gases in the atmosphere. This struct can be used when concentrations vary spatially for all gases.

Fields

  • vmr: volume mixing ratio of all gases as a function of location and column
source
RRTMGP.Vmrs.VmrGMType
VmrGM{FT,FTA1D,FTA2D} <: AbstractVmr{FT}

Volume mixing ratios for various gases in the atmosphere. This struct can be used when only H₂O and O₃ concentrations vary spatially and a global mean is used for all other gases.

Fields

  • vmr_h2o: volume mixing ratio of H₂O

  • vmr_o3: volume mixing ratio of Ozone

  • vmr: volume mixing ratio of all other gases, which are independent of location and column

source
RRTMGP.Vmrs.init_vmrFunction
init_vmr(
    ngas,
    nlay,
    ncol,
    ::Type{FT},
    ::Type{DA};
    gm::Bool = true,
) where {FT<:AbstractFloat,DA}

Initialize the Vmr struct.

source
RRTMGP.Vmrs.get_vmrFunction
get_vmr(
    vmr::VmrGM{FT},
    ig::Int,
    ilay::Int,
    icol::Int,
) where {FT<:AbstractFloat}

Obtain volume mixing ratio of gas ig for layer ilay of column icol.

source
get_vmr(
    vmr::Vmr{FT},
    ig::Int,
    ilay::Int,
    icol::Int,
) where {FT<:AbstractFloat}

Obtain volume mixing ratio of gas ig for layer ilay of column icol.

source