<div dir="ltr">Thanks dave<div>for your answer and investigation</div><div>The size is actually : </div><div>
<p class="gmail-p1"><span class="gmail-s1">-rwxrwxrwx <span class="gmail-Apple-converted-space"> </span>1 macbook<span class="gmail-Apple-converted-space"> </span>staff<span class="gmail-Apple-converted-space"> </span>1298838 Jul 20 16:36 1Sep2009.grib</span></p></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">I ftp it while changing the name to "</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">file1Sep2009.grib"</span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">Ousmane</span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">thanks</span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px"><br></span></div>
</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 31, 2017 at 9:37 PM, David Brown <span dir="ltr"><<a href="mailto:dbrown@ucar.edu" target="_blank">dbrown@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ousmane,<br>
The second error message is pretty minor. It simply indicates that the<br>
table used to give a value to the "production_status" attribute is not<br>
quite up-to-date. If it were up-to-date. you would see<br>
<br>
production_status : S2S Operational Products<br>
<br>
instead of<br>
<br>
production_status : 6<br>
<br>
(6 is the code for "S2S Operational Products" in the table 1.6.table)<br>
<br>
The first error is more serious, but I am unable to duplicate it with<br>
any version of NCL that I have. One possible reason for this is that<br>
the file you uploaded may be truncated. It only contains one complete<br>
GRIB record, but it also contains the beginning of a second record.<br>
The file as we received it is 24020 bytes:<br>
ls -l 1Sep2009.grib<br>
-rw-r--r-- 1 dbrown ncar 24020 Aug 31 15:15 1Sep2009.grib<br>
<br>
If your file is bigger than that, then the file was not successfully<br>
uploaded to the ftp site. Can you check the size of your file and if<br>
necessary upload it again? If it is the same size, then your file is<br>
incomplete and maybe you can retrieve it again from wherever it came<br>
from.<br>
<br>
I can tell you that this file uses a GRIB2 Product Definition Template<br>
number (see <a href="http://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_table4-0.shtml" rel="noreferrer" target="_blank">http://www.nco.ncep.noaa.gov/<wbr>pmb/docs/grib2/grib2_table4-0.<wbr>shtml</a>),<br>
61, that NCL does not yet fully support. That means that the error you<br>
are seeing would not be surprising assuming the file is complete. We<br>
will be updating our code to handle this template as soon as possible.<br>
<br>
Thanks for your report and hopefully you can send a complete file to us.<br>
-dave<br>
<span class="im HOEnZb"><br>
<br>
<br>
On Thu, Aug 31, 2017 at 6:50 AM, ousmane ndiaye <<a href="mailto:ondiaye70@gmail.com">ondiaye70@gmail.com</a>> wrote:<br>
</span><div class="HOEnZb"><div class="h5">> Dear All,<br>
><br>
> I downloaded forecast file from ecmwf s2s data base in grib2 format.<br>
><br>
> When I try to read it I got this error :<br>
><br>
> ncl 3> ff=addfile("1Sep2009.grib","r"<wbr>)<br>
><br>
> warning:NclGRIB2: TPRATE_P61_L1 contains records that NCL cannot currently<br>
> differentiate. One or more records will be ignored.<br>
><br>
> warning: Entry (6) not found in code table file<br>
> /Users/macbook/Downloads/ncl-<wbr>6.4.0/lib/ncarg/grib2_<wbr>codetables/ncep/1/1.3.table<br>
><br>
><br>
><br>
> ==<br>
><br>
> any help<br>
><br>
> Ousmane<br>
><br>
><br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> ______________________________<wbr>_________________<br>
> ncl-talk mailing list<br>
> <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
> List instructions, subscriber options, unsubscribe:<br>
> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
><br>
</div></div></blockquote></div><br></div>