I think I’ve found the pseudocode for Mann’s temperature charts:
input hockey_stick array input year_data array For each year (1000 - 2009) { while (year_data_of_year less than hockey_stick_of_year) { if (year_data_of_year less than hockey_stick_of_year) { year_data_of_year += 0.1 degrees } } plot year_data_of_year }
See, nothing to it. Poor Harry wouldn’t have had so much frustration if he’d just stuck with the script.
I think nobody’s commented because they’re not sure if its a joke or not.
Hey, you must be looking to replace Phil Jones at the CRU!
I wanted to post something earlier, but I really couldn’t think of anything to add. Well done Rand as I think you nailed it.
You did forget to comment your code, but then, not commenting the code made it seem authentic.
Only, shouldn’t there be a further test on whether the year is < 1450, in which case the temperature needs to be decremented in case it’s too high, rather than the reverse? You see, climate science is a complex and nuanced subject.
In addition to all the blatant fudging of proxy temperatures, there has been a long, subtle trend of removing thermometer stations from the database… oddly enough, the vast mojority of them at higher and cooler altitudes. The remaining stations cluster on beaches and desert plains, and GEE WHIZ, the average temperatures go up.
Ed SMith at http://chiefio.wordpress.com/ dives into the ugly details, and finds a whole firing squad of smoking guns- such as http://chiefio.wordpress.com/2009/11/09/gistemp-a-human-view/
It’s not just CRU- Hansen and NASA are in it up to their necks, and it’s very smelly, very brown stuff.
How California came to be represented by four thermometers on the beach:
http://chiefio.wordpress.com/2009/10/24/ghcn-california-on-the-beach-who-needs-snow/
Correction, it was not a long, subtle trend. GISStemp went from 1177 stations in 2006 to 134 in 2007. These bastards have their thumb blatantly on the scale.
You know, you ought to propose that people post chart code in various languages. I’d particularly enjoy a LISP or Smalltalk version.