Skip to contents

write_schedule writes to disk an ASCII *.sch file to be used by the CENTURY soil model.

Usage

write_schedule(x, pathname = pathname, filename = filename, overwrite = FALSE)

Arguments

x

list with content of the schedule file.

pathname

valid path to write the file to.

filename

character string with the actual file name. It must include the extension '.sch'.

overwrite

logical, if set to TRUE and the file already exists, it will overwrite; if set to FALSE and the file exists, it will stop with an error message.

verbose

logical,

Value

Nothing.

Examples

# See example in \code{\link{century_run}}.