R/grass_fuel_moisture_code.r

Defines functions grass_fuel_moisture_code

Documented in grass_fuel_moisture_code

#' Grass Fuel Moisture Calculation
#'
#' @description This is the actual calculation for grass fuel moisture
#'
#' @param MC0 An output from the mcCalc functions
#'
#' @seealso mcCalc
#'
#' @return \code{gfmc}
#'
#' @export grass_fuel_moisture_code

grass_fuel_moisture_code <- function(MC0) {
  # Eq. 12 - Calculate GFMC
  GFMC0 <- 59.5 * ((250 - MC0) / (FFMC_COEFFICIENT + MC0))
  return(GFMC0)
}
nrcan-cfs-fire/cffdrs documentation built on Sept. 20, 2024, 12:30 a.m.