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:<jdnew...@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.alya...@bordeaux.inra.fr> wrote: >I have this >https://echange-fichiers.inra.fr/get?k=6TdTdezNeZwAqJtpwVm >grib file which is a regular lat-lon 0.25x0.25 degrees and contains 4 >fields >. >I tried to open it using : > grib <- >readGDAL("C:\\Users\\aalyaari\\Desktop\\Vol_025_H14_2010060700.grib") > >but I got this error: >C:\Users\aalyaari\Desktop\Vol_025_H14_2010060700.grib has GDAL driver >GRIB >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: >http://r.789695.n4.nabble.com/How-to-open-grib-file-in-R-tp4655497.html >Sent from the R help mailing list archive at Nabble.com. > >______________________________________________ >R-help@r-project.org mailing list >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. ______________________________________________ R-help@r-project.org mailing list 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.