<div dir="ltr">Thank you very much!<div><br></div><div>It seems "addfile" cannot access the data. I'm not sure whether the documented format is correct, or the files that I downloaded are corrupted. Because I only meet this problem using the dataset from UCAR's research data archieve (<a href="http://rda.ucar.edu/datasets/ds507.5/">http://rda.ucar.edu/datasets/ds507.5/</a>).<div><br></div><div>Best,</div><div>Xin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 25, 2016 at 6:48 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 Xin,<br>
I was about to take a look at a sample of these files but it appears<br>
that that the RDA is having server issues and data are inaccessible<br>
right now. I will give it another try when it comes back on line.<br>
-dave<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Oct 25, 2016 at 4:04 PM, Xin Zhou <<a href="mailto:xin.zhou.1@stonybrook.edu">xin.zhou.1@stonybrook.edu</a>> wrote:<br>
> Hi Kacie,<br>
><br>
> Thank you! I tried adding adding different file extensions (.grib, .grib1<br>
> etc.), but none of them worked. For some unknown reason, the file still<br>
> cannot be opened by addfile.<br>
><br>
> Best,<br>
> Xin<br>
><br>
> On Tue, Oct 25, 2016 at 5:26 PM, Kacie Shourd <<a href="mailto:Kacie.Shourd@dri.edu">Kacie.Shourd@dri.edu</a>> wrote:<br>
>><br>
>> Hi, Xin!<br>
>><br>
>> Try adding the file extension, like this:<br>
>><br>
>> f = addfile("./gage.hrly.prcp.<wbr>20020101.grib1","r")<br>
>><br>
>> Best,<br>
>> Kacie<br>
>><br>
>> ---<br>
>> Kacie N. Shourd<br>
>> 드림<br>
>><br>
>> Graduate Research Assistant<br>
>> Desert Research Institute<br>
>> <a href="mailto:Kacie.Shourd@dri.edu">Kacie.Shourd@dri.edu</a><br>
>> Work: <a href="tel:%28775%29%20674-7049" value="+17756747049">(775) 674-7049</a><br>
>> ______________________________<wbr>__<br>
>> From: <a href="mailto:ncl-talk-bounces@ucar.edu">ncl-talk-bounces@ucar.edu</a> [<a href="mailto:ncl-talk-bounces@ucar.edu">ncl-talk-bounces@ucar.edu</a>] on behalf of<br>
>> Xin Zhou [<a href="mailto:xin.zhou.1@stonybrook.edu">xin.zhou.1@stonybrook.edu</a>]<br>
>> Sent: Tuesday, October 25, 2016 2:03 PM<br>
>> To: <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
>> Subject: [ncl-talk] Error reading grib file<br>
>><br>
>> Dear All,<br>
>><br>
>> I'm looking at the 4km resolution hourly precipitation from NCEP/CPC<br>
>> (<a href="http://rda.ucar.edu/datasets/ds507.5/" rel="noreferrer" target="_blank">http://rda.ucar.edu/datasets/<wbr>ds507.5/</a>). The documented data format is<br>
>> GRIB1, but when using "addfile" no variables were printed.<br>
>><br>
>> ncl 0> f = addfile("./gage.hrly.prcp.<wbr>20020101","r")<br>
>> ncl 1> print(f)<br>
>><br>
>> Variable: f<br>
>> Type: file<br>
>> (0) File Missing Value : -1<br>
>><br>
>><br>
>> Does anyone have a clue how to access the data?<br>
>> Thank you all!<br>
>><br>
>> Best,<br>
>> Xin<br>
>><br>
>><br>
>><br>
>> PUBLIC RECORDS NOTICE: In accordance with NRS Chapter 239, this email and<br>
>> responses, unless otherwise made confidential by law, may be subject to the<br>
>> Nevada Public Records laws and may be disclosed to the public upon request.<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><br clear="all"><div><br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt"><font color="#000000" size="3"></font></span></div></div></div></div>
</div></div>