gadgettime.Rd
Create a time file object, from fresh or an existing file.
gadgettime(file_name, path, missingOkay = FALSE)
The name of the time file
The path to the gadget directory to read from
If TRUE
, return an empty time file object if file does not exist.
A list of time components representing file
if (FALSE) {
path <- './cod-model'
# Read 'Modelfiles/time' time file, creating it if it doesn't exist
gadgettime('Modelfiles/time', path, missingOkay = TRUE)
}