Re: [decoders] Grib File Data Extraction

NOTE: The decoders mailing list is no longer active. The list archives are made available for historical reasons.

On Mon, 4 Aug 2008, Don McGregor wrote:


I'm having problems spotting the necessary information in the indexer output.

I ran the indexer and got the output attached at the end.

Presumably this contains the necessary data for input to Grib1GetData,
namely the byte offset,

Grib1GetData [gribFile] [byte offset] [scale] [BMSExists]

Don

on the decoders page

http://www.unidata.ucar.edu/software/decoders/grib/javadoc/IndexFormat.txt

section 3  gives the definition of all the fields.


for your data example with your index

java -Xmx256m ucar/grib/grib1/Grib1GetData <datafile> 54 2 false


there is also a toolsUI program at:

http://www.unidata.ucar.edu/software/netcdf-java/

that will let display or look at the data values, it's a in-house tool so the documentation is sparce.

Robb...


===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx                   WWW: http://www.unidata.ucar.edu/
===============================================================================


  • 2008 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the decoders archives: