Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

DESCRIPTION

Dump the content of a grib GRIB file in different formats.

...

Multi-field support off. Turn off support for multiple fields in single grib GRIB message.


-T T | B | M | A

Message type. T->GTS, B->BUFR, M->METAR (Experimental),A->Any (Experimental). The input file is interpreted according to the message type.

...

Does not fail when the message has wrong length


-V

Version


-p key1,key2,...
Declaration of keys to dump. Only those keys are dumped (not the whole message).


-X offset

Input file offset in bytes. Processing of the input file will start from "offset".

...

Fast parsing option, only headers are loaded.

grib_dump examples

  1. To dump in a WMO documentation style with hexadecimal octet values (-H).

    Code Block
  2. > grib_dump -OH ../data/reduced_gaussian_model_level.grib1
    



  3. To add key aliases and type information.

    Code Block
  4. > grib_dump -OtaH ../data/reduced_gaussian_model_level.grib1
    



  5. To obtain all the key names (computed keys included) available in a grib file.

    Code Block
     
    >  grib_dump -D ../data/regular_latlon_surface.grib1