Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
bufr.pm:bufrresolve_source [2019-02-16 07:15:21] pals |
bufr.pm:bufrresolve_source [2025-11-05 09:24:36] (current) pals |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| # | # | ||
| - | # (C) Copyright 2010-2019 MET Norway | + | # (C) Copyright 2010-2025 MET Norway |
| # | # | ||
| # This program is free software; you can redistribute it and/or modify | # This program is free software; you can redistribute it and/or modify | ||
| Line 34: | Line 34: | ||
| use constant DEFAULT_TABLE_PATH_BUFRDC => '/ | use constant DEFAULT_TABLE_PATH_BUFRDC => '/ | ||
| use constant DEFAULT_TABLE_PATH_ECCODES => '/ | use constant DEFAULT_TABLE_PATH_ECCODES => '/ | ||
| - | # Ought to be your most up-to-date B table | ||
| - | use constant DEFAULT_TABLE_BUFRDC => ' | ||
| - | use constant DEFAULT_TABLE_ECCODES => ' | ||
| # Parse command line options | # Parse command line options | ||
| Line 113: | Line 110: | ||
| # BUFR table file to use | # BUFR table file to use | ||
| - | my $table = $option{bufrtable} || | + | my $table = $option{bufrtable} || Geo:: |
| - | ($tableformat eq ' | + | |
| my $bufr = Geo:: | my $bufr = Geo:: | ||
| Line 240: | Line 236: | ||
| descriptor is redefined in later versions. So for convenience, | descriptor is redefined in later versions. So for convenience, | ||
| bufrresolve.pl uses a default table (adding option C< | bufrresolve.pl uses a default table (adding option C< | ||
| - | tell you which table, unless you use C< | + | show you the tables used). If this is the wrong table for your purpose |
| - | explicitely). If this is the wrong table for your purpose (most common | + | (most common case will be if the descriptor was added in a higher |
| - | case will be if the descriptor was added in a higher version than that | + | version than that of the default table), you should |
| - | of the default table), you definitely | + | C< |
| - | the appropriate table. | + | |
| - | + | ||
| - | =head1 NOTE ON --VERBOSE | + | |
| - | + | ||
| - | n > 1 in C< | + | |
| - | demanding an argument to C< | + | |
| - | or later someone would type C< | + | |
| - | by Perl would be interpreted as if the arguments were C<307080 000001 | + | |
| - | --verbose>, | + | |
| =head1 AUTHOR | =head1 AUTHOR | ||
| Line 260: | Line 247: | ||
| =head1 COPYRIGHT | =head1 COPYRIGHT | ||
| - | Copyright (C) 2010-2019 MET Norway | + | Copyright (C) 2010-2025 MET Norway |
| =cut | =cut | ||
| - | |||
| </ | </ | ||