Skip to content

Central-difference practice using a storm pressure field

A centered difference estimates the gradient at a grid point from samples on either side of that point. Divide by the full separation between the samples.

Start with How does an explicit diffusion step smooth a modeled cloud field?.

Worked values
PositionPressure
−500 m99,900 Pa
+500 m99,800 Pa

Worked example

Take p = 99,900 Pa at x = −500 m and 99,800 Pa at +500 m. The center gradient estimate is (99,800−99,900)/1,000 = −0.10 Pa/m. A curved profile can give a different derivative than the centered estimate, especially on a coarse grid.

Practice questions

  1. What is the pressure difference from west to east?
  2. Find the centered gradient.
  3. Swap the two pressures and recompute.
  4. Use the original pressures at −250 and +250 m.
  5. Why is −0.20 Pa/m incorrect for the original locations?
  6. What does a zero centered gradient mean if the centre pressure is not sampled?

Worked answers

Answer 1

−100 Pa.

Answer 2

−100/1,000 = −0.10 Pa/m.

Answer 3

The gradient becomes +0.10 Pa/m.

Answer 4

The span halves to 500 m, so the gradient is −0.20 Pa/m.

Answer 5

That uses half of the full sample separation.

Answer 6

The two endpoint values are equal. The interior can still contain pressure structure that the stencil cannot resolve.

Sources