Re: [Urgent] TXT-to-GRIB Converter & NetCDF-to-GRIB Converter for IDL [message #39829] |
Mon, 21 June 2004 14:59 |
Mark Hadfield
Messages: 783 Registered: May 1995
|
Senior Member |
|
|
Paul Van Delst wrote:
> Ha ha. I was going to suggest the OP look at the Unidata decoders
> package which contains a grib2nc utility until I realised that was
> backwards to the request... why *would* anyone want to write a grib
> file? :o)
Because they're very compact?
I've never wanted to write one either, but somebody obviously does
because there's a library, called gribw, under development to support
write (and read) access:
http://wesley.wwb.noaa.gov/gribw.html
It includes a command-line utility of the same name. The WWW page shows
an example where a GRIB file is converted to text via 2 calls to wgrib,
then piped to gribw which recreates the original file. Wow!
--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
|
|
|
|
|
|
|