[ncl-talk] Error reading grib file
Dennis Shea
shea at ucar.edu
Tue Oct 25 17:21:10 MDT 2016
Please contact the data set expert listed at the RDA website.
--
FYI: the gage.hrly.prcp.yyyymmdd data are in ASCII by stations, not grib.
--
Try
%> less gage.hrly.prcp.20020101
---
Or you can use ST2gg2002010100.Grb.Z file in ST2_4km file, or
ST4.2002010100.01h.Z grib file in ST4 tar file.
---
FYI only: http://www.ncl.ucar.edu/Applications/HiResPrc.shtml
See the ST4 examples at the bottom
D
On Tue, Oct 25, 2016 at 4:54 PM, Xin Zhou <xin.zhou.1 at stonybrook.edu> wrote:
> Thank you very much!
>
> 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 (http://rda.ucar.edu/datasets/ds507.5/).
>
> Best,
> Xin
>
> On Tue, Oct 25, 2016 at 6:48 PM, David Brown <dbrown at ucar.edu> wrote:
>
>> Hi Xin,
>> I was about to take a look at a sample of these files but it appears
>> that that the RDA is having server issues and data are inaccessible
>> right now. I will give it another try when it comes back on line.
>> -dave
>>
>> On Tue, Oct 25, 2016 at 4:04 PM, Xin Zhou <xin.zhou.1 at stonybrook.edu>
>> wrote:
>> > Hi Kacie,
>> >
>> > Thank you! I tried adding adding different file extensions (.grib,
>> .grib1
>> > etc.), but none of them worked. For some unknown reason, the file still
>> > cannot be opened by addfile.
>> >
>> > Best,
>> > Xin
>> >
>> > On Tue, Oct 25, 2016 at 5:26 PM, Kacie Shourd <Kacie.Shourd at dri.edu>
>> wrote:
>> >>
>> >> Hi, Xin!
>> >>
>> >> Try adding the file extension, like this:
>> >>
>> >> f = addfile("./gage.hrly.prcp.20020101.grib1","r")
>> >>
>> >> Best,
>> >> Kacie
>> >>
>> >> ---
>> >> Kacie N. Shourd
>> >> 드림
>> >>
>> >> Graduate Research Assistant
>> >> Desert Research Institute
>> >> Kacie.Shourd at dri.edu
>> >> Work: (775) 674-7049
>> >> ________________________________
>> >> From: ncl-talk-bounces at ucar.edu [ncl-talk-bounces at ucar.edu] on behalf
>> of
>> >> Xin Zhou [xin.zhou.1 at stonybrook.edu]
>> >> Sent: Tuesday, October 25, 2016 2:03 PM
>> >> To: ncl-talk at ucar.edu
>> >> Subject: [ncl-talk] Error reading grib file
>> >>
>> >> Dear All,
>> >>
>> >> I'm looking at the 4km resolution hourly precipitation from NCEP/CPC
>> >> (http://rda.ucar.edu/datasets/ds507.5/). The documented data format is
>> >> GRIB1, but when using "addfile" no variables were printed.
>> >>
>> >> ncl 0> f = addfile("./gage.hrly.prcp.20020101","r")
>> >> ncl 1> print(f)
>> >>
>> >> Variable: f
>> >> Type: file
>> >> (0) File Missing Value : -1
>> >>
>> >>
>> >> Does anyone have a clue how to access the data?
>> >> Thank you all!
>> >>
>> >> Best,
>> >> Xin
>> >>
>> >>
>> >>
>> >> PUBLIC RECORDS NOTICE: In accordance with NRS Chapter 239, this email
>> and
>> >> responses, unless otherwise made confidential by law, may be subject
>> to the
>> >> Nevada Public Records laws and may be disclosed to the public upon
>> request.
>> >
>> >
>> >
>> > _______________________________________________
>> > ncl-talk mailing list
>> > ncl-talk at ucar.edu
>> > List instructions, subscriber options, unsubscribe:
>> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>> >
>>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161025/6257cc25/attachment.html
More information about the ncl-talk
mailing list