What’s up with Darwin’s weather?
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Darwin is a the capital city of Australia’s Northern Territory. Lying on the coast of far Northern Australia, it’s situated well in the tropics and as a result has hot, steamy, monsoonal weather. Darwin’s weather has already had impact on urban culture, and now it seems it’s had a political impact too: it’s been at in the middle of the recent “Climategate” “scandal”. A climate-change skeptic observed a discontinuity in the raw temperature records at Darwin airport in 1942 (which, as it turned out, was caused by a change in the equipment), and claimed that the standardization of the data was an overt attempt to present a cooling trend as a warming trend. This claim was roundly denounced in The Economist (prompting yet another reply and rebuttal).
Matthew Markus wasn’t satisfied with drawing conclusions from a back-and-forth in the blogosphere, though. He decided to get hold of the raw data from the Global Historical Climate Network and attempt to reproduce this “smoking gun” graphic for himself in R.
Markus provides all the details and R code for accessing and plotting the temperature data in a blog post. There’s lots of practical advice there, including how use the various command-line tools to uncompress and inspect the data (although you’ll need a Unix-ish machine to follow along) as well as all the R commands for reading in the data. (It makes for a nice demonstration of reading fixed-format data files into R, actually.) You’ll also see how to standardize and plot the data, with a result fairly close to the original above:
Matthew Markus: Raw Darwin Airport Temperature Data with R
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.