An anomaly is a value minus the mean of a baseline for the same place and month. A different baseline shifts all anomalies by one constant and leaves the trend unchanged. A trend has a standard error s/Sxx
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
Why anomalies?
A hill station and a coastal town can differ by 10∘C every day of the year. If we want to know whether the climate of both places is warming, we do not need the difference. We need to know how each place changes against its own usual level. That change is an anomaly.
anomaly=value−baseline mean
The baseline is the mean of the same quantity, for the same place and the same calendar month, over a fixed set of years. Taking each month against its own baseline removes the seasonal cycle too.
Anomalies have a second use. A hill station and a coastal town near it have different absolute temperatures, but their anomalies agree closely. So a few stations can describe a wide area.
Baselines
A baseline is a choice. Different groups use different ones.
Record
Baseline years
NASA GISS
1951 to 1980
HadCRUT5
1961 to 1990
Copernicus ERA5
1991 to 2020
IPCC change since
1850 to 1900
The World Meteorological Organization now uses the thirty years 1991 to 2020 for the current climate normal, and keeps 1961 to 1990 as the reference for climate change. A change of baseline adds one constant to every anomaly. It moves the zero line. It does not change the trend, nor the shape of the curve. So to compare two records, put them on the same baseline first.
A bar chart of the yearly temperature anomalies of a station for 2001 to 2020, in degrees Celsius from minus 0.3 to plus 0.65 up the side. Bars below zero are blue and bars above zero are red. The first years are small and mixed, with blue bars in 2001, 2002, 2003, 2006 and 2012, and the last years are mostly large red bars, the highest near 0.63 in 2020. A dark line is the five-year running mean, which rises from about minus 0.06 to about 0.43. An orange dashed line is the trend, 0.32 degrees Celsius per decade, with a pale orange band round it for twice its standard error.
Standardised anomalies
An anomaly of 1∘C means little in a place where the temperature varies by 3∘C from year to year, and a great deal where it varies by 0.5∘C. The standardised anomaly divides by the standard deviation σ of the baseline:
z=σx−μ
A value of z above 2 is rare, with about 2.3% of baseline values above it if they follow the normal curve. Rainfall droughts are measured in the same way. The standardised precipitation index is a z score of the rainfall of a period. A value of −1 is dry and −2 is extremely dry. The Oceanic Niño Index is the anomaly of the sea surface temperature of the Niño 3.4 region, 5∘ N to 5∘ S and 120∘ to 170∘ W. A value of +0.5∘C or more, for five seasons in a row, marks an El Niño.
Averaging over the globe
To find a global mean from stations or grid cells, we weight each by the area that it stands for. Cells of equal longitude and latitude are smaller towards the poles. The area of a band between two latitudes is proportional to sinφ2−sinφ1. A common shortcut is the weight cosφ at the centre of each narrow band. If the poles are sparsely measured, an average without weights gives them too large a say.
The uncertainty of a trend
The slope b found from a record is a sample. A different set of years would give a different slope. Its standard error is
s=n−2SSE
SE(b)=Sxxs
The scatter s uses n−2 because two numbers, a and b, were fitted. Roughly, the true trend lies within b±2SE with 95% confidence. The exact factor is the t value for n−2 degrees of freedom, for instance 2.306 for 8 degrees. For years one apart, Sxx=n(n2−1)/12. It grows as n3, so the standard error falls fast as the record grows. Doubling the record shortens the interval by a factor of nearly 2.8.
There is a second problem. In a climate record, one warm year tends to be followed by another. This is autocorrelation. The lag-1 value r1 of the residuals ei of a least-squares line, which have a mean of zero, is
r1=∑ei2∑eiei+1
If r1 is positive, neighbouring years carry less than their share of fresh information. A common rule replaces the number of years by the effective sample size,
neff=n1+r11−r1
and the standard error grows by the factor n/neff. Ignoring this makes trends look more certain than they are.
Worked example: a dry June
The June rainfall at a station was 164mm. Over the baseline its mean is 190mm with a standard deviation of 52mm. Describe the month.
The anomaly.164−190=−26mm.
The percent of normal.164/190=86.3%.
The standardised anomaly.z=−26/52=−0.5.
The meaning. A z of −0.5 is only a little dry. About 31% of Junes are drier. The month is not a drought.
Check. The anomaly is 14% below normal, yet z is small, because the rainfall of this station varies a lot from year to year.
Keep the scatter at 0.12∘C and a trend of 0.2∘C per decade. How many years are needed for the range to leave zero? Now double the scatter. How does that number change?
Practise with new numbers
Try it in Python
The program works out the baseline of a station, its anomalies, a running mean and the trend with its uncertainty.
Common mistakes
Comparing anomalies of two records with different baselines. Put both on one baseline first.
Averaging latitude bands without area weights. Polar bands are small.
Reading a trend without its uncertainty. A short record can give a large slope by chance.
Treating neighbouring years as independent. Autocorrelation widens the true range.
Remember these
Anomaly = value − baseline mean. A new baseline shifts anomalies but not the trend.
z=(x−μ)/σ.
SE(b)=s/Sxx, with s=SSE/(n−2). A range of ±2SE is about 95%.
neff=n(1−r1)/(1+r1).
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
A month had a mean temperature of 31.6∘C. The baseline mean is 30.2∘C and σ=0.7∘C. What is its z?
A record is moved from the baseline 1951 to 1980 to the baseline 1991 to 2020. The mean of the new baseline is 0.6∘C higher. What happens to every anomaly?
The effective sample size of a record is much smaller than the number of years. What does that say about the neighbouring years?
A trend is 0.20∘C per decade with a standard error of 0.12. Is it clearly different from zero?
References
WMO, WMO Guidelines on the Calculation of Climate Normals (WMO-No. 1203, 2017).
D. S. Wilks, Statistical Methods in the Atmospheric Sciences (4th edition, Elsevier, 2019), the sections on anomalies and on trend uncertainty.
B. D. Santer and others, Statistical significance of trends and trend differences in layer-average atmospheric temperature time series, Journal of Geophysical Research 105 (2000), pages 7337 to 7356, for the effective sample size.
IPCC, Climate Change 2021: The Physical Science Basis, Chapter 2, for the baselines of the global temperature records.
Enroll free in Earth Data with Python: Trends, Anomalies and Models
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.