Hi
I am trying to read a grib2 file in R.

Here is my script

library(rgdal)
library(sp)
library(rNOMADS)
gribfile<-"tmax.01.2011040100.daily.grb2"
grib <- readGDAL(gribfile)

I am getting following error :

dec_jpeg2000: Unable to open JPEG2000 image within GRIB file.
Is the JPEG2000 driver available?tmax.01.2011040100.daily.grb2 has GDAL
driver GRIB
and has 190 rows and 384 columns
dec_jpeg2000: Unable to open JPEG2000 image within GRIB file.
Is the JPEG2000 driver available?dec_jpeg2000: Unable to open JPEG2000
image within GRIB file.

Cheers
-Deb

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to