bufr.pm:bufralter.pl_help

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
bufr.pm:bufralter.pl_help [2010-03-31 14:34:17]
pals created
bufr.pm:bufralter.pl_help [2022-05-31 09:29:31] (current)
Line 2: Line 2:
 Usage: Usage:
       bufralter.pl <bufr file>       bufralter.pl <bufr file>
-          [--data <descriptor=value>]+          [--data <descriptor=value[+]>]
           [--bufr_edition <value>]           [--bufr_edition <value>]
           [--centre <value>]           [--centre <value>]
Line 26: Line 26:
           [--outfile <file>]           [--outfile <file>]
           [--strict_checking n]           [--strict_checking n]
 +          [--tableformat <BUFRDC|ECCODES>]
           [--tablepath <path to BUFR tables>]           [--tablepath <path to BUFR tables>]
           [--verbose n]           [--verbose n]
Line 31: Line 32:
  
 Options: Options:
-       --data <descriptor=value> Set data value in section 4 for descriptor. +       --data <descriptor=value[+]> Set (first) data value in section 4 for 
-                        Use 'missing' to set a missing value and repeat the +                        descriptor. A trailing '+' means that the value 
-                        option if more sequence descriptors are to be set. +                        should be added to existing value. Use 'missing' 
-                        Example: --value 004005=10 --value 012101=missing +                        to set a missing value. Repeat the option if more 
-                        This will set the data value for first (and only first!) +                        sequence descriptors are to be set. Example: 
-                        occurrence of these descriptors in every subset and +                        --data 004004=-1+ --data 004005=50 --data 
-                        every message in <bufr file> to the given value.+                        012101=missing This will set the data value for 
 +                        first (and only first!) occurrence of these 
 +                        descriptors in every subset and every message in 
 +                        <bufr file> to the given value (subtracting 1 from 
 +                        the existing value for 004004)
        --bufr_edition <value> Set BUFR edition to <value>. If the new edition        --bufr_edition <value> Set BUFR edition to <value>. If the new edition
                         involves some metadata not present in the old edition,                         involves some metadata not present in the old edition,
Line 63: Line 68:
        --compress 0|1   Set compression in section 3 to 0 or 1        --compress 0|1   Set compression in section 3 to 0 or 1
        --remove_sec2    Remove optional section 2 if present        --remove_sec2    Remove optional section 2 if present
-       --remove_qc      Remove all quality information,+       --remove_qc      Remove all quality control information,
                         i.e. remove all descriptors from 222000 on                         i.e. remove all descriptors from 222000 on
        --outfile <filename>        --outfile <filename>
Line 73: Line 78:
                                  Nothing more in this message will be                                  Nothing more in this message will be
                                  decoded/encoded.                                  decoded/encoded.
 +       --tableformat    Currently supported are BUFRDC and ECCODES (default is BUFRDC)
        --tablepath <path to BUFR tables>        --tablepath <path to BUFR tables>
-                        Set path to BUFR tables (overrides ENV{BUFR_TABLES}) +                        Set path to BUFR tables (overrides $ENV{BUFR_TABLES}) 
-       --verbose n      Set verbose level to n, 0<=n<=(default 0). Verbose+       --verbose n      Set verbose level to n, 0<=n<=(default 0). Verbose
                         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 86: Line 92:
     the environment variable BUFR_TABLES to the directory where your BUFR     the environment variable BUFR_TABLES to the directory where your BUFR
     tables are located (unless the default path provided by bufralter.pl     tables are located (unless the default path provided by bufralter.pl
-    works for you).+    works for you). For tableformat ECCODES, se 
 +    <http://search.cpan.org/dist/Geo-BUFR/lib/Geo/BUFR.pm#BUFR-TABLE-FILES> 
 +    for more info on how to set "--tablepath" (or BUFR_TABLES). 
 </file> </file>
  
  • bufr.pm/bufralter.pl_help.1270046057.txt.gz
  • Last modified: 2022-05-31 09:23:11
  • (external edit)