Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
bufr.pm:bufr_reencode_help [2019-02-16 07:40:44] pals |
bufr.pm:bufr_reencode_help [2022-05-31 09:29:31] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
< | < | ||
Usage: | Usage: | ||
- | | + | |
- | [--outfile <file to print encoded BUFR message to>] | + | |
- | [--strict_checking n] | + | [--width n] |
- | [--tableformat < | + | [--strict_checking n] |
- | [--tablepath <path to BUFR tables> | + | |
- | [--verbose n] | + | |
- | [--help] | + | |
+ | | ||
Options: | Options: | ||
- | | + | Bufr_reencode.pl will create |
- | the same as consulting perldoc bufrencode.pl | + | |
- | | + | |
- | instead of STDOUT | + | |
- | | + | |
- | n=1 Issue warning if (recoverable) error in | + | |
- | BUFR format | + | |
- | n=2 (default) Croak if (recoverable) error in BUFR format. | + | |
- | Nothing more in this message will be encoded. | + | |
- | | + | |
- | | + | |
- | If used, will set path to BUFR tables. If not | + | |
- | set, will fetch tables | + | |
- | | + | |
- | will use DEFAULT_TABLE_PATH_< | + | |
- | hard coded in source code. | + | |
- | | + | |
- | Verbose output is sent to STDOUT, so ought to | + | |
- | be combined with option --outfile | + | |
- | Required options: | + | Normal |
- | | + | |
- | For the metadata file, use this as a prototype and change the values as | + | |
- | desired: | + | |
- | BUFR_EDITION | + | |
- | MASTER_TABLE | + | |
- | CENTRE | + | |
- | SUBCENTRE | + | |
- | UPDATE_SEQUENCE_NUMBER | + | |
- | OPTIONAL_SECTION | + | |
- | DATA_CATEGORY | + | |
- | INT_DATA_SUBCATEGORY | + | |
- | LOC_DATA_SUBCATEGORY | + | |
- | MASTER_TABLE_VERSION | + | |
- | LOCAL_TABLE_VERSION | + | |
- | YEAR 2008 | + | |
- | MONTH 9 | + | |
- | DAY 1 | + | |
- | HOUR 6 | + | |
- | MINUTE | + | |
- | SECOND | + | |
- | OBSERVED_DATA | + | |
- | COMPRESSED_DATA | + | |
- | DESCRIPTORS_UNEXPANDED | + | |
- | | + | |
- | LOC_DATA_SUBCATEGORY, | + | |
- | and YEAR_OF_CENTURY (the order of lines doesn' | + | |
- | | + | |
- | For the data file, use the same format | + | Edit file bufr.decoded |
- | the generated BUFR message | + | |
- | bufrread.pl <bufr file> | + | Options (may be abbreviated, |
- | or if you use bufrread.pl with "--width n", replace 31 with n+16. For | + | |
- | | + | |
- | + | | |
- | 1 | + | bufrread.pl with option |
- | | + | |
- | 3 006002 | + | n=1 Issue warning if (recoverable) error in |
- | 4 004001 | + | BUFR format |
- | ... | + | n=2 (default) Croak if (recoverable) error in BUFR format. |
- | + | Nothing more in this message will be encoded. | |
- | Every time a new line starting with the number 1 is met, a new subset | + | --verbose n Set verbose level to n, 0< |
- | | + | Verbose output |
- | are ignored. | + | |
- | + | --tableformat | |
- | For missing values, use ' | + | --tablepath <path to BUFR tables> |
- | descriptor. | + | If used, will set path to BUFR tables. If not set, |
- | + | will fetch tables from the environment variable | |
- | | + | BUFR_TABLES, or if this is not set: will use |
- | descriptors 22[2345]000 and 23[2567]000 should | + | DEFAULT_TABLE_PATH_< |
- | | + | --help |
- | + | | |
- | 160 011002 | + | |
- | 222000 | + | |
- | | + | |
- | | + | |
- | ... | + | |
- | + | ||
- | To encode a NIL subset, all delayed replication factors should be | + | |
- | nonzero, | + | |
- | | + | |
- | + | ||
- | Options may be abbreviated, | + | |
</ | </ |