Friday, November 11, 2011

A JS gadget for viewing temperature trends.

In my previous post I showed a map of all possible trends calculated over sub-time intervals of a period, with a mechanism for selecting different datasets and periods. Since there seem to be ongoing interest in viewing trends, I thought a useful Javascript gadget could be developed from that.

Now when you select a dataset/time combination, a corresponding time series plot is displayed, with two colored balls representing the start and end of each trend period. The numerical data are displayed on the right. There are several ways of controlling the horizontal position of the balls:
  • You can click on the colored triangle. Each position represents a start/end combination, so the balls will move to the endpoints of the fitted regression line, and the slope and locations will appear on the right. It's a realisation of the color on the plot, and should correspond.
  • You can move the balls by clicking on the red or blue bars on the graph.
  • You can nudge, for fine control, using the <<<<>>>> device of the appropriate color. The outside symbols move the ball of that color by 8 months, the next by 4 and the innermost by 1.
Update: It seems to be working now.
Well, it almost works. Unfortunately, on this blog system you can't test JS in the editor - I have to go straight from the home computer (where it worrks) to live. In fact everything is working except the movement of the balls. In particular, you can click on the color plot and the numerical values will appear on the right. The issue with the balls is that I have to move them by absolute position, and so I have to find out what Blogger containers they are in. We'll get there.
Update. I've posted this at another site here. It seems to work correctly there. It's possible Blogger just isn't going to let me set the balls in motion.



























HADCRUT
GISS
NOAA
UAH
MSU-RSS
TempLS
BEST
GISS Ts
CRUTEM3
1999-now
1989-now
1960-now
1901-now





Also on the right you'll see a URL. You can copy this and use it to link to produce directly the configuration you have created. My JS kungfu is not yet up to putting it in the address bar.

You'll notice there is a second set of controls for selecting datasets/times. You can use either that or the one on the top graph. I made the second one so that it was close to the bottom graph.

The blue ball is always the rightmost one. If you try to cross them, they will just switch - you'll still get the plot you were asking for.

The calculation is the same as previously - OLS regression with no allowance for autocorrelation. The black curve in the plots of monthly data is a centred 12-month moving average.



Monday, November 7, 2011

GMST trends - a cherrypicker's guide.

Update
I've developed the diagram of this post into an interactive trend-viewer here.

With the conversation about the new BEST data, there has been an uptick in the posts showing plots from WoodForTrees with trends proving something or other. Here is a recent duel.

So I decided to expand the plots from the previous post to maybe make all this redundant. You'll see a plot of all the popular time intervals, with trends presented in a colorful array. Now all you have to do is spot the color you like, and look up the endpoints on the axes. Or if your disposition is wonkier you can try to spot patterns in the way the trends vary.

Some math details - I've taken each of nine indices and done an OLS regression of the monthly temperature against time for each pair of start and end points an various ranges. No prior smoothing, no annual averaging. There is a little colored square indicating the trend, in °C/century, for each pair. I haven't included periods shorter than four years. I've used rainbow colors, except for two ranges which help to calibrate by eye. These are zero trend, in gray, and 1.7°C, representing a recent average, in brown.

The plot itself is an interactive compendium of 36 images, for the 9 datasets and four time ranges. The times are from 1999 to present, 1989 to present, 1960 to present, and 1901 to present. They are presenting different fragments of the same trend array. I chose 1999 to present a popular contention at the moment that over a decade the trend is zero or less. For the land/sea indices there are certainly ranges for which that is true - I think this plot gives a fuller picture.

To use the interactive aspect, you can click on either of the legends in red to get any combination of index and time. Your current choice will be shown in black. As with all these plots that I do, the images are downloaded when requested, so when you first click there is a short pause - however, when you revisit that image, it's now in cache.

Below the jump, I'll say a bit more about some stationary images.



