Calculating global temperature anomaly

By Nick Stokes,

There is much criticism here of the estimates of global surface temperature anomaly provided by the majors – GISS, NOAA and HADCRUT. I try to answer these specifically, but also point out that the source data is readily available, and it is not too difficult to do your own calculation. I point out that I do this monthly, and have done for about eight years. My latest, for October, is here (it got warmer).

Last time CharlesTM was kind enough to suggest that I submit a post, I described how Australian data made its way, visible at all stages, from the 30-minute readings (reported with about 5 min delay) to the collection point as a CLIMAT form, from where it goes unchanged into GHCN unadjusted (qcu). You can see the world’s CLIMAT forms here; countries vary as to how they report the intermediate steps, but almost all the data comes from AWS, and is reported at the time soon after recording. So GHCN unadjusted, which is one of the data sources I use, can be verified. The other, ERSST v5, is not so easy, but there is a lot of its provenance available.

My calculation is based on GHCN unadjusted. That isn’t because I think the adjustments are unjustified, but rather because I find adjustment makes little difference, and I think it is useful to show that.

I’ll describe the methods and results, but firstly I should address that much-argued question of why use anomalies.

Anomalies

Anomalies are made by subtracting some expected value from the individual station readings, prior to any spatial averaging. That is an essential point of order. The calculation of a global average is inevitably an exercise in sampling, as is virtually any continuum study in science. You can only measure at a finite number of places. Reliable sampling is very much related to homogeneity. You don’t have to worry about sampling accuracy in coin tosses; they are homogeneous. But if you want to sample voting intentions in a group with men, women, country and city folk etc, you have inhomogeneity and have to be careful that the sample reflects the distribution.

Global temperature is very inhomogeneous – arctic, tropic, mountains etc. To average it you would have to make sure of getting the right proportions of each, and you don’t actually have much control of the sampling process. But fortunately, anomalies are much more homogeneous. If it is warmer than usual, it tends to be warm high and low.

I’ll illustrate with a crude calculation. Suppose we want the average land temperature for April 1988, and we do it just by simple averaging of GHCN V3 stations – no area weighting. The crudity doesn’t matter for the example; the difference with anomaly would be similar in better methods.

I’ll do this calculation with 1000 different samples, both for temperature and anomaly. 4759 GHCN stations reported that month. To get the subsamples, I draw 4759 random numbers between 0 and 1 and choose the stations for which the number is >0.5. For anomalies, I subtract for each place the average for April between 1951 and 1980.

The result for temperature is an average sample mean of 12.53°C and a standard deviation of those 1000 means of 0.13°C. These numbers vary slightly with the random choices.

But if I do the same with the anomalies, I get a mean of 0.33°C (a warm month), and a sd of 0.019 °C. The sd for temperature was about seven times greater. I’ll illustrate this with a histogram, in which I have subtracted the means of both temperature and anomaly so they can be superimposed:

The big contributor to the uncertainty of the average temperature is the sampling error of the climatologies (normals), ie how often we chose a surplus of normally hot or cold places. It is large because these can vary by tens of degrees. But we know that, and don’t need it reinforced. The uncertainty in anomaly relates directly to what we want to know – was it a hotter of cooler month than usual, and how much?

You get this big reduction in uncertainty for any reasonable method of anomaly calculation. It matters little what base period you use, or even whether you use one at all. But there is a further issue of possible bias when stations report over different periods (see below).

Averaging

Once the anomalies are calculated, they have to be spatially averaged. This is a classic problem of numerical integration, usually solved by forming some approximating function and integrating that. Grid methods form a function that is constant on each cell, equal to the average of the stations in the cell. The integral is the sum of products of each cell area by that value. But then there is the problem of cells without data. Hadcrut, for example, just leaves them out, which sounds like a conservative thing to do. But it isn’t good. It has the effect of assigning to each empty cell the global average of cells with data, and some times that is clearly wrong, as when such a cell is surrounded with other cells in a different range. This was the basis of the improvement by Cowtan and Way, in which they used estimates derived from kriging. In fact any method that produced an estimate consistent with nearby values has to be better than using a global average.

There are other and better ways. In finite elements a standard way would be to create a mesh with nodes at the stations, and use shape functions (probably piecewise linear). That is my preferred method. Clive Best, who has written articles at WUWT is another enthusiast. Another method I use is a kind of Fourier analysis by fitting spherical harmonics. These, and my own variant of infilled grid, all give results in close agreement with each other; simple gridding is not as close, although overall the method often tracks NOAA and HADCRUT quite closely.

Unbiased anomaly formation.

