Differences
This shows you the differences between two versions of the page.
bufr.pm:start [2010-10-18 13:33:55] pals corrected typo |
bufr.pm:start [2022-05-31 09:29:31] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Geo::BUFR ====== | ||
- | |||
- | [[http:// | ||
- | |||
- | Below you will find a toolkit of BUFR handling programs used actively at met.no, with examples of use and complete source code. Hopefully this will demonstrate the power of Geo::BUFR as well as providing potential users of Geo::BUFR an easy start. The first 5 programs are included in the CPAN Geo::BUFR distribution (will be installed in the '' | ||
- | |||
- | You might want to change the value of the following constants in source code: DEFAULT_TABLE_PATH, | ||
- | |||
- | 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). If the BUFR message is contained in a WMO bulletin, will also print WMO ahl. | ||
- | |||
- | [[bufrread.pl|source code]] | ||
- | |||
- | [[bufrread_ex1|Example]]: | ||
- | |||
- | [[bufrread_help|Example]]: | ||
- | |||
- | [[bufrread_multi|Example]]: | ||
- | |||
- | [[bufrread_param|Example]]: | ||
- | |||
- | [[bufrread_filter|Example]]: | ||
- | |||
- | [[bufrread_code|Example]]: | ||
- | |||
- | [[bufrread_bitmap|Example]]: | ||
- | |||
- | [[bufrread_associated|Example]]: | ||
- | |||
- | [[bufrread_all_operators|Example]]: | ||
- | |||
- | [[bufrread_strict_checking|Example]]: | ||
- | |||
- | ===== bufrresolve.pl ===== | ||
- | |||
- | Displays information in BUFR tables. | ||
- | |||
- | [[bufrresolve_source|source code]] | ||
- | |||
- | [[bufrresolve_ex1|Example]]: | ||
- | |||
- | [[bufrresolve_help|Example]]: | ||
- | |||
- | [[bufrresolve_309052|Example]]: | ||
- | |||
- | [[bufrresolve_partial|Example]]: | ||
- | |||
- | [[bufrresolve_simple|Example]]: | ||
- | |||
- | [[bufrresolve_noexpand|Example]]: | ||
- | |||
- | [[bufrresolve_code|Example]]: | ||
- | |||
- | [[bufrresolve_flag|Example]]: | ||
- | |||
- | ===== bufrencode.pl ===== | ||
- | |||
- | Encode a BUFR message based on data and metadata text files. | ||
- | |||
- | [[bufrencode_source|source code]] | ||
- | |||
- | [[bufrencode_ex1|Example]]: | ||
- | |||
- | [[bufrencode_help|Example]]: | ||
- | |||
- | [[bufrencode_ex2|Example]]: | ||
- | |||
- | ===== bufr_reencode.pl ===== | ||
- | |||
- | Encode BUFR message(s) based on a text file matching what you would get by running bufrread.pl on the resulting BUFR file. This might be a handy alternative to bufrencode.pl for encoding new BUFR messages: start with a similar BUFR message you know is correctly formatted, run bufrread.pl on this, edit the output as desired, and using this as input to bufr_reencode.pl. | ||
- | |||
- | [[bufr_reencode_source|source code]] | ||
- | |||
- | [[bufr_reeencode_ex1|Example]]: | ||
- | |||
- | [[bufr_reencode_help|Example]]: | ||
- | |||
- | [[bufr_reencode_ex2|Example]]: | ||
- | |||
- | |||
- | ===== bufralter.pl ===== | ||
- | |||
- | bufralter.pl provides an even easier way to do some basic manipulation of BUFR messages than does bufr_reencode.pl (although much more restricted in what changes are possible). Besides, bufralter.pl has the nice feature of not touching the text between the BUFR messages. This might be handy if you for example have a file with WMO bulletins and want to do some changes in the BUFR messages without affecting or losing the WMO bulletin envelopes. | ||
- | |||
- | [[bufralter.pl_source|source code]] | ||
- | |||
- | [[bufralter.pl_ex1|Example]]: | ||
- | |||
- | [[bufralter.pl_help|Example]]: | ||
- | |||
- | [[bufralter.pl_synop|Example]]: | ||
- | |||
- | ===== bufrdump.pl ===== | ||
- | |||
- | A BUFR toolkit wouldn' | ||
- | |||
- | The parameters are dumped in a '' | ||
- | |||
- | So far only dumping of BUFR SYNOP and BUFR TEMP has been implemented. More observation types are likely to be included in the future. | ||
- | |||
- | [[bufrdump.pl_source|source code]] | ||
- | |||
- | [[bufrdump.pl_ex1|Example]]: | ||
- | |||
- | [[bufrdump.pl_help|Example]]: | ||
- | |||
- | [[bufrdump.pl_syno|Example]]: | ||
- | |||
- | [[bufrdump.pl_param|Example]]: | ||
- | |||
- | [[bufrdump.pl_csv|Example]]: | ||
- | |||
- | [[bufrdump.pl_filter|Example]]: | ||
- | |||
- | [[bufrdump.pl_sort|Example]]: | ||
- | |||
- | [[bufrdump.pl_sort_on|Example]]: | ||
- | |||
- | [[bufrdump.pl_syno2|Example]]: | ||
- | |||
- | [[bufrdump.pl_transform|Example]]: | ||
- | |||
- | |||
- | [[bufrdump.pl_temp|Example]]: | ||
- | |||
- | |||
- | ===== Extracting from BUFR tables ===== | ||
- | |||
- | [[# | ||