Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
bufr.pm:bufrread_help [2010-06-14 14:17:26] pals |
bufr.pm:bufrread_help [2022-05-31 09:29:31] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
Usage: | Usage: | ||
bufrread.pl <bufr file(s)> | bufrread.pl <bufr file(s)> | ||
+ | [--ahl < | ||
+ | [--all_operators] | ||
+ | [--bitmap] | ||
[--codetables] | [--codetables] | ||
[--data_only] | [--data_only] | ||
- | [--param < | ||
[--filter <filter file>] | [--filter <filter file>] | ||
- | [--bitmap] | + | [--help] |
+ | [--nodata] | ||
[--noqc] | [--noqc] | ||
+ | [--on_error_stop] | ||
+ | [--optional_section] | ||
[--outfile < | [--outfile < | ||
- | [--optional_section] | + | [--param < |
- | [--width n] | + | |
[--strict_checking n] | [--strict_checking n] | ||
- | [--all_operators] | + | [--tableformat < |
[--tablepath <path to BUFR tables>] | [--tablepath <path to BUFR tables>] | ||
[--verbose n] | [--verbose n] | ||
- | [--help] | + | [--width n] |
Options: | Options: | ||
+ | --ahl < | ||
+ | | ||
+ | | ||
+ | | ||
| | ||
is [CODE TABLE] or [FLAG TABLE] | is [CODE TABLE] or [FLAG TABLE] | ||
| | ||
- | | ||
- | | ||
| | ||
| | ||
- | --bitmap | + | --help |
+ | more info you might prefer to consult perldoc bufrread.pl | ||
+ | | ||
| | ||
(or any descriptors following 222000) | (or any descriptors following 222000) | ||
+ | | ||
| | ||
Will print to < | Will print to < | ||
| | ||
| | ||
- | --width n Set width of field used for data values to n characters | + | --param < |
- | (default is 15) | + | Display parameters with descriptors in < |
| | ||
n=1 Issue warning if (recoverable) error in | n=1 Issue warning if (recoverable) error in | ||
BUFR format | BUFR format | ||
n=2 Croak if (recoverable) error in BUFR format. | n=2 Croak if (recoverable) error in BUFR format. | ||
- | | + | |
- | --all_operators Show all operator descriptors when printing section 4 | + | --tableformat |
| | ||
Set path to BUFR tables (overrides ENV{BUFR_TABLES}) | Set path to BUFR tables (overrides ENV{BUFR_TABLES}) | ||
- | | + | |
show the tables loaded. | show the tables loaded. | ||
- | --help Display Usage and explain the options | + | --width n Set width of field used for data values to n characters |
- | more info you might prefer to consult perldoc bufrread.pl | + | (default is 15) |
Options may be abbreviated, | Options may be abbreviated, | ||
To avoid having to use the " | To avoid having to use the " | ||
- | the invironment | + | the environment |
- | tables are located (unless the default path provided by bufralter.pl | + | tables are located (unless the default path provided by bufrread.pl |
- | works for you). | + | works for you). For tableformat ECCODES, se |
+ | < | ||
+ | for more info on how to set " | ||
+ | |||
+ | For option " | ||
+ | E.g. "--ahl " | ||
+ | CCCC=ENMI. This is the only case where a little knowledge of Perl might | ||
+ | possibly be required when using the utility programs included in | ||
+ | Geo::BUFR. | ||
- | | + | |
- | | + | |
- | | + | |
- | file> must contain all descriptors in <filter file>. | + | |
Using " | Using " | ||
Line 78: | Line 94: | ||
equal to 6 or 7. If there is no value line after a descriptor line, it | equal to 6 or 7. If there is no value line after a descriptor line, it | ||
is enough that the observation contains the descriptor(s), | is enough that the observation contains the descriptor(s), | ||
- | values are. So to extract all ship messages from a BUFR synop file, the | + | values are. So to extract all ship messages from a BUFR file, the filter |
- | | + | file should contain this single line only: |
D: 001011 | D: 001011 | ||
If an error occurs during decoding (typically because the required BUFR | If an error occurs during decoding (typically because the required BUFR | ||
- | table is missing or message is corrupt) the message is skipped, and the | + | table is missing or message is corrupt), the BUFR message is skipped |
- | | + | with an error message printed to STDERR, and processing then continues |
+ | with the next BUFR message. You can change this default behaviour, | ||
+ | | ||
</ | </ |