> It does fix the problem. Why not reading the first four bytes to
> match GRIB string instead of relying on the extension?
Not a good idea. There's no requirement in GRIB files for
the first 4 bytes to be "GRIB." In fact, many GRIB files
from NCEP include a WMO header prepended to them (really old
ones used to have EBCIDIC headers before the first occurrence
of GRIB).
-- Greg Thompson NCAR/RAP
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Mon Apr 21 2003 - 22:53:10 MDT