gadget_update.gadgettime.Rd
Replace and/or append new time comonents to an existing file
# S3 method for gadgettime
gadget_update(gf, ...)
The gadgetfile object to update
Valid options for a time file; firstyear, firststep, lastyear, laststep, notimesteps. See gadget user guide
if (FALSE) {
library(magrittr) # import %>% function
path <- './model'
gadgettime('time', path, missingOkay = TRUE) %>%
gadget_update(firstyear = 1990, lastyear = 2000) %>%
write.gadget.file(path)
}