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 Default mode is structure.
-O
Octet mode. WMO documentation style dump.
-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/i}]{=/!=}value,key[:{s/d/i}]{=/!=}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), a double (key:d) or an integer (key:i) type can be specified. Default type is string. In the value you can also use the forward-slash character '/' to specify an OR condition (i.e. a logical disjunction)
-s key[:{s/d/i}]=value,key[:{s/d/i}]=value,...
Key/values to set. For each key a string (key:s), a double (key:d) or an integer (key:i) 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
To dump BUFR messages into a flat JSON format.
Code Block > bufr_dump -jf ../data/bufr/aaen_55.bufr
To dump BUFR messages into a structured JSON format.
Code Block > bufr_dump -js ../data/bufr/aaen_55.bufr
To dump in a WMO documentation style with hexadecimal octet values (-H).
Code Block > bufr_dump -OH ../data/bufr/syno_1.bufr
To add key type information (-t).
Code Block > bufr_dump -OtH ../data/bufr/syno_1.bufr