I described the benefits of using anomalies in terms of reduction of sampling error, which just about any method will reflect. But there is care needed to avoid biasing the trend. Just using the average over the period of each station’s history is not good enough, as I showed here. I used the station reporting history of each GHCN station, but imagined that they each returned the same, regularly rising (1°C/century) temperature. Identical for each station, so just averaging the absolute temperature would be exactly right. But if you use anomalies, you get a lower trend, about 0.52°C/century. It is this kind of bias that causes the majors to use a fixed time base, like 1951-1980 (GISS). That does fix the problem, but then there is the problem of stations with not enough data in that period. There are ways around that, but it is pesky, and HADCRUT just excludes such stations, which is a loss.

I showed the proper remedy with that example. If you calculate the incorrect global average, and then subtract it (and add later) and try again, you get a result with a smaller error. That is because the basic cause of error is that the global trend is bleeding into the anomalies, and if you remove it, that effect is reduced. If you iterate that, then within six or so steps, the anomaly is back close to the exactly correct value. Now that is a roundabout way of solving that artificial problem, but it works for the real one too.

It is equivalent to least squares fitting, which was discussed eight years ago by Tamino, and followed up by Romanm. They proposed it just for single cells, but it seemed to me the way to go with the whole average, as I described here. It can be seen as fitting a statistical model
T(S,m,y) = G(y) + L(S,m) +ε(S,m,y)
where T is the temperature, S,m,y indicate dependence on station, month and year, so G is the global anomaly, L the station offsets, and ε the random remainder, corresponding to the residuals. Later I allowed G to vary monthly as well. This scheme was later used by BEST.

TempLS

So those are the ingredients of the program TempLS (details summarized here) which I have run almost every night since then, when GHCN Monthly comes out with an update. I typically post on about 10th of the month for the previous month’s results (October 2018 is here, it was warm). But I keep a running report here, starting about the 3rd, when the ERSST results come in. When GISS comes out, usually about the 17th, I post a comparison. I make a map using a spherical harmonics fit, with the same levels and colors as GISS. Here is the map for October:

The comparison with GISS for September is here. I also keep a more detailed updated Google Earth-style map of monthly anomalies here.

Clive Best is now doing a regular similar analysis, using CRUTEM3 and HADSST3 instead of my GHCN and ERSST V5. We get very similar results. The following plot shows TempLS along with other measures over the last four years, set to a common anomaly base of 1981-2010. You can see that the satellite measures tend to be outliers (UAH below, RSS above, but less so). The surface measures, including TempLS, are pretty close. You can check other measures and time intervals here.

The R code for TempLS is set out and described in detail in three posts ending here. There is an overview here. You can get links to past monthly reports from the index here; the lilac button TempLS Monthly will bring it up. The next button shows the GISS comparisons that follow.

 

 

The climate data they don't want you to find — free, to your inbox.
Join readers who get 5–8 new articles daily — no algorithms, no shadow bans.
5 1 vote
Article Rating
317 Comments
November 14, 2018 5:13 pm

Well Nick, your graph of temp anomalies clearly highlights the biggest problem faced by the observation data climate science community.

And that monumental problem is: How in world of declining global temperatures can they keep the adjusting observations in order to keep the anomalies close to the models?
But I’m sure NCEI, GISS, RSS, and CRU (with appropriate coordination) are up to the task as Trillions of dollars are riding out that preconceived outcome.

markl
November 14, 2018 5:17 pm

The graph shows 2015 to 2018.

markl
November 14, 2018 5:19 pm

Ooops, my bad. Brain fart.

angech
November 14, 2018 5:22 pm

Thank you Nick.
Still didn’t not understand your fierce opposition to sensible skepticism.
Do appreciate the work you put in. Any comment on how temple s and uah can be so alike at times and so different at others.
Also Mosher has commented in the past on the 100,000 plus stations used for estimation but you cite less than 5000.

ray boorman
November 14, 2018 5:24 pm

Nick, there would be absolutely no criticism about the graphs produced by you , or by anyone else in the climate change industry, IF your industry was not using those graphs to push for government policies costing billions of $$.

November 14, 2018 5:26 pm

The data on which these temperature ‘anomalies’ are based is so diverse and rough, so fragmented and spotty that to quote the accuracy of the result other than in whole degrees is a systematic misrepresentation.

commieBob
November 14, 2018 5:36 pm

In fact any method that produced an estimate consistent with nearby values has to be better than using a global average.

I can’t find the original WUWT article by Anthony where he lambasted infilling and pointed out examples where a location was infilled by data from a station across a range of mountains. The figure, 1200 (km or miles?) is mentioned in a number of comments over the years.

In digital signal processing it isn’t uncommon to employ a process similar to infilling. The thing is that a simple signal in a well behaved, linear, bandwidth limited channel is miles away from the conditions you have with temperatures on the surface of the planet.

What am I saying? Just because something sounds reasonable, that doesn’t mean it actually is. The difference between the satellite (and balloon) datasets and those derived from surface station data is disturbing.

