You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 31 Next »

DESCRIPTION

Dump the content of a BUFR file in different formats.

USAGE

bufr_dump [options] file file ...

OPTIONS


-j s/f/a

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


-O

Octet mode. WMO documentation style dump.


-D

Debug mode.


-d

Print all data values.


-u

Print only some values.


-t

Print type information.


-f

Force. Force the execution not to fail on error.


-H

Print octet content in hexadecimal format.


-a

Dump aliases.


-w key[:{s/d/l}]{=/!=}value,key[:{s/d/l}]{=/!=}value,...

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.


-s key[:{s/d/l}]=value,key[:{s/d/l}]=value,...

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.


-7

Does not fail when the message has wrong length


-V

Version.

bufr_dump examples

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

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


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

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


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

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


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

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


  • No labels