Lesson 2 of 4 · Pattern correlation and the pressure attached to a motion vector
Match patterns and assign a height
25 minute lesson · 3 checks along the way
Your goal for this lessonCompare correlation with squared differences, recognize ambiguous matches, and attach a pressure using the pixels that support the tracked pattern.
In this lesson 4 sections · 3 checks
Read & understand
A moving brightness pattern is evidence to interpret
An atmospheric motion vector starts with a pattern that can be followed between observations. EUMETSAT’s 2015 MSG algorithm specification describes alternative matching methods, including correlation and sums of squared differences. These methods compare image structure; they do not label a parcel of air and follow it directly. Cloud growth, disappearance, overlapping layers and changing radiative properties can all complicate the connection between an image displacement and atmospheric motion.
Consider four invented valid pixel values A=(1,2,4,3) in a target patch. At a candidate displacement, the next image contains B=(7,9,13,11). A different candidate contains C=(1,2,3,4). All values are arbitrary radiometric units, not temperatures. B looks much brighter, but it is exactly 2A+5. C has values closer to A, yet its last two pixels have exchanged their relative arrangement. Choosing a matching score determines which aspect of similarity receives priority.
Read & understand
Remove the mean and compare the pattern
The sum of squared differences is 230 for B: 6²+7²+9²+8². For C it is only 2: 0²+0²+(−1)²+1². That score favors C. Now center each patch by subtracting its mean and calculate correlation as the centered dot product divided by the product of centered lengths. A has mean 2.5 and centered values (−1.5,−0.5,1.5,0.5). B has mean 10 and centered values (−3,−1,3,1), precisely twice A’s centered values.
The centered squared lengths are 5 for A and 20 for B, with dot product 10. Thus their correlation is 10/√(5×20)=1. C has centered squared length 5 and dot product 4 with A, giving correlation 0.8. Correlation favors B because a positive gain and additive offset preserve its centered shape. This is not a universal declaration that one metric wins: the appropriate method depends on the tracer, data treatment and assumptions. The historical specification supports configurable choices rather than requiring every listed method to run together.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
A high score still needs a unique, usable match
A completely flat patch has zero centered length, so its normalized correlation is undefined. It supplies no internal contrast for this score to follow. Repeating the same non-flat pattern at two displacements can produce two equally high peaks; a correlation of one then fails to identify a unique displacement. More decimal places on the score cannot resolve missing uniqueness. Masks also matter: compare pixels valid in both patches and recompute the means and normalization for that common support.
After selecting a displacement, a motion vector still needs an atmospheric level. The MSG specification links height assignment to contributions to the correlation, selecting suitable cloudy pixels rather than blindly averaging every pixel in the box. Infrared and visible channels use different radiative branches. In our reduced exercise, assume that screening has already selected two cloud pixels with positive contribution weights 3 and 1, and independently supplied cloud-top pressures of 300 and 500 hectopascals. These are stipulated inputs, not heights retrieved by our four-pixel calculation.
Check 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Report what the pressure weighting actually measures
The weighted pressure is (3×300+1×500)/4=350 hectopascals. An unweighted average would be 400, giving equal influence to pixels that did not contribute equally. Reversing the weights gives 450. The value therefore describes the selected support and weighting, not merely the set of pressures in the surrounding box. Pressure is also not altitude in kilometres; conversion requires an atmospheric profile. Do not attach an unrelated low cloud’s pressure to motion primarily supported by a different layer.
The weighted spread is √[(3×(300−350)²+(500−350)²)/4], about 86.6 hectopascals. It summarizes variability among the supplied pressures, not the externally verified error of 350 hectopascals. Common retrieval bias could shift both inputs together without changing that spread. Checks against neighboring vectors, other times and forecasts provide additional evidence, but their dependencies must be understood. A pattern score, assigned pressure and quality assessment belong together when interpreting the vector; none alone proves that a forecast is correct.
Follow the structure and its support
The original four-pixel comparison separates centered pattern similarity from absolute radiometric proximity. The pressure example assumes that two suitable cloud pixels were independently screened and assigned input pressures; it is not a retrieval from the four displayed arbitrary values.
Open full-size diagram in a new tab: Follow the structure and its supportCheck 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.