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.

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.

Value

list of all settings as saved to the XML file(s)

Examples

# NOT RUN {
clean.settings('output/PEcAn_1/pecan.xml', 'pecan.xml')
# }