bufr.pm:start

This is an old revision of the document!


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.

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 options --all_operators and --data_only set

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

Displays information in BUFR tables.

source code

Example: Executing bufrresolve.pl without arguments (or with --help, for this program this amounts to the same)

Example: Executing bufrresolve.pl on a table D descriptor (309052)

Example: Same as above, but with option --partial

Example: Same as above, but with option --simple

Example: Executing bufrresolve.pl on a sequence of descriptors with option --noexpand

Example: Showing content of code table (option --code)

Example: Resolving flag value (option --flag)

Encode a BUFR message based on data and metadata text files.

source code

Example: Executing bufrencode.pl without arguments

Example: buffrencode.pl --help

Example: Encoding a 2 subset message

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • bufr.pm/start.1265106962.txt.gz
  • Last modified: 2022-05-31 09:23:11
  • (external edit)