Description Usage Arguments Value Examples
Simulate data from the lorenz96 model
1 2  | l96_simulate(duration, freq, ndim = 40, Forcing = 8, sig = sqrt(0.5),
  obs_type = "odd", R_sig = sig, deltat = 1/1000, ...)
 | 
duration | 
 total time to integrate model (duration=freq*(nsteps-1) (nsteps = duration/freq + 1)  | 
freq | 
 frequency of time integration (freq=duration/(nsteps-1))  | 
ndim | 
 dimension of system  | 
Forcing | 
 external forcing on dynamics  | 
sig | 
 standard deviation of error measurments  | 
obs_type | 
 (all: all sites, odd: every other site, partial: regular observations at nobs sites, one: unique observation in the middle)  | 
R_sig | 
 standard deviation of error measurements for assimilation (default=sig)  | 
deltat | 
 time interval for model integration  | 
... | 
 additional arguments passed to lorenz_observe (e.g. nobs in case obs_type=partial)  | 
list with: state.ts matrix of nsteps x ndim y.ts list of nsteps lists, each of them containing y, R, H, d and y.loc (sites which are observed) f.propagate function to propagate the ensemble according to the model specification f.propagate <- function(state=initial state, nsteps=how many steps to propagate, ...) ndim, duration and freq to keep track of some parameters
1 2  | l96_run <- l96_simulate(0.1*100, 0.1, ndim=40, Forcing=8, deltat=1/1000)
lorenz_plot(l96_run$state.ts[101,], l96_run$y.ts[[101]])
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.