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:bufralter.pl_source [2011-04-01 11:26:56] pals |
bufr.pm:bufralter.pl_source [2016-04-18 07:56:20] pals |
||
---|---|---|---|
Line 2: | Line 2: | ||
# | # | ||
- | # (C) Copyright 2010, met.no | + | # (C) Copyright 2010-2016 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 90: | Line 90: | ||
Geo:: | Geo:: | ||
} else { | } else { | ||
- | # If all else fails, use the libemos | + | # If all else fails, use the libbufr |
Geo:: | Geo:: | ||
} | } | ||
Line 102: | Line 102: | ||
$OUT = *STDOUT; | $OUT = *STDOUT; | ||
} | } | ||
+ | binmode($OUT); | ||
# Change input separator to ' | # Change input separator to ' | ||
Line 326: | Line 327: | ||
=pod | =pod | ||
+ | |||
+ | =encoding utf8 | ||
=head1 SYNOPSIS | =head1 SYNOPSIS | ||
Line 363: | Line 366: | ||
specified by the options provided. The modified file (text surrounding | specified by the options provided. The modified file (text surrounding | ||
the BUFR messages will not be affected) will be printed to STDOUT | the BUFR messages will not be affected) will be printed to STDOUT | ||
- | (unless C< | + | (unless C< |
- | will affect the content of optional sections if present. | + | |
Execute without arguments for Usage, with option C< | Execute without arguments for Usage, with option C< | ||
Line 408: | Line 410: | ||
| | ||
| | ||
- | | + | |
i.e. remove all descriptors from 222000 on | i.e. remove all descriptors from 222000 on | ||
| | ||
Line 420: | Line 422: | ||
| | ||
Set path to BUFR tables (overrides $ENV{BUFR_TABLES}) | Set path to BUFR tables (overrides $ENV{BUFR_TABLES}) | ||
- | | + | |
output is sent to STDOUT, so ought to be combined with | output is sent to STDOUT, so ought to be combined with | ||
option --outfile | option --outfile | ||
Line 439: | Line 441: | ||
=head1 COPYRIGHT | =head1 COPYRIGHT | ||
- | Copyright (C) 2010 met.no | + | Copyright (C) 2010-2016 MET Norway |
=cut | =cut | ||
+ | |||
</ | </ |