Re: [R] How to read a grib2 file

2016-09-14 Thread Michael Sumner
On Wed, 14 Sep 2016 at 00:49 Debasish Pai Mazumder wrote: > Hi Mike, > Thanks again. I am using Mac OS > > Here is the required info > > > sessionInfo() > R version 3.2.4 (2016-03-10) > Platform: x86_64-apple-darwin13.4.0 (64-bit) > Running under: OS X 10.11.6 (El Capitan) > > locale: > [1] en_US

Re: [R] How to read a grib2 file

2016-09-13 Thread Debasish Pai Mazumder
Hi Mike, Thanks again. I am using Mac OS Here is the required info > sessionInfo() R version 3.2.4 (2016-03-10) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X 10.11.6 (El Capitan) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages:

Re: [R] How to read a grib2 file

2016-09-13 Thread Michael Sumner
What is your computer system? What is the output of this? sessionInfo() If you point to a file I'll try it so I can tell you the minimum system requirements. Cheers, Mike On Tue, 13 Sep 2016, 08:56 Debasish Pai Mazumder wrote: > Thanks for your suggestion. I have checked and I don't have JPEG

Re: [R] How to read a grib2 file

2016-09-12 Thread Debasish Pai Mazumder
Thanks for your suggestion. I have checked and I don't have JPEG2000 in ggdalDrivers()). I am pretty new in R. I don't understand how to do I implement JPEG2000 (JP2OpenJPEG driver) in gdalDrivers() so that I can read grib2 files with regards -Deb On Sat, Sep 10, 2016 at 2:33 AM, Michael Sumner

Re: [R] How to read a grib2 file

2016-09-10 Thread Michael Sumner
On Sat, 10 Sep 2016 at 07:12 Debasish Pai Mazumder wrote: > 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_jpe

[R] How to read a grib2 file

2016-09-09 Thread Debasish Pai Mazumder
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 availa