-
Notifications
You must be signed in to change notification settings - Fork 21
Update groups, i.e. domain and observation localization #380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
023b838
to
148f2be
Compare
caf376d
to
3372f64
Compare
19cbc9b
to
fe9f140
Compare
fe9f140
to
d61f568
Compare
4536c99
to
8c1dc36
Compare
add functionality for EKI, and interface without functionality for other EKP fix update_ensemble! calls in inflation runtests inflation tests run coupled lorenz model for atmos-ocean, generated spinup and data sort ekp inversion for example remove log issues for verbose flags fix localizer (hack) and move verbose statements format sandbox for different batching of update groups rm localizer for now example tweaks plot for covs example changes and mulitpl g-group updates
765418e
to
530dcd3
Compare
Waited too long for review - but all tests, codecov and docs are passing / looking good. therefore I will merge and bear the brunt of responsibility on this one. |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 review the PR and see what is going on I would suggest,
example/UpdateGroups/calibrate.jl
.src/UpdateGroups.jl
filesrc/EnsembleKalmanProcess.jl
functionupdate_ensemble!(...)
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>}
.