Rob_Dawg
November 14, 2018 5:38 pm

> Anomalies are made by subtracting some expected value from the individual station readings…

That there invalidates the data. The very worst error in all of science is expectations bias.

Feel free to explain you didn’t mean it this way but don’t deny that results expectations is a serious issue.

November 14, 2018 5:41 pm

I am going to ONLY use Dr. Spencer’s data end of story.

Curious George
November 14, 2018 5:44 pm

Nick, I have a problem with anomalies. Your graph shows a high temperature anomaly 0.8-1.1 degrees in March(?) 2016. Does it mean
a) that the global temperature in March 2016 was that much higher than a global average temperature in 1981-2010 , OR
b) that the global temperature in March 2016 was that much higher than a global average March temperature in 1981 – 2010?

I had a problem with Bob Tisdale’s post https://wattsupwiththat.com/2018/11/05/do-doomsters-know-how-much-global-surface-temperatures-cycle-annually/ which shows a global average temperature peaking in July. The Earth is closest to the Sun in January, furthest in July, why would the global average temperature peak then? I guess that his method might be skewed towards the northern hemisphere. Your result with a peak in March(?) look more like it.

November 14, 2018 6:01 pm

“But fortunately, anomalies are much more homogeneous.”

Not necessarily, if you examine anomalies for local regions, they’re all over the place. When one place is anomalously cold, another is anomalously hot, even across meaningful intervals of time. Even otherwise similar parts of the globe can have wildly different anomalies and they can even differ between adjacent micro-climates. When integrated over time, homogeneous anomalies can only result when the sample space is a normal distribution. If you already have a normal distribution of sample sites, why bother with anomalies? This same flaw applies to Hansen/Lebefeff homogenization which is only valid when homogenizing a normal distribution of sites. Keep in mind that it’s this same distribution of sites that establishes the predicted behavior which is subtracted from the measured data to produce the anomaly.

A big problem with anomalies is that they remove seasonal variability which eliminates an objective perspective about what change means relative to reality and the perception thereof. Furthermore, the differences between hemispheres are so large and they respond in such an independent manner from each other, any kind of averaging across them will misrepresent what’s actually occurring which is only visible when analyzing hemispheres or portions of hemispheres by themselves.

“Once the anomalies are calculated, they have to be spatially averaged.”

Spatially averaging temperature is an issue by itself, even when averaging anomalies. A linear average of temperature is the temperature that would arise if you uniformly combined all the matter from which the temperature arises, assuming that it all has the same heat capacity and the mixing process added no new heat. A linear average of anomalies is even worse, since the baseline temperature goes away, a 1C change from 270K is considered the same as a 1C change at 300K, even though a 1C change at 300K requires 50% more forcing to achieve and maintain.

Neither of these are the average that’s relevant to the physical mechanics of how the climate operates where W/m^2 are linear to each other and are all that matters relative to the energy balance and the sensitivity, thus local temperatures must be converted into W/m^2 of emissions, which are then linearly averaged and the result converted back into an EQUIVALENT temperature. In fact, the entire analysis should be done in the linear domain of W/m^2 and converted into a change in degrees K only at the very end. W/m^2 are linear to what satellite sensors are measuring directly anyway and is the natural way to process weather satellite data.

Walter Sobchak
November 14, 2018 6:30 pm

The problem with anomalies for understanding the issue of “climate change” is that they zero base the discussion.

Say the mean temperature of the troposphere at sea level is 288.5K, and that it represents an anomaly of 0.5K over an earlier period. If the mean temperature increases to 289K, the anomaly has doubled from 0.5K to 1K. This leads to hysterical newspaper article saying that a key indicator of global warming has increased 100% and that we are all gonna die.

In fact, the mean temperature of the troposphere at sea level in that scenario has increased by 0.2%, or as we say in Bankruptcy Latin, bupkis. But, there are no hysterical headlines from 0.2% and no sit-ins in Nancy Pelosi’s office.

Anomalies may be useful, but they represent a real communications issue between the world of scientists and the world of the unwashed. One, that scientists must be a lot more careful about.

dalyplanet
November 14, 2018 6:30 pm

I always enjoy Nick Stokes informative posts.

November 14, 2018 7:01 pm

I suppose the same approach could be used to find anomalies by averaging all of the telephone numbers in the world, and the result would be just as spectacularly meaningless and useless.

John Bills
November 14, 2018 7:09 pm

Land Surface Air Temperature Data Are Considerably Different Among BEST‐LAND, CRU‐TEM4v, NASA‐GISS, and NOAA‐NCEI https://doi.org/10.1029/2018JD028355
The mean LSAT anomalies are remarkably different because of the data coverage differences, with the magnitude nearly 0.4°C for the global and Northern Hemisphere and 0.6°C for the Southern Hemisphere. This study additionally finds that on the regional scale, northern high latitudes, southern middle‐to‐high latitudes, and the equator show the largest differences nearly 0.8°C. These differences cause notable differences for the trend calculation at regional scales. At the local scale, four data sets show significant variations over South America, Africa, Maritime Continent, central Australia, and Antarctica, which leads to remarkable differences in the local trend analysis. For some areas, different data sets produce conflicting results of whether warming exists

