Transform raw radiative forcings for use with fit_baygmst()
Source: R/transform_forcings.R
transform_forcings.RdApplies the forcing transformations used throughout the BayGMST pipeline:
volcanic forcing is mapped to a negative saturating form, greenhouse-gas
(CO2) forcing is log-transformed relative to a reference concentration,
and solar forcing is centered on its own mean. Ported from the
normalization block near the top of the original BayGMST_v1.0.R
script (see system.file("legacy-scripts", package = "BayGMST")).
Arguments
- G
Numeric vector of raw greenhouse-gas forcing (e.g. atmospheric CO2 concentration in ppm).
- V
Numeric vector of raw volcanic forcing (e.g. aerosol optical depth). Same length as
G.- S
Numeric vector of raw solar forcing (e.g. total solar irradiance). Same length as
G.- co2_c0
Reference/baseline CO2 concentration used in the log transform. Default
280(a common preindustrial reference, ppm).- co2_coef
Multiplier applied to the log CO2 ratio. Default
5.35.- vol_coef
Multiplier applied to the volcanic saturating transform. Default
25.
Value
A list with three numeric vectors, G, V, and S – the
transformed forcings, each the same length as the corresponding input.