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 [2014-05-28 14:33:50] 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] | ||
- | [--outfile < | + | [--on_error_stop] |
[--optional_section] | [--optional_section] | ||
- | [--width n] | + | [--outfile < |
+ | [--param < | ||
[--strict_checking n] | [--strict_checking n] | ||
- | [--on_error_stop] | + | [--tableformat < |
- | [--all_operators] | + | |
[--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 | ||
+ | --nodata | ||
| | ||
(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 | ||
Line 40: | Line 48: | ||
n=2 Croak if (recoverable) error in BUFR format. | n=2 Croak if (recoverable) error in BUFR format. | ||
| | ||
- | --on_error_stop Stop processing as soon as an error occurs during decoding | + | --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 bufrread.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. | ||
- | | + | |
- | | + | |
- | | + | |
Using " | Using " | ||
Line 79: | 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 |
- | | + | |
+ | | ||
</ | </ |