This will try and clean the settings file so it is ready for
a new run. This will remove all run specific information and
set the outdir to be 'pecan' for the next run.
Usage
clean.settings(inputfile = "pecan.xml", outputfile = "pecan.xml", write = TRUE)
Arguments
- inputfile
the PEcAn settings file to be used.
- outputfile
the name of file to which the settings will be
written inside the outputdir.
- write
Indicates whether to write the modified settings to a file.
Value
list of all settings as saved to the XML file(s)
Examples
if (FALSE) { # \dontrun{
clean.settings('output/PEcAn_1/pecan.xml', 'pecan.xml')
} # }