bufr.pm:start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| bufr.pm:start [2011-05-30 13:03:14] – pals | bufr.pm:start [2026-04-01 08:17:50] (current) – [bufrextract.pl] pals | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Geo::BUFR ====== | ====== Geo::BUFR ====== | ||
| - | [[http://search.cpan.org/dist/Geo-BUFR/|Geo:: | + | [[https://metacpan.org/pod/Geo::BUFR|Geo:: |
| - | 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 '' | + | Below you will find a toolkit of BUFR handling programs used actively at MET Norway, with examples of use and complete source code. The first 5 programs are included in the CPAN Geo::BUFR distribution (will be installed in the '' |
| 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. | 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. | ||
| - | Notes to users outside | + | Notes to users outside |
| * Before trying to install Geo::BUFR you should check that you have Perl installed. | * Before trying to install Geo::BUFR you should check that you have Perl installed. | ||
| - | * Installing Geo::BUFR will not install any BUFR tables. When invoking the utility programs you should use the option '' | + | * Installing Geo::BUFR will not install any BUFR tables. When invoking the utility programs you should use the option '' |
| + | |||
| ===== bufrread.pl ===== | ===== 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. | + | Decodes and prints section 0-4 in BUFR messages in input file(s). If the BUFR message is contained in a GTS bulletin, will also print AHL (Abbreviated Header Line). |
| [[bufrread.pl|source code]] | [[bufrread.pl|source code]] | ||
| Line 39: | Line 39: | ||
| [[bufrread_strict_checking|Example]]: | [[bufrread_strict_checking|Example]]: | ||
| + | |||
| + | [[bufrread_ahl|Example]]: | ||
| ===== bufrresolve.pl ===== | ===== bufrresolve.pl ===== | ||
| Line 58: | Line 60: | ||
| [[bufrresolve_noexpand|Example]]: | [[bufrresolve_noexpand|Example]]: | ||
| - | [[bufrresolve_code|Example]]: | + | [[bufrresolve_code|Example]]: |
| [[bufrresolve_flag|Example]]: | [[bufrresolve_flag|Example]]: | ||
| + | |||
| + | [[bufrresolve_bufrtable|Example]]: | ||
| + | |||
| + | [[bufrresolve_tableformat|Example]]: | ||
| + | |||
| + | [[bufrresolve_verbose|Example]]: | ||
| + | |||
| ===== bufrencode.pl ===== | ===== bufrencode.pl ===== | ||
| Line 89: | Line 98: | ||
| ===== bufralter.pl ===== | ===== 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 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 GTS bulletins and want to do some changes in the BUFR messages without affecting or losing the GTS bulletin envelopes. |
| [[bufralter.pl_source|source code]] | [[bufralter.pl_source|source code]] | ||
| Line 98: | Line 107: | ||
| [[bufralter.pl_synop|Example]]: | [[bufralter.pl_synop|Example]]: | ||
| + | |||
| + | ===== bufrextract.pl ===== | ||
| + | |||
| + | Extract (raw) BUFR messages and/or AHLs from file(s). | ||
| + | |||
| + | [[bufrextract.pl_source|source code]] | ||
| + | |||
| + | [[bufrextract.pl_ex1|Example]]: | ||
| + | |||
| + | [[bufrextract.pl_help|Example]]: | ||
| + | |||
| + | [[bufrextract.pl_ahl|Example]]: | ||
| + | |||
| + | [[bufrextract.pl_onlyahl|Example]]: | ||
| + | |||
| + | [[bufrextract.pl_ahl_onlyahl|Examples]]: | ||
| + | |||
| + | [[bufrextract.pl_filter|Example]]: | ||
| + | |||
| ===== bufrdump.pl ===== | ===== bufrdump.pl ===== | ||
| - | A BUFR toolkit wouldn' | + | A BUFR toolkit wouldn' |
| - | The parameters are dumped in a '' | + | The parameters are dumped in a '' |
| - | So far only dumping of BUFR SYNOP, | + | So far dumping of BUFR SYNOP, TEMP, AMDAR and BUOY have been implemented |
| [[bufrdump.pl_source|source code]] | [[bufrdump.pl_source|source code]] | ||
| Line 127: | Line 155: | ||
| [[bufrdump.pl_syno2|Example]]: | [[bufrdump.pl_syno2|Example]]: | ||
| - | [[bufrdump.pl_transform|Example]]: | + | [[bufrdump.pl_transform|Example]]: |
| - | [[bufrdump.pl_syno3|Example]]: | + | [[bufrdump.pl_syno3|Example]]: |
| [[bufrdump.pl_temp|Example]]: | [[bufrdump.pl_temp|Example]]: | ||
| [[bufrdump.pl_amdar|Example]]: | [[bufrdump.pl_amdar|Example]]: | ||
| + | |||
| + | [[bufrdump.pl_buoy1|Example]]: | ||
| + | |||
| + | [[bufrdump.pl_buoy2|Example]]: | ||
| ===== Extracting from BUFR tables ===== | ===== Extracting from BUFR tables ===== | ||
| Line 139: | Line 171: | ||
| [[# | [[# | ||
| + | |||
| + | ===== Merging BUFR TEMP ===== | ||
| + | |||
| + | BUFR TEMP should according to WMO regulations be issued on the GTS in one IUK-bulletin containing data up to 100 hPa, and one IUS-bulletin containing the whole sounding. Some centres, however, reformat TAC TEMP part A-D part for part into 4 different BUFR TEMP bulletins, which are very cumbersome to handle in data processing. Therefore [[mergebufrtemp.pl]] was created in the hope that some data producers will find this program useful for doing the necessary merging of (BUFR) TEMP parts. Example of use: < | ||
| + | |||
| + | |||
| + | ===== Sorting BUFR TEMP ===== | ||
| + | |||
| + | According to B/C 25.7: " | ||
| + | |||
| + | Therefore [[sortbufrtemp.pl]] was created to do the necessary sorting of pressure levels and possible merging of duplicate levels (i.e. pressure levels having same value for pressure, time and position coordinates). | ||
| + | |||
| + | [[sortbufrtemp.pl_help|Example]]: | ||
bufr.pm/start.1306760594.txt.gz · Last modified: (external edit)
