empty header in reading grib2

From: YuGuang He <yhe_at_nyahnyahspammersnyahnyah>
Date: Tue, 24 Feb 2009 14:03:52 -0500

Dear NCL Supports,

  I am having an issue of reading the grib2 format files from NCEP in
the updated NCL version 5.0.0 on Fedora 9 LINUX. I was wondering if I
could get some help and shed some light on it.
  Basically, when I opened a file by

fh = addfile("gfs.t00z.pgrbf240.grib2","r")
print(fh)

it shows,

Variable: fh (file variable)

filename: gfs.t00z.pgrbf240
path: gfs.t00z.pgrbf240.grib2
 file global attributes:
 dimensions:
 variables:

which does not contain the header information I was looking for. I have
been using version 4.3.0 all along for the past few years and there has
not been such an issue for me. Also, there is no problem for me to read
grib1 and netCDF files with this updated version 5.0.0 of NCL.

  Thank you very much for your help.

- Yuguang He

-- 
       contact : Yuguang He
       company : AER, Inc.
         email : yhe_at_aer.com
       subject : Technical Support
         phone : 781-761-2288 (ext. 217)
     facsimile : 781-761-2299
       address : 131 Hartwell Ave
          city : Lexington
         state : MA
    postalcode : 02421
       country : USA
       website : http://www.aer.com
      referrer : http://weather.aer.com/contact.php


_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Tue Feb 24 2009 - 12:03:52 MST

This archive was generated by hypermail 2.2.0 : Tue Mar 03 2009 - 09:53:57 MST