sda.enkf.multisite.Rd
Check out SDA_control function for more details on the control arguments.
sda.enkf.multisite(
settings,
obs.mean,
obs.cov,
Q = NULL,
restart = NULL,
pre_enkf_params = NULL,
ensemble.samples = NULL,
control = list(trace = TRUE, TimeseriesPlot = FALSE, debug = FALSE, pause = FALSE,
Profiling = FALSE, OutlierDetection = FALSE, parallel_qsub = TRUE, send_email = NULL,
keepNC = TRUE, forceRun = TRUE, run_parallel = TRUE, MCMC.args = NULL),
...
)
PEcAn settings object
Lists of date times named by time points, which contains lists of sites named by site ids, which contains observation means for each state variables of each site for each time point.
Lists of date times named by time points, which contains lists of sites named by site ids, which contains observation covariances for all state variables of each site for each time point.
Process covariance matrix given if there is no data to estimate it.
Used for iterative updating previous forecasts. Default NULL. List object includes file path to previous runs and start date for SDA.
Used for passing pre-existing time-series of process error into the current SDA runs to ignore the impact by the differences between process errors.
Pass ensemble.samples from outside to avoid GitHub check issues.
List of flags controlling the behavior of the SDA. `trace` for reporting back the SDA outcomes; `TimeseriesPlot` for post analysis examination; `debug` decide if we want to pause the code and examining the variables inside the function; `pause` decide if we want to pause the SDA workflow at current time point t; `Profiling` decide if we want to export the temporal SDA outputs in CSV file; `OutlierDetection` decide if we want to execute the outlier detection each time after the model forecasting; `parallel_qsub` decide if we want to execute the `qsub` job submission under parallel mode; `send_email` contains lists for sending email to report the SDA progress; `keepNC` decide if we want to keep the NetCDF files inside the out directory; `forceRun` decide if we want to proceed the Bayesian MCMC sampling without observations; `run_parallel` decide if we want to run the SDA under parallel mode for the `future_map` function; `MCMC.args` include lists for controling the MCMC sampling process (iteration, nchains, burnin, and nthin.).
Additional arguments, currently ignored
NONE
Restart mode: Basic idea is that during a restart (primary case envisioned as an iterative forecast), a new workflow folder is created and the previous forecast for the start_time is copied over. During restart the initial run before the loop is skipped, with the info being populated from the previous run. The function then dives right into the first Analysis, then continues on like normal.