Hello Dany,

If you are just reading GRIB data, I'd recommend Unidata's NetCDF Java Library.  This includes decoders for GRIB 1 and GRIB 2.  The data are decoded into the NetCDF data structure, which is basically arrays of data.  The documentation is good with lots of examples.

Once in the NetCDF structure, you could populate a WritableRaster and create a GridCoverage from the desired "slice" of data.  The NetCDF (and GRIB) structure often represents multiple "stacked" grids in the x, y, z and time dimensions.

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


Steve




Daniele Romagnoli wrote:
Hi guys.

I'm searching some documentations about the GRIB FORMAT because my knowledge about that is actually very weak.
Actualy I'm interested to know how metadata are contained in a record of this kind of format.

.....I have understood (I hope...) that a GRIB record is composed of 6 sections:

      Indicator section
Product Definition Section
Grid Description Section (optional)
Bit Map Section (optional)
Binary Data Section
End Section (7777)

And metadata are contained in the first 2 sections.

Can someone show me a link or send a document where I can find some examples of these metadata and their arrangement within the record?
If you need to add some observations you are the welcome ^_^

Thx a lot

regards,
Dany


Reply via email to