Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
bufr.pm:bufrdump.pl_help [2012-10-29 14:34:11] pals |
bufr.pm:bufrdump.pl_help [2022-05-31 09:29:31] (current) |
||
|---|---|---|---|
| Line 52: | Line 52: | ||
| Force observation type. If this option is not set, | Force observation type. If this option is not set, | ||
| will make an educated guess of observation type | will make an educated guess of observation type | ||
| - | based on metadata in section 1 of each BUFR | + | based on metadata in section 1 of each BUFR message |
| - | | + | |
| --tablepath <path to BUFR tables> | --tablepath <path to BUFR tables> | ||
| Set path to BUFR tables (overrides ENV{BUFR_TABLES}) | Set path to BUFR tables (overrides ENV{BUFR_TABLES}) | ||
| Line 71: | Line 70: | ||
| temperature to be printed for a BUFR SYNOP file, either supply | temperature to be printed for a BUFR SYNOP file, either supply | ||
| - | wmonr, | + | wmonr,nationalnr, |
| as argument to --params, or supply a < | as argument to --params, or supply a < | ||
| Line 77: | Line 76: | ||
| wmonr | wmonr | ||
| + | nationalnr | ||
| call_sign | call_sign | ||
| TA | TA | ||
| Line 97: | Line 97: | ||
| for example start like | for example start like | ||
| - | wmonr,call_sign,TA | + | wmonr; |
| - | 01001,,-1.5 | + | 01001;;;-1.5 |
| - | | + | |
| - | You can choose another delimiter than comma by use of option --delimiter | + | You can choose another delimiter than semicolon |
| - | | + | |
| Using --filter will decode only those observations that meet at least | Using --filter will decode only those observations that meet at least | ||
| Line 109: | Line 109: | ||
| filter file followed by a blank line, then comes the parameter criteria | filter file followed by a blank line, then comes the parameter criteria | ||
| which should match < | which should match < | ||
| - | where operator is one of =, !=, <, <=, > and >=. The parameter criteria | + | where operator is one of =, !=, =~, !~, <, <=, > and >=. What follows =~ |
| + | and !~ should be a Perl match regular expression. The parameter criteria | ||
| may be phrased as alternatives by separating them with ' | may be phrased as alternatives by separating them with ' | ||
| line. An example filter file is | line. An example filter file is | ||
| Line 128: | Line 129: | ||
| which decodes all observations with block number 01, two other specific | which decodes all observations with block number 01, two other specific | ||
| - | wmo stations and one specific ship, being manned | + | wmo stations and one specific ship, where stations |
| - | cloud cover different from 8 (but NN must be part of the message) | + | |
| - | | + | between 5 and 9.5 degrees Celsius, and contain |
| - | | + | |
| - | | + | |
| Another example: the filter file (starting with a blank line!) | Another example: the filter file (starting with a blank line!) | ||
| - | | + | |
| obstime >= ' | obstime >= ' | ||
| - | | + | |
| - | | + | |
| - | will print only those observations | + | will print only those ship observations |
| - | and having obstime larger or equal to the datetime given, and containing | + | |
| - | | + | |
| - | | + | |
| + | | ||
| For convenience, | For convenience, | ||