Rows of black supercomputer cabinets in a machine hall of the United States weather service
Unit 12 · Advanced and Advanced + Severe Storms · 60 min

Numerical Weather Prediction

Models, data assimilation, chaos, and ensembles
Image: NOAA Photo Library, National Weather Service collection, CC BY 2.0

How the equations of the atmosphere are solved on a global grid of a billion boxes, why Richardson's forecast by hand of 1922 predicted a pressure rise of 145 hPa in six hours, what a model parametrizes and why, how 60 million observations a day become the starting state of a forecast, why a rounded number in 1961 showed that the weather cannot be forecast beyond about two weeks, and how an ensemble of 51 forecasts turns a forecast into a probability.

Preview: the beginning of the unit

Every forecast on a phone, every warning of a storm, and every chart in this program after Unit 7 began as a column of numbers in a computer that solved the equations of the earlier units forward in time. The idea is a century old, the first attempt by hand went spectacularly wrong, the first attempt by machine took a day to forecast a day, and the method now predicts the position of a low five days ahead better than a forecaster of 1980 could predict it three days ahead. This unit explains how a model is built from the equations, why the atmosphere sets a limit of about two weeks on any forecast however good the model, and why a modern forecast is a probability rather than a single answer.

1 The atmosphere as an initial value problem

In 1904 Vilhelm Bjerknes (1862-1951) wrote a short paper in the Meteorologische Zeitschrift in which he stated the problem of weather forecasting as a problem of physics. The state of the atmosphere at one instant is described by seven fields, which are the three components of the wind, the pressure, the temperature, the density, and the humidity. Seven equations of physics say how these fields change with time. If the state is known at one instant and the equations are solved forward, the future follows. Mathematicians call such a problem an initial value problem, and in this program the equations have all appeared already: the gas law, the hydrostatic equation, and the first law in Unit 1, the bookkeeping of water vapour in Unit 3, and the equations of motion in Unit 9, written with the material derivative \(\dd/\dd t\), which is the rate of change following a parcel of air. The set is written out in the box below, in the form that global models solve, and it is known as the primitive equations because it keeps the full equations of motion in the horizontal instead of a filtered version, one from which the fast waves have been removed, such as the vorticity equation of Unit 9.

The six items hold seven equations, because item 1 holds two, and that is one equation for each of the seven unknowns. Four of them say how fast a variable changes with time, namely the two horizontal wind components, the temperature, and the humidity, and these four are the engine of the forecast. Hydrostatic balance and the gas law contain no time derivative and serve to compute \(p\) and \(\rho\) from the rest at each step. The continuity equation is written above as the rate of change of the density following the air. A hydrostatic model, however, has no equation of its own for the vertical wind \(w\), because the vertical equation of motion has been replaced by hydrostatic balance, and so it uses the continuity equation the other way round and computes \(w\) from the horizontal wind at each step. The heating \(Q\) hides a great deal, because it contains the absorption and emission of radiation of Unit 2, the latent heat released in clouds of Unit 5, and the heat carried up from the ground by turbulence, and Section 3 returns to it.

The equations have no solution that can be written down, because the wind carries the temperature, the temperature sets the pressure, the pressure drives the wind, and each equation feeds every other. The only way to solve them is to put numbers in and step forward in time, which is called numerical weather prediction. Two facts decide everything that follows: the solution must be computed faster than the weather happens, and the starting state must be known before the computation can begin.