Write ensemble config files

write.ensemble.configs(defaults, ensemble.samples, settings, model,
  clean = FALSE, write.to.db = TRUE)

Arguments

defaults

pft

ensemble.samples

list of lists supplied by get.ensemble.samples

settings

list of PEcAn settings

clean

remove old output first?

write.config

a model-specific function to write config files, e.g. write.config.ED

Value

list, containing $runs = data frame of runids, and $ensemble.id = the ensemble ID for these runs. Also writes sensitivity analysis configuration files as a side effect

Details

DEPRECATED: This function has been moved to the PEcAn.uncertainty package. The version in PEcAn.utils is deprecated, will not be updated to add any new features, and will be removed in a future release of PEcAn. Please use PEcAn.uncertainty::write.ensemble.configs instead.

Writes config files for use in meta-analysis and returns a list of run ids. Given a pft.xml object, a list of lists as supplied by get.sa.samples, a name to distinguish the output files, and the directory to place the files.