Re: Update: _GDattach error and NARR Grib error

From: daryl herzmann <akrherz_at_nyahnyahspammersnyahnyah>
Date: Fri Nov 30 2012 - 06:25:56 MST

On Fri, 30 Nov 2012, John Nielsen-Gammon wrote:

>>>> f = Nio.open_file('/Users/ng/Pythons/NARRT2/201201/narr-a_221_20120119_0300_000.sub.grb', 'r')
> fatal:An internal error has occurred. The file format requested does not appear to be supported, could not open (/Users/ng/Pythons/NARRT2/201201/narr-a_221_20120119_0300_000.sub.grb)
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyNIO/", line 607, in open_file
> file = _Nio.open_file(filename,mode,options,history,format)
> NIOError: Unable to open file
>>>> f = Nio.open_file("/Users/ng/Pythons/NARRT2/201201/narr-a_221_20120119_0000_000.sub.grb","r")
> fatal:Premature end-of-file, file appears to be truncated
> Re-extracting and downloading the grib files has no effect.

Do these files have good file size compared with others you downloaded?
They are not zero-bytes? Could you upload one of them somewhere, so I
could download it and take a look at it?

Go other grib utilities like 'wgrib' or 'pygrib' work with the file?

pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Fri Nov 30 06:26:10 2012

This archive was generated by hypermail 2.1.8 : Fri Dec 21 2012 - 10:43:45 MST