NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
NOTE: The decoders
mailing list is no longer active. The list archives are made available for historical reasons.
On Fri, 1 Aug 2008, Don McGregor wrote:
I'm looking for some examples of extracting data from grib files using the Java decoders. The Grib1Dump utility shows the output at the bottom of this message. However, when I load the file using the code below, I get zero records. I'm new to grib files, and my understanding is that there should be a record for each parameter.
Hiya, GribDump is just to dump the headers of the Grib files, most Grib data is large so we use the index approach and a utility GribGetData ie Grib(1|2)Indexer to index the records in the Grib file # Grib(1|2)GetData to extract the data on a parameter basis. # Parameter and level lookup routines. See Parameters on the page: http://www.unidata.ucar.edu/software/decoders/there are Java docs that explain the routines in detail and what parameters to use.
Robb... =============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research rkambic@xxxxxxxxxxxxxxxx WWW: http://www.unidata.ucar.edu/ ===============================================================================
decoders
archives: