Blog Archives

V3 Station mash up

October 3, 2010
By
V3 Station mash up

Hmm, lets see how a fusion table works with map maker. The process works like this. We read in the GHCN inventory file into R. ( see code below ) We then clean it up ( the names fields and missing values) and we output it to a  *csv  file. Then open the csv in

Read more »

ICOADS

October 3, 2010
By
ICOADS

Just a short update on ICOADS. I started out an ICOADS project with grand plan to reprocess the observation files into a “raster” format. That ends up being a really big job. Along the way I had to learn a new package Rcurl and relearn some old Unix skills for compiling RCurl. Along the way

Read more »

Moshtemp 5.1

September 29, 2010
By
Moshtemp 5.1

Time for another dump of the entire package. Get the zip file 5.1 in the box to the right. ( shortly). unzip and run the following files if you havent already: 1. downloadall.R 2. setup.R If you are running for the first time, You’ll note I added diagnostics. Sometimes the files get corrupted on download

Read more »

Cooling stations. A UHI Hint

September 29, 2010
By
Cooling stations. A UHI Hint

Update: google earth files in the box: Personally I like to look at things backwards. Why are cool sites cool? So download the kml or kmz file and you can tour 62 sites: All with 90 years of data or more. All with a cooling trend. And all “supposedly” urban. what do you see at

Read more »

Some Oddities with cooling stations

September 29, 2010
By
Some Oddities with cooling stations

Now, that  the whole analysis has been moved to raster, I took some time to play around with a question that has interested  a couple of people. Cool stations. A while back when I was looking at ways of bounding uncertainties in the record I went on a hunt for the station that cooled the

Read more »

Animation

September 25, 2010
By
Animation

A couple hours work and we now have animations of the global anomalies: Created with the animation package in R.  The code examples were a bit terse about some of the details but after fiddling about I was able to get  the program to output an Html animation complete with java based playback controls. Write

Read more »

Damn Close 5.0

September 24, 2010
By
Damn Close 5.0

Code will be in the drop box in a bit, once I shower:   This is a wholesale replacement of previous versions, completely rewritten in raster. It will be the base going forward. All of the analysis routines will be rewritten using raster.  For time series functionality I will continue to use zoo as that

Read more »

Global done!

September 23, 2010
By
Global done!

Over the past few weeks I’ve been working at getting Moshtemp to work entirely in the raster package. I’ve been aided greatly by the author of that package, Robert, who has been turning out improvements to the package with regularity. For a while I was a bit stymied by some irregularities in getting source from

Read more »

Handling .Z files

September 13, 2010
By
Handling .Z files

A while back Steve Mcintyre was looking for a way to handle .Z files in R Ron Broberg over at the whiteboard had an approach that steve adopted both for untar and for uncompressing .Z files.  While the approach is slick, its somewhat of a hack. Nothing wrong with that, but I wanted something a

Read more »

Raster “Cover” function

September 11, 2010
By
Raster “Cover” function

The last bits of raster are coming together and everything is working so we are getting really close here. Today i will cover the raster function ‘cover’ which robert has just updated to handle a brick function. Lets review the situation with a toy example: First, we read in the Land data into a Brick.

Read more »