<div dir="ltr"><div><div><div><div>Dear Javier,<br><br></div>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.<br><br></div>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:<br><a href="http://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/">http://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/</a><br><br></div>Regards,<br><br></div>Danny<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 9, 2017 at 3:39 AM, Javier FLUIXA <span dir="ltr"><<a href="mailto:Javier.FLUIXA@crealp.vs.ch" target="_blank">Javier.FLUIXA@crealp.vs.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="FR-CH">
<div class="m_-567323982026372789WordSection1">
<p class="MsoNormal"><span lang="EN-US">Dear developer of the rNOMADS package,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I am an engineer in a Swiss research center and I am currently working with the seasonal forecasts of the NOAA.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I’m using the R environment to read and manipulate the
<b><u>timeseries</u></b> files I have downloaded (e.g. those you can find here <a href="http://nomads.ncep.noaa.gov/pub/data/nccf/com/cfs/prod/cfs/cfs.20170808/06/time_grib_01/" target="_blank">
http://nomads.ncep.noaa.gov/<wbr>pub/data/nccf/com/cfs/prod/<wbr>cfs/cfs.20170808/06/time_grib_<wbr>01/</a>). 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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">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…).
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Is there a direct way of reading <b><u>already downloaded timeseries</u></b> grib files using the rNOMADS package?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you very much for your help. Yours sincerely,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Javier F.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">PS: I include a link where you can download one of the grib2 files I’m working with:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://nomads.ncep.noaa.gov/pub/data/nccf/com/cfs/prod/cfs/cfs.20170808/06/time_grib_01/prate.01.2017080806.daily.grb2" target="_blank">http://nomads.ncep.noaa.gov/<wbr>pub/data/nccf/com/cfs/prod/<wbr>cfs/cfs.20170808/06/time_grib_<wbr>01/prate.01.2017080806.daily.<wbr>grb2</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<table class="m_-567323982026372789MsoTableGrid" style="width:314.65pt;border-collapse:collapse;border:none" border="0" cellspacing="0" cellpadding="0" width="481">
<tbody>
<tr style="height:43.05pt">
<td style="width:104.5pt;padding:0cm 5.4pt 0cm 5.4pt;height:43.05pt" width="160" valign="top">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#0070c0"><img id="m_-567323982026372789Image_x0020_5" src="cid:image003.png@01D31104.22F6B010" border="0" height="44" width="136"></span><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413"><u></u><u></u></span></p>
</td>
<td colspan="2" style="width:210.15pt;padding:0cm 5.4pt 0cm 5.4pt;height:43.05pt" width="321" valign="top">
<p class="MsoNormal" style="margin-bottom:3.0pt"><b><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413" lang="EN-US">Javier FLUIXÁ SANMARTÍN</span></b><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413" lang="EN-US">
<br>
</span><i><span style="font-size:9.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413" lang="EN-US">Civil Engineer & MSc Hydraulic Engineering UPV</span></i><span style="font-size:9.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413">Hydrology and Hydraulics Specialist</span><i><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413"><u></u><u></u></span></i></p>
</td>
</tr>
<tr style="height:42.35pt">
<td style="width:104.5pt;padding:0cm 5.4pt 0cm 5.4pt;height:42.35pt" width="160" valign="top">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413"><u></u> <u></u></span></p>
</td>
<td style="width:63.95pt;padding:0cm 5.4pt 0cm 5.4pt;height:42.35pt" width="98" valign="top">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413">Office:
</span><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413">Mobile :
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413">e-mail :</span><i><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413"><u></u><u></u></span></i></p>
</td>
<td style="width:146.2pt;padding:0cm 5.4pt 0cm 5.4pt;height:42.35pt" width="223" valign="top">
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413"><a href="tel:+41%2027%20607%2011%2078" value="+41276071178" target="_blank">+ 41 27 607 11 78</a></span></i><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413"><u></u><u></u></span></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413"><a href="tel:+41%2076%20473%2013%2046" value="+41764731346" target="_blank">+ 41 76 473 13 46</a></span></i><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413">  
<u></u><u></u></span></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif""><a href="mailto:javier.fluixa@crealp.vs.ch" target="_blank"><span style="color:blue">javier.fluixa@crealp.vs.ch</span></a><u><span style="color:#a12520"><u></u><u></u></span></u></span></i></p>
</td>
</tr>
<tr style="height:13.9pt">
<td colspan="3" style="width:314.65pt;padding:0cm 5.4pt 0cm 5.4pt;height:13.9pt" width="481" valign="top">
<div class="MsoNormal" style="text-align:center" align="center"><i><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413">
<hr align="center" width="100%" size="2">
</span></i></div>
</td>
</tr>
<tr style="height:48.05pt">
<td style="width:104.5pt;padding:0cm 5.4pt 0cm 5.4pt;height:48.05pt" width="160" valign="top">
<p class="MsoNormal"><a href="http://www.crealp.ch/" target="_blank"><i><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#c00000">www.crealp.ch</span></i></a><i><u><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#c00000"><u></u><u></u></span></u></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413">Tel.   <a href="tel:+41%2027%20607%2011%2080" value="+41276071180" target="_blank">+ 41 27 607 11 80</a></span></i><span style="color:#4b1413"><u></u><u></u></span></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413">Fax   <a href="tel:+41%2027%20607%2011%2094" value="+41276071194" target="_blank">+ 41 27 607 11 94</a></span></i><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413"><u></u><u></u></span></p>
</td>
<td colspan="2" style="width:210.15pt;padding:0cm 5.4pt 0cm 5.4pt;height:48.05pt" width="321" valign="top">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413">Centre de recherche sur l'environnement alpin</span><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413">Rue de l'Industrie 45, CH-1951 Sion</span><span style="font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:#4b1413"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<table class="m_-567323982026372789MsoNormalTable" style="border-collapse:collapse;margin-left:5.1pt;margin-right:5.1pt" border="0" align="left" cellspacing="0" cellpadding="0">
<tbody>
<tr style="height:37.75pt">
<td style="width:1.0pt;padding:0cm 0cm 0cm 0cm;height:37.75pt" width="2"></td>
<td style="width:431.35pt;padding:0cm 0cm 0cm 0cm;height:37.75pt" width="659" valign="bottom">
<p class="MsoNormal" style="margin-bottom:6.0pt;margin-left:0cm">
<i><span style="font-size:10.0pt;font-family:Webdings;color:#00b050">P
</span></i><i><span style="font-size:9.0pt;font-family:"Arial Narrow","sans-serif";color:#00b050">Merci de penser à l'environnement avant d'imprimer ce courriel !</span></i><i><span style="font-size:9.0pt;font-family:"Arial Narrow","sans-serif";color:#00b050"><u></u><u></u></span></i></p>
<p class="MsoNormal">
<i><span style="font-size:9.0pt;font-family:"Arial Narrow","sans-serif";color:#0f243e">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.</span></i><i><span style="font-size:9.0pt;font-family:"Arial Narrow","sans-serif";color:#0f243e"><u></u><u></u></span></i></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

</blockquote></div><br></div>