[R] How to open grib file in R?

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Mon Jan 14 17:58:26 CET 2013

Your question should have been posted to the R-sig-geo mailing list.

FWIW I have no direct experience with the files or functions you are using, but I have to say the error message seems pretty clear to me: latitude values are normally limited to [-90,90], but your file appears to have data outside this range. Thus, the file appears to have invalid data.
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
Sent from my phone. Please excuse my brevity.

Jonsson <amen.alyaari at Bordeaux.inra.fr> wrote:

>I have this  
>grib file which is a regular lat-lon 0.25x0.25 degrees and contains 4
>I tried to open it using :
>  grib <-
>but I got this error:
>C:\Users\aalyaari\Desktop\Vol_025_H14_2010060700.grib has GDAL driver
>and has 721 rows and 1440 columns Error in validityMethod(as(object,
>superClass)) : 
>  Geographical CRS given to non-conformant data: -90.125  90.125
>Any idea why I am getting this error?
>View this message in context:
>Sent from the R help mailing list archive at Nabble.com.
>R-help at r-project.org mailing list
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list