- To: netcdfgroup@xxxxxxxxxxxxxxxx
- Subject: [Fwd: Re: Do y'all have a suggestion for Ed?]
- From: Rick Grubin <grubin@xxxxxxxx>
- Date: Wed, 3 May 2006 10:27:41 -0600
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@xxxxxxxxxxxx> Reply-To: saurin.shah@xxxxxxxxxxxxTo: Gerry Creager N5JXS <gerry.creager@xxxxxxxx>, Sastry, Srikanth <sastry@xxxxxxxxxxxx>, Kaustav Ghoshal <kghoshal@xxxxxxxx>, Shah, Saurin Bipin <saurin782@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 aGRIB2 file. The code is well documented too. The library can be found athttp://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@xxxxxxxx 303.497.1832 ============================================================================== To unsubscribe netcdfgroup, visit: http://www.unidata.ucar.edu/mailing-list-delete-form.html ==============================================================================
- Follow-Ups:
- Re: [Fwd: Re: Do y'all have a suggestion for Ed?]
- From: Jeff Whitaker
- Re: [Fwd: Re: Do y'all have a suggestion for Ed?]