[WIP] update groups, i.e. domain and observation localization #380
+1,067
−127
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
Closes #377
Indirectly, Closes #288
To-do
Content
UpdateGroup
objectUpdateGroup
prior, observation, dict_in_to_out
and produces a list ofUpdateGroups
that can be passed to EKP.Example: Multiscale lorenz 96 with j=k
Parameters (Slow)
F
: 3-vector of amplitude, frequency and mean of a periodic forcing on slow variablesG
: Coupling term in slow equation to the fast variablesParameters (Fast)
h
: Coupling term in the fast variablesc
: Timescale separation parameter of the fast variablesb
: nonlinearity scaling in the fast variablesWith labelled observations observed "Independently" I.e. we assume independent with regards to observation (probably untrue)
<X>, <Y>, <X^2>, <Y^2>, <XY>
one can define two update groups as
By allowing more correlations in the observations e.g. create
<X><X^2>
and<Y><Y^2><XY>
one can also define groups by these identifiersand pass to the EKP object with
update_groups = update_groups
flagSpin up over a year.
samples of the trajectories used for data
forward map used for data (noise covaraince and true data
<X><Y><X^2><Y^2><XY>
nomalized by the noise)Shown below is the initial and final 50-ensemble (normalized by the noise) pushed through the forward map, over the true sample +/- 2sd (grey), after 5 iterations.
[8.0, 2.0, 0.05555555555555555], 10.0, 10.0, 10.0, 10.0 ]
{F,G,h,c,b}
with all data{<X><Y><X^2><Y^2><XY>}
.{F}
,{G,h,c,b}
and fast/slow data batches{<X><X^2>}
,{<Y><Y^2><XY>}
.