Publications by Steven Mosher

A question from the R list

30.10.2010

I am currently working on rectifying the GHCN station list to improve the location information. Its the kind of database work that is mind numbingly tedious and a PITA in R. not because R lacks capabilities, its just tough and not very sexy to matching and fuzzy matching and greping and blah blah blah. Instead, I’ll try to work a problem that w...

2871 sym 16 img

Errors in Ghcn Inventories

30.10.2010

In the debate over the accuracy of the global temperature nothing is more evident than errors in the location data for stations in the GHCN inventory. That inventory is the primary source for all the temperature series. One question is “do these mistakes make a difference?” If one believes as I do that the record is largely correct, then it�...

7009 sym R (76 sym/1 pcs) 28 img

Wetbulb Temperature

07.11.2010

This google map display is just one of 230 GHCN stations that is located in the water. After finding  instances of this phenomena over and over, it seemed an easy thing to find and analyze all such cases in GHCN. The issue matters for a two reasons: In my temperature analysis program I use a land/water mask to isolate land temperatures from sea...

3562 sym 50 img

Ghcn V3 Metadata improvements

12.12.2010

The Global Historical Climate Network  (GHCN) is in it’s beta stage. On of the stated goals of the project is to improve the metadata that is provided for the station data.  Over the past few months several independent volunteers have been focusing on the issue of station metadata, each with their own focus. Ron Broberg deserves credit for ta...

12308 sym 16 img

Making Simple Packages in R on Windows

08.06.2011

There are any number of short tutorials on making add on R packages on your Windows machine. This is yet another version of that process. I’ve explained what I did in 10 easy steps on the pages, but I’ll give a brief overview here. In the first step I spent some time updating my R environment. For me that means getting  the latest copy of R ...

2454 sym 16 img

RGhcnV3 A new package

21.06.2011

It’s been a long journey and there are some people to thank for helping me along the way. Steve McIntyre, Ron Broberg, Jeff Id, Ryan ODonnell, RomanM, Nick Stokes, Robert Hijmans, Gabor  Grothendieck, Hadley Wickham, David Winsemius, and countless others on the R Help list. The Package is done. Package: RghcnV3 Type: Package Title: Global Hist...

4670 sym R (584 sym/1 pcs) 16 img

Package RghcnV3

22.06.2011

I am down to the last strokes of creating a package for downloading, importing and analyzing GHCN (Global Historical Climate Network0 Version 3.  There  were a few things holding me up, but  I’ve manged to handle all of them except the last one.  Let’s spend a little time looking at the package process so you can get an idea of everything...

5269 sym R (490 sym/2 pcs) 16 img

RghcnV3 version 1.1

27.06.2011

I’ve just uploaded version 1.1 of  the package RghcnV3 to Cran. I’ve made a few changes that should make it easier for some folks to use. First I removed the requirement for rgdal. At the present time “rgdal” is not required. On the MAC installing it can be a little trouble, but if you RTFM you can get it done. I’ll look for ways to pr...

4636 sym R (1846 sym/1 pcs) 16 img

Tamino’s Method: Regional Temperatures

11.07.2011

Tamino over at  Open Mind has a new post detailing his approach for calculating temperature averages. See his post here. His method is based on the Berkeley method as he notes and he uses it primarily for calculating regional or local temperature averages. Read his post for the math details behind the approach. I got my hands on the code last ni...

1350 sym R (2144 sym/1 pcs) 16 img

Version 1.3 Verified

19.07.2011

Whew, For a few hours last night I struggled with a bug, err several bugs. In the end some of the bugs were mine, some of them were “upstream” and some of them were  far “upstream”.  Image  bugs in R 2.13.1. But the math bugs ( or flat out errors on my part) have all been fixed. And the verification of the results is done.  version 1....

1052 sym 18 img