R/data.R

#' A table of soil parameters
#'
#' A table of soil paramaters for different soil types
#'
#' @format A data frame with the following columns:
#' \describe{
#'   \item{Soil.type}{description of soil type}
#'   \item{Smax}{Volumetric water content at saturation (m^3 / m^3)}
#'   \item{Smin}{Residual water content (m^3 / m^3)}
#'   \item{alpha}{Shape parameter of the van Genuchten model (cm^-1)}
#'   \item{n}{Pore size distribution parameter (dimensionless, > 1)}
#'   \item{Ksat}{Saturated hydraulic conductivity (cm / day)}
#'   \item{Vq}{Volumetric quartz content of soil}
#'   \item{Vm}{Volumetric mineral content of soil}
#'   \item{Vo}{Volumetric organic content of soil}
#'   \item{Mc}{Mass fraction of clay}
#'   \item{rho}{Soil bulk density (Mg / m^3)}
#'   \item{b}{Shape parameter for Campbell model (dimensionless, > 1)}
#'   \item{psi_e}{Matric potential (J / m^3)}
#' }
#' @source: \url{https://onlinelibrary.wiley.com/doi/full/10.1002/ird.1751}
"soilparams"
#'
#' A list of climate variables
#'
#' A list of climate variables needed to run the below canopy microclimate model for one time step
#'
#' @format a list with the following elements:
#' \describe{
#'  \item{tair}{air temperature at reference height (deg C)}
#'  \item{relhum}{relative humidity at reference height (percentage)}
#'  \item{pk}{Atmospheric pressure (kPa)}
#'  \item{u}{Wind speed at reference height (m/s)}
#'  \item{tsoil}{temperature of deepest soil layer (deg C)}
#'  \item{skyem}{sky emissivity}
#'  \item{Rsw}{Incoming shortwave radiation (W/m^2)}
#'  \item{dp}{Diffuse fraction of incoming shortwave radiation}
#'  \item{psi_h}{diabatic correction factor for above canopy heat transfer}
#'  \item{psi_m}{diabatic correction factor for above canopy momentum transfer}
#'  \item{phi_m}{diabatic correction factor for below canopy momentum transfer}
#' }
"climvars"
#'
#' A vector of daily precipitation
#'
#' A vector of daily precipitation (mm) in 1995 at Camborne weather station, Cornwall (50.2178N, 5.32656W)
#'
"dailyprecip"
#' A data frame of hourly weather
#'
#' A data frame of hourly weather in 1995 at Camborne weather station, Cornwall (50.2178N, 5.32656W)
#'
#' @format a data frame with the following elements:
#' \describe{
#'  \item{obs_time}{POSIXlt object of dates and times}
#'  \item{temp}{temperature (degrees C)}
#'  \item{relhum}{relative humidity (percentage)}
#'  \item{pres}{atmospheric press (kPa)}
#'  \item{swrad}{Total incoming shortwave radiation (W / m^2)}
#'  \item{difrad}{Diffuse radiation (W / m^2)}
#'  \item{skyem}{Sky emissivity (0-1)}
#'  \item{windspeed}{Wind speed (m/s)}
#'  \item{winddir}{Wind direction (decimal degrees)}
#' }
"weather"
ilyamaclean/microclimc documentation built on July 28, 2023, 1:40 a.m.