Introduction to Ensemble Kalman Filters and the Data Assimilation Research Testbed

Introduction to Ensemble Kalman Filters and the Data Assimilation Research Testbed

Introduction to Ensemble Kalman Filters and the Data Assimilation Research Testbed Jeffrey Anderson, Tim Hoar, Nancy Collins NCAR Institute for Math Applied to Geophysics ICAP Workshop; 11 May 2011 pg 1 What is Data Assimilation? Observations combined with a Model forecast… + …to produce an analysis (best possible estimate). ICAP Workshop; 11 May 2011 pg 2 Example: Estimating the Temperature Outside An observation has a value ( * ), ICAP Workshop; 11 May 2011 pg 3 Example: Estimating the Temperature Outside An observation has a value ( * ), and an error distribution (red curve) that is associated with the instrument. ICAP Workshop; 11 May 2011 pg 4 Example: Estimating the Temperature Outside Thermometer outside measures 1C. Instrument builder says thermometer is unbiased with +/- 0.8C gaussian error. ICAP Workshop; 11 May 2011 pg 5 Example: Estimating the Temperature Outside Thermometer outside measures 1C. The red plot is P ( T | T o ) , probability of temperature given that To was observed. € ICAP Workshop; 11 May 2011 pg 6 Example: Estimating the Temperature Outside We also have a prior estimate of temperature. The green curve is P ( T | C ) ; probability of temperature given all available prior information C . € ICAP Workshop; 11 May 2011 pg 7 € Example: Estimating the Temperature Outside Prior information C can include: 1. Observations of things besides T; € 2. Model forecast made using observations at earlier times; 3. A priori physical constraints ( T > -273.15C ); 4. Climatological constraints ( -30C < T < 40C ). ICAP Workshop; 11 May 2011 pg 8 Combining the Prior Estimate and Observation Prior Bayes P(To | T,C)P(T | C) Theorem: P(T | To,C) = P(To | C) Posterior: Probability of T given Likelihood: Probability that To is observations and observed if T is true value and given Prior. Also called prior information C. € update or analysis. ICAP Workshop; 11 May 2011 pg 9 Combining the Prior Estimate and Observation Rewrite Bayes as: P(To | T,C)P(T | C) P(To | T,C)P(T | C) = P T | C ( o ) ∫ P(To | x)P(x | C)dx P(To | T,C)P(T | C) = normalization € € Denominator normalizes so Posterior is PDF. € ICAP Workshop; 11 May 2011 pg 10 Combining the Prior Estimate and Observation P (T o | T , C ) P (T | C ) P (T | To , C ) = normalization ICAP Workshop; 11 May 2011 pg 11 Combining the Prior Estimate and Observation P (T o | T , C ) P (T | C ) P (T | To , C ) = normalization ICAP Workshop; 11 May 2011 pg 12 Combining the Prior Estimate and Observation P (T o | T , C ) P (T | C ) P (T | To , C ) = normalization ICAP Workshop; 11 May 2011 pg 13 Combining the Prior Estimate and Observation P (T o | T , C ) P (T | C ) P (T | To , C ) = normalization ICAP Workshop; 11 May 2011 pg 14 Combining the Prior Estimate and Observation P (T o | T , C ) P (T | C ) P (T | To , C ) = normalization ICAP Workshop; 11 May 2011 pg 15 Consistent Color Scheme Throughout Tutorial Green = Prior Red = Observation Blue = Posterior Black = Truth (truth available only for ‘perfect model’ examples) ICAP Workshop; 11 May 2011 pg 16 Combining the Prior Estimate and Observation P( T o | T, C) P (T | C) P( T | To , C) = normalization Generally no analytic solution for Posterior. ICAP Workshop; 11 May 2011 pg 17 Combining the Prior Estimate and Observation P( T o | T, C) P (T | C) P( T | To , C) = normalization Gaussian Prior and Likelihood -> Gaussian Posterior ICAP Workshop; 11 May 2011 pg 18 Combining the Prior Estimate and Observation For Gaussian prior and likelihood… Prior P(T | C) = Normal(Tp,σ p ) Likelihood P(To | T,C) = Normal(To,σ o) € Then, Posterior P(T | To,C) = Normal(Tu,σ u) 1 € −2 −2 − σ u = (σ p + σ o ) With € 2 −2 −2 Tu = σ u [σ p Tp + σ o To] € ICAP Workshop; 11 May 2011 pg 19 € The One-Dimensional Kalman Filter 1. Suppose we have a linear forecast model L A. If temperature at time t1 = T1, then temperature at t2 = t1 + Δt is T2 = L(T1) B. Example: T2 = T1 + ΔtT1 ICAP Workshop; 11 May 2011 pg 20 The One-Dimensional Kalman Filter 1. Suppose we have a linear forecast model L. A. If temperature at time t1 = T1, then temperature at t2 = t1 + Δt is T2 = L(T1). B. Example: T2 = T1 + ΔtT1 . 2. If posterior estimate at time t1 is Normal(Tu,1, σu,1) then prior at t2 is Normal(Tp,2, σp,2). Tp,2 = Tu,1,+ ΔtTu,1 σp,2 = (Δt + 1) σu,1 ICAP Workshop; 11 May 2011 pg 21 The One-Dimensional Kalman Filter 1. Suppose we have a linear forecast model L. A. If temperature at time t1 = T1, then temperature at t2 = t1 + Δt is T2 = L(T1). B. Example: T2 = T1 + ΔtT1 . 2. If posterior estimate at time t1 is Normal(Tu,1, σu,1) then prior at t2 is Normal(Tp,2, σp,2). 3. Given an observation at t2 with distribution Normal(to, σo) the likelihood is also Normal(to, σo). ICAP Workshop; 11 May 2011 pg 22 The One-Dimensional Kalman Filter 1. Suppose we have a linear forecast model L. A. If temperature at time t1 = T1, then temperature at t2 = t1 + Δt is T2 = L(T1). B. Example: T2 = T1 + ΔtT1 . 2. If posterior estimate at time t1 is Normal(Tu,1, σu,1) then prior at t2 is Normal(Tp,2, σp,2). 3. Given an observation at t2 with distribution Normal(to, σo) the likelihood is also Normal(to, σo). 4. The posterior at t2 is Normal(Tu,2, σu,2) where Tu,2 and σu,2 come from page 19. ICAP Workshop; 11 May 2011 pg 23 A One-Dimensional Ensemble Kalman Filter Represent a prior pdf by a sample (ensemble) of N values: ICAP Workshop; 11 May 2011 pg 24 A One-Dimensional Ensemble Kalman Filter Represent a prior pdf by a sample (ensemble) of N values: N T = Tn N Use sample mean ∑ N n=1 2 and sample standard deviation σT = ∑(Tn − T ) (N −1) n=1 to determine a corresponding continuous distribution Normal(T ,σT ) € ICAP Workshop; 11 May 2011 pg 25 € € A One-Dimensional Ensemble Kalman Filter: Model Advance If posterior ensemble at time t1 is T1,n, n = 1, …, N ICAP Workshop; 11 May 2011 pg 26 A One-Dimensional Ensemble Kalman Filter: Model Advance If posterior ensemble at time t1 is T1,n, n = 1, … N , advance each member to time t2 with model, T2,n = L(T1, n) n = 1, …, N. ICAP Workshop; 11 May 2011 pg 27 A One-Dimensional Ensemble Kalman Filter: Model Advance Same as advancing continuous pdf at time t1 … ICAP Workshop; 11 May 2011 pg 28 A One-Dimensional Ensemble Kalman Filter: Model Advance Same as advancing continuous pdf at time t1 to time t2 with model L. ICAP Workshop; 11 May 2011 pg 29 A One-Dimensional Ensemble Kalman Filter: Assimilating an Observation ICAP Workshop; 11 May 2011 pg 30 A One-Dimensional Ensemble Kalman Filter: Assimilating an Observation Fit a Gaussian to the sample. ICAP Workshop; 11 May 2011 pg 31 A One-Dimensional Ensemble Kalman Filter: Assimilating an Observation Get the observation likelihood. ICAP Workshop; 11 May 2011 pg 32 A One-Dimensional Ensemble Kalman Filter: Assimilating an Observation Compute the continuous posterior PDF. ICAP Workshop; 11 May 2011 pg 33 A One-Dimensional Ensemble Kalman Filter: Assimilating an Observation Use a deterministic algorithm to ‘adjust’ the ensemble. ICAP Workshop; 11 May 2011 pg 34 A One-Dimensional Ensemble Kalman Filter: Assimilating an Observation First, ‘shift’ the ensemble to have the exact mean of the posterior. ICAP Workshop; 11 May 2011 pg 35 A One-Dimensional Ensemble Kalman Filter: Assimilating an Observation First, ‘shift’ the ensemble to have the exact mean of the posterior. Second, linearly contract to have the exact variance of the posterior. Sample statistics are identical to Kalman filter. ICAP Workshop; 11 May 2011 pg 36 We now know how to assimilate a single observed variable. Section 2: How should observations of one state variable impact an unobserved state variable? ICAP Workshop; 11 May 2011 pg 37 Single observed variable, single unobserved variable So far, we have a known observation likelihood for single variable. Now, suppose the prior has an additional variable. Examine how ensemble members update the additional variable. Basic method generalizes to any number of additional variables. ICAP Workshop; 11 May 2011 pg 38 Ensemble filters: Updating additional prior state variables Assume that all we know is prior joint distribution. One variable is observed, temperature at Boulder. What should happen to an unobserved variable, like temperature at Denver? ICAP Workshop; 11 May 2011 pg 39 Ensemble filters: Updating additional prior state variables Assume that all we know is prior joint distribution. One variable is observed. Update observed variable as in previous section. ICAP Workshop; 11 May 2011 pg 40 Ensemble filters: Updating additional prior state variables Assume that all we know is prior joint distribution. One variable is observed. Update observed variable as in previous section. ICAP Workshop; 11 May 2011 pg 41 Ensemble filters: Updating additional prior state variables Assume that all we know is prior joint distribution. One variable is observed. Update observed variable as in previous section. ICAP Workshop; 11 May 2011 pg 42 Ensemble filters: Updating additional prior state variables Assume that all we know is prior joint distribution. One variable is observed. Compute increments for prior ensemble members of observed variable. ICAP Workshop; 11 May 2011 pg 43 Ensemble filters: Updating additional prior state variables Assume that all we know is prior joint distribution.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    86 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us