Volume Mixing Ratios

RRTMGP.VolumeMixingRatios.AbstractVmrType
AbstractVmr{FT}

Abstract type for storage strategies for gas volume mixing ratios.

Concrete subtypes:

  • VmrGM: H₂O and O₃ vary spatially, other gases are well-mixed scalars.
  • Vmr: every gas varies by layer and column.

Subtypes are accessed through the interface method get_vmr, which returns the volume mixing ratio of a given gas for a given layer and column.

source
RRTMGP.VolumeMixingRatios.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 ratios of all gases as a function of layer and column.
source
RRTMGP.VolumeMixingRatios.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 O₃.
  • vmr: Volume mixing ratios of all other gases, which are independent of location and column.
source
RRTMGP.VolumeMixingRatios.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