Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
bufr.pm:bufrdump.pl_help [2011-09-16 08:24:49] pals |
bufr.pm:bufrdump.pl_help [2012-02-15 13:33:36] pals |
||
---|---|---|---|
Line 12: | Line 12: | ||
[--lon2 x2] | [--lon2 x2] | ||
[--lat2 x2] | [--lat2 x2] | ||
- | [--obstype < | + | [--obstype < |
[--tablepath <path to BUFR tables>] | [--tablepath <path to BUFR tables>] | ||
[--help] | [--help] | ||
Line 25: | Line 25: | ||
the CSV (comma separated values) format | the CSV (comma separated values) format | ||
--sort | --sort | ||
- | first stations with wmonr, then stations with call sign, | + | first stations with wmonr, then stations with nationalnr, |
- | buoy_id or aircraft (others left out) | + | |
--sort_on < | --sort_on < | ||
values of < | values of < | ||
Line 46: | Line 46: | ||
--lat2 y2 | --lat2 y2 | ||
x1,y1,x2,y2 should be decimal degrees | x1,y1,x2,y2 should be decimal degrees | ||
- | --obstype < | + | --obstype < |
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 based | + | will make an educated guess of observation type |
- | 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 102: | Line 103: | ||
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 < | ||
- | is one of =, !=, <, <=, > and >=. An example filter file is | + | is one of =, !=, <, <=, > and >=. The parameter criteria may be phrased |
+ | as alternatives by separating them with ' | ||
+ | | ||
D: 001001 I2.2 | D: 001001 I2.2 | ||
Line 125: | Line 128: | ||
ignored. | ignored. | ||
- | Another example: the simple | + | Another example: the filter file (starting with a blank line!) |
wmonr | wmonr | ||
+ | obstime >= ' | ||
+ | RR_1 | RR_12 | RR_24 | ||
+ | TA < -30 | TA > 30 | ||
- | will print only those observations containing a wmonr (skipping ships). | + | will print only those observations containing a wmonr (skipping ships, |
+ | and having obstime larger or equal to the datetime given, and containing | ||
+ | precipitation for 1, 12 or 24 hours, and having temperature below minus | ||
+ | 30 or above plus 30 degrees Celsius. | ||
To avoid the need of creating a filter file when observations for some | To avoid the need of creating a filter file when observations for some | ||
few stations are requested, you can provide the stations in a comma | few stations are requested, you can provide the stations in a comma | ||
- | separated list after option --station. | + | separated list after option --station. |
--station wmonr=01001, | --station wmonr=01001, | ||
+ | --station nationalnr=614_0050410003, | ||
--station call_sign=LF5U | --station call_sign=LF5U | ||
--station buoyid=64607, | --station buoyid=64607, | ||
Line 141: | Line 151: | ||
You cannot mix different kinds of stations this way (before ' | You cannot mix different kinds of stations this way (before ' | ||
- | choose either wmonr, call_sign, buoy_id or aircraft). Note also that | + | choose either wmonr, nationalnr, call_sign, buoy_id or aircraft). Note |
- | providing the stations in the BUFR descriptor part (first part) of the | + | |
- | | + | |
- | | + | |
- | | + | |
- | parameters in filter file, then the requested stations in station list. | + | |
+ | | ||
The --transform option is provided mainly to be able to use other units | The --transform option is provided mainly to be able to use other units | ||
Line 169: | Line 180: | ||
to be applied for sky not all covered by clouds, you should use NN != | to be applied for sky not all covered by clouds, you should use NN != | ||
100 instead of NN != 8 in filter file. | 100 instead of NN != 8 in filter file. | ||
+ | |||
+ | The --obstype option might be handy in some special cases, like when you | ||
+ | are interested only in the surface part of oceanographic data (then use | ||
+ | ' | ||
+ | high resolution radiosonde data (then use ' | ||
+ | when data category and/or data sub-category in the BUFR messages have | ||
+ | unusual values. | ||
</ | </ |