This function, when set by the gridfunction
argument of setoutput, in turn called by the argument
output.control
of lgcpPredict
facilitates the dumping of data to disk. Data is dumped to a
netCDF file, simout.nc
, stored in the directory specified by the user. If the directory does not exist,
then it will be created. Since the requested data dumped to disk may be very large in a run of lgcpPredict
,
by default, the user is prompted as to whether to proceed with prediction, this can be turned off by setting
the option forceSave=TRUE
detailed here. To save space, or increase the number of simulations that can be
stored for a fixed disk space the option to only save the last time point is also available (lastonly=TRUE
,
which is the default setting).
dump2dir(dirname, lastonly = TRUE, forceSave = FALSE)
character vector of length 1 containing the name of the directory to create
only save output from time T? (see ?lgcpPredict for definition of T)
option to override display of menu
object of class dump2dir
setoutput, \ GFinitialise, GFupdate, GFfinalise, GFreturnvalue