[R-sig-Geo] reading into R IPCC data files

Mario Bellinato mario.bellinato at gmail.com
Tue Jan 18 17:55:30 CET 2011


Thank you for all for your useful suggestions and the interesting
discussion! I am currently trying use Professor Hijmans's code to read
in the same file. I have already encountered one problem though. The
code runs fine until:

b <- rotate(b)

when I get the following error message:

Error in intersectExtent(x, y) : Invalid extent

This is the the RasterBrick object obtained from
b <- setValues(b, d)

b

class       : RasterBrick
filename    :
nlayers     : 12
nrow        : 73
ncol        : 96
ncell       : 7008
projection  : +proj=longlat +datum=WGS84
min value   :  0  0 10  0  0  0  0  0  6  0 ...
max value   : 427 336 324 352 360 396 375 355 323 354 ...
extent      : -180, 180, -90, 90  (xmin, xmax, ymin, ymax)
resolution  : 3.75, 2.465753  (x, y)


Any help would be greatly appreciated! I am running R 2.12.1 on Ubuntu 10.04

Best wishes,

Mario



More information about the R-sig-Geo mailing list