Dump the content of a BUFR file in different formats.
bufr_dump [options] file file ...
JSON mode (JavaScript Object Notation). Options: s->structure, f->flat (only data), a->all attributes Default mode is structure.
Decoding dump. Provides instructions to decode the input message. Options: filter -> filter instructions file to decode input BUFR fortran -> fortran program to decode the input BUFR python -> python script to decode the input BUFR C -> C program to decode the input BUFR Default mode is filter.
Encoding dump. Provides instructions to create the input message. Options: filter -> filter instructions file to encode input BUFR fortran -> fortran program to encode the input BUFR python -> python script to encode the input BUFR C -> C program to encode the input BUFR Default mode is filter.
Octet mode. WMO documentation style dump.
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), 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)
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.
Does not fail when the message has wrong length
Version.
To dump BUFR messages into a flat JSON format.
> bufr_dump -jf ../data/bufr/aaen_55.bufr |
To dump BUFR messages into a structured JSON format. Note: This is the default if you omit the -j option
> bufr_dump -js ../data/bufr/aaen_55.bufr |
To dump a Fortran program with instructions to create (encode) the input message.
> bufr_dump -Efortran ../data/bufr/aaen_55.bufr > encode.aaen_55.f90 |
> bufr_compare ../data/bufr/aaen_55.bufr outfile.bufr |
To dump a Python program with instructions to decode the input message.
> bufr_dump -Dpython ../data/bufr/aaen_55.bufr > decode.aaen_55.py |
To dump in a WMO documentation style with hexadecimal octet values (-H).
> bufr_dump -OH ../data/bufr/syno_1.bufr |
To add key type information (-t).
> bufr_dump -OtH ../data/bufr/syno_1.bufr |