Requires a pft xml object, a list of trait values for a single model run, and the name of the file to create

write.config.LINKAGES(
  defaults = NULL,
  trait.values,
  settings,
  run.id,
  restart = NULL,
  spinup = FALSE,
  inputs = NULL,
  IC = NULL
)

Arguments

defaults

list of defaults to process

trait.values

vector of samples for a given trait

settings

list of settings from pecan settings file

run.id

id of run

restart

logical: Write a restart file? If NULL (default), treated as FALSE

spinup

logical: perform spinup using `spinup.LINKAGES()`? If NULL (default), treated as FALSE

inputs

inputs section of a PEcAn settings object. Currently only used for climate file (inputs$met$path), which is taken from `settings$input$met$path` if `inputs` is NULL.

IC

TODO currently ignored

Value

configuration file for LINKAGES for given run

Author

Ann Raiho, Betsy Cowdery