frameWeather: Formats hourly weather data for frame, with DFMC

View source: R/FMC.R

frameWeatherR Documentation

Formats hourly weather data for frame, with DFMC

Description

Function uses the 'Single differential equation model' of Matthews et al (2010)

Usage

frameWeather(
  clim,
  m = 0.15,
  LAI = 3,
  WRF = 3,
  hCan = 20,
  rholitter = 550,
  litterW = 10,
  lat = -31.89,
  altitude = 8,
  slope = 6.7,
  slopeSD = 4.9,
  rangeDir = 270,
  dt = 3600,
  cardinal = FALSE,
  nelsonA = 5.2,
  nelsonB = -19,
  conLitter = 6e-04,
  sigma = 3000,
  EPS = 0.01
)

Arguments

clim

A dataset with the fields: tAM (9am temp, degC) tPM (3pm temp, degC) tMin (Minimum daily temp, degC) tMax (Maximum daily temp, degC) rhAM (9am Relative humidity, rhPM (3pm Relative humidity, wAM (9am wind, km/h) wPM (3pm wind, km/h) cAM (Morning cloud, oktas) cPM (Afternoon cloud, oktas) MSLP (Mean Sea Level Pressure, hPa) Rain (Daily rainfall, mm)

m

The starting moisture (proportion ODW)

LAI

Leaf area index of the vegetation

WRF

Wind reduction factor

hCan

Height of the tree canopy (m)

rholitter

Density of litter particles (kg/m3)

litterW

Weight of litter (t/ha)

lat

Latitude (degrees)

altitude

(m)

slope

(degrees)

slopeSD

Standard deviation of the slope

rangeDir

Cardinal direction of the ridgelines - either Nth/Sth (0) or west/east (270)

dt

Seconds per time step

cardinal

Simplify compass directions to cardinal (TRUE/FALSE)

nelsonA

Constant from Nelson FMC model

nelsonB

Constant from Nelson FMC model

conLitter

Litter conductance (m/s). Using value from Matthews spreadsheet rather than paper

sigma

Surface area: volume ratio of litter particles (m2/m3)

EPS

Sensitivity of iteration


pzylstra/frame_r documentation built on Nov. 12, 2023, 1:55 a.m.