Statistics#

Observation space diagnostics is a set of metrics used to assess the quality of data assimilation system in observation-space. In order to produce diagnostics in observation space, forward operators (also known as forward models) are used to map the model state to the observation. A forward operator is calculated from each of the model states to give an ensemble of ‘predicted’ observations. The ensemble of predicted observations together with the observation error is used to calculate the statistics for observation space diagnostics.

Observation space diagnostics are calculated per observation type. The statistics are calculated for each observation, then averaged over all observations of that type in the region and time period of interest. The region of interest may be a vertical layer, a horizontal region, or a combination of both.

The statistics are calculated for a DataFrame of observations using the stats module. The squared error, total variance, and bias are calculated for each observation (row) in the DataFrame by the stats.diag_stats() function. RMSE, spread, total spread, bias can calculated by aggregating over any number of rows to produce diagnostics for the region and time period of interest. If the observation sequence contains posterior information, posterior statistics will be calculated, otherwise only prior statistics will be calculated.

Definitions#

Some symbols used throughout:

  • y: observation

  • ϵ: observation error estimate

  • N: Number of observations in the group, i.e. in the region and time period of interest

  • n: group member

  • μ: ensemble mean

  • σ: ensemble spread (standard deviation)

  • σ2: ensemble variance

RMSE#

The root mean square error is defined

RMSE1Nn=1N(μnyn)2

Spread#

The spread is the variability among ensemble members for a given observation.

σ1Nn=1N(σn)2

Total spread#

Total Spread (σT) is a measure of the combined uncertainty in an ensemble of estimated observations. It accounts for both:

  • Ensemble spread (σn): the variability among ensemble members for a given observation.

  • Observation error estimate (ϵn): the expected measurement error associated with each observation.

σT1Nn=1N(σn2+ϵn2)

Bias#

Bias is the average difference between the ensemble mean and the observations

bias1Nn=1N(μnyn)

Multi-component Observations#

Some observations are multi-component, such as wind. These observations are combined from two (or more) scalar observations. For example, a horizontal wind observation s is made up of two components, u velocity and v velocity.

The velocity components u and v are handled individually, as above, and in addition the statistics are calculated for the magnitude of the wind vector, s are calculated as follows:

synyu2+yv2
senμu2+μv2
bias1Nn=1N(sensyn)
σs1Nn=1N(σu2+σv2)
σT,s1Nn=1N(σu2+σv2+ϵu2+ϵv2)

Rank Histogram#

The rank histogram requires the full ensemble of forward operator values for each observation. Sampling noise is added to each member of the forward operator ensemble.:

Xi=fi+N(μ,σ)

where:

  • i is the ensemble member index

  • fi is the forward operator value of the i-th ensemble member

  • N(μ,σ) is a random number drawn from a normal distribution with the mean μ and standard deviation σ of the ensemble.

The rank of the observation is the number of ensemble members X whose value is less than the observation value.

R=i=1M1(Xi<y)+1

where:

  • R is the rank of the observation Xo,

  • M is the number of ensemble members,

  • Xi represents the value of the i-th ensemble member,

  • y is the observation value,

  • 1() is the indicator function, which is 1 if Xi<y and 0 otherwise, The +1 ensures a 1-based rank (i.e., the observation is ranked among the ensemble members).

The number of bins is equal to the number of ensemble members. The count H of observations in in each bin is:

H(k)=i=1N1(Ri=k)

where:

  • H(k) is the count of forecasts that fall into rank bin k,

  • N is the total number of observations,

  • Ri is the rank of the observation within the ensemble for case i,

  • 1() is the indicator function, which is 1 if the condition is true and 0 otherwise.

Trusted Observations#

The DART quality control (DART_QC) values indicate, for each observation, whether the observation was used in the assimilation, and if not, why. DART_QC 0 indicates that the observation was assimilated. You may choose to include trusted observations in your observation space diagnostics, in which case, include DART_QC 0 and DART_QQC 7 observations in the calculation of the statistics.

For reference, here is the DART QC values and their meaning.

DART Quality Control (DART_QC) Values#

QC Value

Description

0

Observation was assimilated successfully

1

Observation was evaluated only so not used in the assimilation

2

The observation was used but one or more of the posterior forward observation operators failed

3

The observation was evaluated only so not used AND one or more of the posterior forward observation operators failed

4

One or more prior forward observation operators failed so the observation was not used

5

The observation was not used because it was not selected in the namelist to be assimilated or evaluated

6

The incoming quality control value was larger than the threshold so the observation was not used

7

Outlier threshold test failed (as described above)

8

The location conversion to the vertical localization unit failed so the observation was not used

For more detail on the DART QC values refer to the DART documentation.