Louis Hunt
November 14, 2018 7:11 pm

The anomalies map for October 2018 displays the most red near the polls where the least temperature data are collected. We just had a report of the lowest temperature ever recorded in Antarctica. Apparently, when they extrapolate the temperatures around the South Pole, they use the warmer readings from hundreds or thousands of miles away to do the extrapolation.

LdB
November 14, 2018 7:31 pm

It do get a laugh when you show data like this, the whole concept of an anomaly of 0.2 degree in the way you have analyzed the data is funny.

Perhaps you can add the expected natural variation error bars for your technique over the data for us. We aren’t even talking real errors here just the error margins in your data analysis. If you don’t know how to do it perhaps I can give you a hand. So lets do it.

Whatever you are using as your base 1951-1980 or 1981-2010 you need to analyze the error in it using the same technique you are going to use one the data section. Take the highest value and subtract the lowest value from your base data and that is the error range of your base. You get the logic here we are applying the same technique we are using on the new section we are interested in on the base section to see what the natural variation is in our base data. Basically we are checking what signal variation we would expect to see if our new data was nothing more than an extension of the base data. If you want to be over the top accurate you can repeat the process dropping one year from the start and then one year from the end so you cover all start and end years on your base data and you have extracted every ounce of possible statistical variation.

Now add the analysis error bar to each of your new section data graph. The total error is worse than that as that is just the error in the statistical analysis itself 🙂

Admin
November 14, 2018 7:32 pm

Thanks for submitting the article so quickly Nick. You’re unflapple persistence in the face of antagonism is quite admirable. I certainly can recall times when I attacked your points vigorously.

But not on this subject. Good on ya.

SocietalNorm
November 14, 2018 7:37 pm

Thank you for the analysis, Nick Stokes.
I appreciate the effort to dig into the data even if we may not agree on policy.

frankd
November 14, 2018 8:13 pm

I don’t like the prejudicial term anomaly. Who decides what is standard or normal? All should use the term difference, as in these data are different by such amount versus this baseline. Anomaly, by definition, implies there is a known ‘true’ value. I would hope that all could drop these weighted terms and then talk about if there really is a significant change in any data set taken over the long term.

Bryan A
November 14, 2018 8:26 pm

So your base period is 1981 – 2010 and your anomalies for every subsequent year from 2011 to 2018 is warmer than the base period.
Seems to me that in a gradually warming environment, whether naturally induced or not, this would always be the case.
I would wager that if your base was 1951 – 1980 , the temperature anomaly of years 1981 to 1988 would be warmer every year.
Further, if your base was 1881 – 1910, the temp anomaly of years 1911 to 1918 would also be warmer every year.
If you had similar data going back to 1650 and set your base year 1651 – 1680 your anomalies of years 1681 to 1688 would be warmer as well.
All you have done is prove it is still warmer today than it was between 30 years ago though the same can be said for most every 30 year period since the Nadir of the LIA

Clyde Spencer
November 14, 2018 8:28 pm

Nick,

You said, “For anomalies, I subtract for each place the average for April between 1951 and 1980.”

I’d like to be clear about the process, and what you are calling an “average.” From other things that I have read here, I’m of the impression that the way the monthly ‘average’ values are calculated is to take the diurnal highs for every day and determine the arithmetic mean. The same is then done for the diurnal lows for every day. Then, the median (special case of two values only) or mid-range value is calculated
( https://en.wikipedia.org/wiki/Mid-range ) from the two arithmetic means. Is that correct? If not, can you please explain just what you mean by “average?”

It isn’t just a matter of semantics, because as the Wikipedia article notes, using mid-range values comes at some cost with respect to utility and robustness.

November 14, 2018 9:14 pm
November 14, 2018 9:20 pm

Still trying to figure out the point. Damping data to an arbitrary baseline does not reduce uncertainy any more than averaging does. These processes are just anesthetics, numbing the pain naked apes experience trying to comprehend complex systems.

Ultimately, we have to deal with the complexity; diurnal and seasonal variation sometimes more than 50x the trend and all.

The line graphic holds no surprises. We all know it has cooled since the supaaare nino. We all know GISS gets wild on the high side.

Full credit for spherical triangulation. Now you get to explain how Carbon dioxide produces the very peculiar distribution of warming and cooling. My suggeston: use your method on the raw data.

November 14, 2018 9:22 pm

RSS gets wild, not GSS. My bad.

1 2 3