Climate Charts & Graphs

Putting Consolidated Global Temperature Data on-line

July 10, 2009 · 13 Comments

In this post I describe an R script that retrieves monthly global temperature anomaly data from 5 sources and consolidates the data into a single CSV file. I then post the consolidated file in an on-line  Google spreadsheet so that users can download the data and conduct their own global temperature trend analysis.

Global Climate Trends

There are many blogs and web sites (small sample: 1, 2, 3, 4, 5, 6) with multiple opinions on global climate trends. Some sites are data oriented and others are opinion oriented. What is a charter to think?

My advice, take a look at the data for yourself. As an Excel or R charter, why not analyze it yourself to get a better appreciation for what is going on.

To help you get started, I’ve developed a consolidated monthly CSV file that presents  the 5 major global land and ocean temperature anomaly data series: GISS, NOAA, HADCrut3, RSS and UAH. This page gives some additional information.

Google Spreadsheet

Here’s the link to my Google spreadsheet of the monthly data. I’ve  tried to simply download and consolidate the raw data as provided by the source sites. My goal is to present the data in a simple CSV format so that Excel, R and other software charters can evaluate the trends without having to struggle through the  source data re-formatting process.

R Script

The source files are a little messy from a charting standpoint, each needs its own reformat procedure. I’ve posted my R script at this link.

Update

Peter Gallagher submitted a comment adding a ggplot2 script for the test plot I made at the end of my R script. Since it took me way to long to get the basic data handling done, I was burned out and just put together an ugly chart of the 5 data series to make sure the data transfer worked.

Peter’s ggplot2 snipet is just great. Thanks Peter! Here’s what it looks like.

consol_lo_plot

Categories: Climate Change · R Example and Scripts · Time Series Charts
Tagged: , ,

13 responses so far ↓

Leave a Comment