Versions Compared

Key

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

DESCRIPTION

Dump the content of a BUFR file in different formats.

USAGE

bufr_dump [options] file file ...

OPTIONS

...

JSON mode (JavaScript Object Notation). Options: s->structure, f->flat (only data), a->all attributes

...

Octet mode. WMO documentation style dump.

...

Debug mode.

...

Print all data values.

...

Print only some values.

...

Print type information.

...

Force. Force the execution not to fail on error.

...

Print octet content in hexadecimal format.

...

Dump aliases.

...

Where clause. Messages are processed only if they match all the key/value constraints. A valid constraint is of type key=value or key!=value. For each key a string (key:s) or a double (key:d) or a long (key:l) type can be specified. Default type is string.

...

Key/values to set. For each key a string (key:s) or a double (key:d) or a long (key:l) type can be defined. By default the native type is set.

...

Does not fail when the message has wrong length

...

Version.

bufr_dump examples

  1. To dump BUFR messages into a flat JSON format.

    Code Block
    > bufr_dump -jf ../data/bufr/aaen_55.bufr
    


  2. To dump BUFR messages into a structured JSON format.

    Code Block
    > bufr_dump -js ../data/bufr/aaen_55.bufr
    


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

    Code Block
    > bufr_dump -OH ../data/bufr/syno_1.bufr
    


  4. To add key type information (-t).

    Code Block
    > bufr_dump -OtH ../data/bufr/syno_1.bufr