Update - I see now that {'ve posted that the interactive part doesn't work in IE (this seems to be an issue of security settings). It works in Firefox, and I expect that it will work in Safari and Chrome. I have added at the bottom of the post a table of links to the still images.




Firstly, a few more details about the plots. The faint diagonal lines show the trend period, as enumerated by the axis on the right. I don't go below four years, and part of the purpose of this presentation is to show how noisy short term trends can be. You'll see that the BEST plot stops in March 2010 - I did not include the data-deprived months of April and May, and there is no data for later months.

The data sources for the plots are:
The TempLS data is local, but I can post it if it would be useful



Here is the GISS Land/Ocean plot shown over a 20-year range. This image is not interactive. You can see some horizontal and vertical patterns. The vertical stripe at 2008/9 shows that this was a relatively cold year, and so trends that terminate there are likely to be negative, There was indeed a flurry of trend-watching at that time, and this plot shows why. Remember gray is approx zero trend, so the short-term trends based on 2008 go negative.

Another strong feature is the 1998 hot year, showing as a horizontal stripe. That stripe has lower trends, because the peak sits at the start of the trend period. One would expect the vertical bar below to have markedly positive trends, and it doesn't. I think the reason is that there is another feature - the positive horizontal bar produced by the cold Pinatubo years around 1993. The result is positive, but the pattern by eye goes with the horizontal rather than vertical.



Here's HADCRUT3 over the century. The longer time shows how the noise gathers on the shrt-term diagonal, with more sustained patterns as you get away from that. Right in the middle there is a big zero to negative trend region corresponding to the post-1940 cooling. The warm '30's show out as a vertical bar. And towards the top right, the shorter term recent segments have a strong tendency to be positive.

Well, I could go on, but I think this may help explain how to use the plots. So click away!

Here is a table of links to the still pictures:

TimeHADCRUTGISS LONOAAUAHMSU-RSSTempLSBESTGISS TsCRUTEM3
1999-Link Link Link Link Link Link Link Link Link
1989-Link Link Link Link Link Link Link Link Link
1960-Link Link Link Link Link Link Link Link Link
1901-Link Link Link Link Link Link Link Link Link


Saturday, November 5, 2011

Stopped warming? Paused?

More in the saga of the BEST data and whether "there is no scientific basis for saying that warming hasn't stopped" (Judith Curry). Or in the latest from Judith
 
"Has the rate of warming continued unabated, or has there been a pause in the warming?"

Judith has now offered a criterion: "Here I define “pause” to mean a rate of increase of temperature that is less than 0.17 – 0.2 C/decade."
Stopped means below zero. Now you might think that, with the short periods involved, there would be some notion of significance involved. But no:
"Note that the short time scales considered here preclude determination of a statistically significant trend at the 95% confidence level, although lack of statistical signficance does not negate the existence of a pause as defined here."

Well, it occurred to me that if any drop, significant or not, below, say, 0.17C/decade is a pause, then we'd be seeing a lot of them over the years. So I thought I would check that out.

The period of time Judith and others is looking at is about ten years. So lets look at ten year periods in the recent past, and see how many "pauses" show up.



I'll start with the BEST land data. I've plotted each set to end 2009 to avoid the BEST problems with running out of data in early 2010. So here is a plot of decade gradients, plotted against the end of the ten year period. I'm using OLS regression.  I've switched to units of °C/century, where the paused criterion is 1.7, shown with a horizontal line:

So a first surprise - BEST isn't currently showing a pause at all. Nowhere near.  Muller was right - and Tamino noted this. The BEST data shows a strong rise right through this decade.

The dataset that has been nearest to showing a pause in recent years is HADCRUT. (Remember, it is Land/Ocean, BEST is Land). So lets see how it looks:


Quite a lot of pauses - in fact, if that's the criterion, more years showing a pause than not.

For completeness, here is Gistemp, which is somewhat in between:


Ten years is a popular period to examine at the moment. It's long enough to have some plausibility, doesn't tangle with the peak of 1998, and can be manoeuvred to show somewhat reduced warming. But I wondered what might have been the perspective in previous years. How hard would it have then been to show reduced trends? Is the present period really different?

So I made a plot of the various intervals that could have been tried, from six years to twenty, in two-year increments. The following plot shows which time intervals, looking back from each year, would have met the "paused" criterion. Again trying to see if there really is a pause now.

The length of trend period, looking back, is shown on the y-axis. The corresponding color shows whether that choice of trend interval, ending in the x-axis year, would have been declared "paused".

So first BEST again. The surprise is that it is quite hard, in this decade, to meet the paused criterion (slope ≤1.7C/century) with the BEST data. Just one or two 6-8 year periods satisfy it. It gets progressively easier going back, and of course in the 70's looking back, warming of 1.7C/century was rarely attained.


To explain further, if you look at the column above 2009, the bottom blue part says that the previous 6 years shoiwed a trend above 1.7 C/century - not "paused". The next red part says the previous 8 years (2002-9) showed a trend less than 1.7, but for 10,12,14,16,18, and 20 year periods, again, blue - no pause. The columns above other years can be read similarly.

Again Hadcrut shows a greater frequency of pauses:

But only very recently, and there's a lot more "pausing" in the '90s.With the longer periods pre-2000, red doesn't really mean a pause - it's getting back to the period before the current warming really started.

Again Gistemp is in between:


Finally, there is the "stop" criterion, where the gradient dips below zero. How often could such a period have been found in the past. Well, BEST again:


Not since 1995 has it been possible to find a period between 6 and 20 years with negative slope, at least in the (6,8,10,12,14,16,18,20)yrs examined.. And again it gets more common back in the 70's. And again Hadcrut does show a few more recently, and Gistemp is in between:


Conclusion

Two of Judith's criteria for slope without statistical test show no established region where they are met, and show no real tendency, independent of choice of interval, to occur in recent years.

A related post (from over a year ago) concerning trends in this decade is here.