[Rnomads-user] rNOMADS package - Reading grb2 files

Daniel Bowman danny.c.bowman at gmail.com
Mon Aug 14 05:13:46 CEST 2017


Dear Javier,

First of all, my apologies for taking so long to get back to you.  I tried
reading your file using the rNOMADS ReadGrib() function and it was not
successful.  Specifically, it took a very long time and never seemed to
complete.  I share your frustration with reading grib files in R (and in
general).  They are difficult.

rNOMADS is primarily concerned with interfacing with the NOMADS data portal
on the NOAA web site.  Unfortunately, I don't have the time or the
resources to add support for grib files that do not conform to their
standards.  My recommendation is to see if this tool can be used to read
grib time series:
http://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/

Regards,

Danny

On Wed, Aug 9, 2017 at 3:39 AM, Javier FLUIXA <Javier.FLUIXA at crealp.vs.ch>
wrote:

> Dear developer of the rNOMADS package,
>
>
>
> I am an engineer in a Swiss research center and I am currently working
> with the seasonal forecasts of the NOAA.
>
>
>
> I’m using the R environment to read and manipulate the *timeseries* files
> I have downloaded (e.g. those you can find here
> http://nomads.ncep.noaa.gov/pub/data/nccf/com/cfs/prod/
> cfs/cfs.20170808/06/time_grib_01/). I’ve tried to read them with the
> readGDAL function of the rgdal package. However, when I read them all the
> data is null because I don’t have the JPEG2000 driver.
>
>
>
> So I decided to use the rNOMADS package. The problem is I cannot read
> directly the grb file I downloaded; I can only read those downloaded from
> specific links (extracted using NOMADSArchiveList() or NOMADSRealTimeList()
> functions), which are in 6hrly_grib format (not very convenient for my
> purposes…).
>
>
>
> Is there a direct way of reading *already downloaded timeseries* grib
> files using the rNOMADS package?
>
>
>
> Thank you very much for your help. Yours sincerely,
>
> Javier F.
>
>
>
> PS: I include a link where you can download one of the grib2 files I’m
> working with:
>
> http://nomads.ncep.noaa.gov/pub/data/nccf/com/cfs/prod/
> cfs/cfs.20170808/06/time_grib_01/prate.01.2017080806.daily.grb2
>
>
>
>
>
> *Javier FLUIXÁ SANMARTÍN*
> *Civil Engineer & MSc Hydraulic Engineering UPV*
>
> Hydrology and Hydraulics Specialist
>
>
>
> Office:
>
> Mobile :
>
> e-mail :
>
> *+ 41 27 607 11 78 <+41%2027%20607%2011%2078>*
>
> *+ 41 76 473 13 46 <+41%2076%20473%2013%2046>*
>
> *javier.fluixa at crealp.vs.ch <javier.fluixa at crealp.vs.ch>*
> * ------------------------------ *
>
> *www.crealp.ch* <http://www.crealp.ch/>
>
> *Tel.   + 41 27 607 11 80 <+41%2027%20607%2011%2080>*
>
> *Fax   + 41 27 607 11 94 <+41%2027%20607%2011%2094>*
>
>
>
> Centre de recherche sur l'environnement alpin
>
> Rue de l'Industrie 45, CH-1951 Sion
>
> *P **Merci de penser à l'environnement avant d'imprimer ce courriel !*
>
> *Attention : les seules extensions autorisées par notre messagerie sont
> .doc, .xls, .pdf, .txt, .ppt, png, jpeg et .zip sans mot de passe. Toutes
> les pièces jointes comportant d’autres extensions sont automatiquement
> supprimées.*
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rnomads-user/attachments/20170813/16f2cbae/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 5577 bytes
Desc: not available
URL: <http://lists.r-forge.r-project.org/pipermail/rnomads-user/attachments/20170813/16f2cbae/attachment-0001.png>


More information about the Rnomads-user mailing list