Takes site information for a single or multiple sites and grabs all data required for a p-model run in rsofun.

fdk_format_drivers(
  site_info,
  params_siml = dplyr::tibble(spinup = TRUE, spinupyears = 10, recycle = 1, outdt = 1,
    ltre = FALSE, ltne = FALSE, ltrd = FALSE, ltnd = FALSE, lgr3 = TRUE, lgn3 = FALSE,
    lgr4 = FALSE),
  path,
  verbose = TRUE
)

Arguments

site_info

data frame using minimum information required being five columns: sitename, lon, lat, elv, whc

params_siml

simulation parameters (preset)

path

path with daily FLUXNET data

verbose

provide verbose output (default = FALSE)

product

which flux product to use

Value

returns an rsofun compatible driver file for the provided sites

Details

Parameter settings are provided as arguments, but could be altered after the fact if desired.

NOTE: Processing is selective and will create different files on non-GECO workstations.