[Fwd: Re: Do y'all have a suggestion for Ed?]

Rick Grubin grubin at ucar.edu
Wed May 3 10:27:41 MDT 2006


Regarding g2clib, I've been working with it and found its API  
reasonably easy to use for decoding, at least when compared to the  
ECMWF grib_api code.  The grib_api code, however, does have a nice  
built-in parser for reading codetables and extracting information at  
runtime.

> -------- Original Message --------
> Subject: Re: Do y'all have a suggestion for Ed?
> Date: Mon, 16 Jan 2006 18:44:07 -0000
> From: Shah, Saurin B <saurin.shah at xxxxxxxxxxxx>
> Reply-To: saurin.shah at xxxxxxxxxxxx
> To: Gerry Creager N5JXS <gerry.creager at xxxxxxxx>, Sastry, Srikanth  
> <sastry at xxxxxxxxxxxx>, Kaustav Ghoshal <kghoshal at xxxxxxxx>, Shah,  
> Saurin Bipin <saurin782 at xxxxxxxxxxxx>

> I have used g2clib for GRIB2 files and it is really good. It has  
> routines to
> write all 8 sections of a GRIB2 file, and also it has routines to  
> decode a
> GRIB2 file. The code is well documented too.
>
> The library can be found at
> http://oceanlab.rsmas.miami.edu/explorer/SEACOOS/v2/src/degrib/src/ 
> grib2lib/g2clib-1.0.2/

Perhaps I'm missing something obvious (woudn't be the first time), but  
it seems that g2clib does not offer this capability (or does it, and I  
just don't see it?).  In looking at other GRIB2 decoders that make use  
of g2clib, it seems that those developers had to write their own  
methods for parsing/extracting info from codetables.  True?  If so, is  
there anything folks can share (preferably C code -- I know of Jeff  
Whitaker's python work and the Java decoder) that, given the info  
extracted from g2clib's data structure about a GRIB2 file, can decode  
text-based codetables?
---
Rick Grubin      NCAR/CISL/SCD/VETS
Visualization + Enabling Technologies
grubin at ucar.edu             303.497.1832

==============================================================================
To unsubscribe netcdfgroup, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================



More information about the netcdfgroup mailing list