BUFR.pm

Bufr.pm is a CPAN module for BUFR decoding and encoding developed at the Norwegian Meteorological Institute (met.no).

Below is listed some programs using this module which are all developed and used actively at met.no, with examples of use and complete source code. Hopefully this will demonstrate the power of BUFR.pm as well as providing potential users of BUFR.pm an easy start.

A line consisting solely of three dots (...) in the examples of output from running the programs marks that a (not so interesting) part of the output has been left out.

bufrread.pl

Decodes and prints section 0-4 in BUFR messages in input file(s).

source code

Example: Executing bufrread.pl without arguments

Example: buffread.pl --help

Example: Processing a multisubset multimessage BUFR SYNOP file with no options set

Example: Processing a BUFR TEMP file with option --codetables set (to resolve code and flag values)

Example: Processing a file containing operators 222000 and 223000 with option --bitmap set (to display bimaped entities on same line)

Example: Processing a file containing associated fields and change scale and data width operators

Example: Same as above, but with option --all_operators set

Example: Processing a BUFR BUOY file with recoverable formatting errors with option --strict_checking set