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)