Usage:
      bufralter.pl <bufr file>
          [--data <descriptor=value[+]>]
          [--bufr_edition <value>]
          [--centre <value>]
          [--subcentre <value>]
          [--update_number <value>]
          [--category <value>]
          [--subcategory <value>]
          [--int_subcategory <value>]
          [--loc_subcategory <value>]
          [--master_table_version <value>]
          [--local_table_version <value>]
          [--year <value>]
          [--year_of_century <value>]
          [--month <value>]
          [--day <value>]
          [--hour <value>]
          [--minute <value>]
          [--second <value>]
          [--observed 0|1]
          [--compress 0|1]
          [--remove_sec2]
          [--remove_qc]
          [--outfile <file>]
          [--strict_checking n]
          [--tablepath <path to BUFR tables>]
          [--verbose n]
          [--help]

Options:
       --data <descriptor=value[+]> Set (first) data value in section 4 for
                        descriptor. A trailing '+' means that the value
                        should be added to existing value. Use 'missing'
                        to set a missing value. Repeat the option if more
                        sequence descriptors are to be set. Example:
                        --data 004004=-1+ --data 00405=50 --data
                        012101=missing This will set the data value for
                        first (and only first!) occurrence of these 3
                        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
                        involves some metadata not present in the old edition,
                        some educated guesses for these new metadata are made,
                        but you should also consider setting these new metadata
                        explicitely
       --centre <value> Set originating centre to <value>
       --subcentre <value>
                        Set originating subcentre to <value>
       --update_number <value>
                        Set update sequence number to <value>. Use the special
                        value -1 to increment existing update sequence number,
                        -2 to decrement it
       --category <value> Set data category to <value>
       --subcategory <value> Set data sub-category to <value>
       --int_subcategory <value> Set international data sub-category to <value>
       --loc_subcategory <value> Set local data sub-category to <value>
       --master_table_version <value>
                        Set master table version number to <value>
       --local_table_version <value>
                        Set local table version number to <value>
       --<time_var> <value> Set <time_var> (= year | year_of_century | month |
                        day | hour | minute | second) in section 1 to <value>
       --observed 0|1   Set observed data 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_qc      Remove all quality information,
                        i.e. remove all descriptors from 222000 on
       --outfile <filename>
                        Will print to <filename> instead of STDOUT
       --strict_checking n   n=0 (default) Disable strict checking of BUFR format
                             n=1 Issue warning if (recoverable) error in
                                 BUFR format
                             n=2 Croak if (recoverable) error in BUFR format.
                                 Nothing more in this message will be
                                 decoded/encoded.
       --tablepath <path to BUFR tables>
                        Set path to BUFR tables (overrides $ENV{BUFR_TABLES})
       --verbose n      Set verbose level to n, 0<=n<=3 (default 0). Verbose
                        output is sent to STDOUT, so ought to be combined with
                        option --outfile
       --help           Display Usage and explain the options used. Almost
                        the same as consulting perldoc bufralter.pl

    Options may be abbreviated, e.g. "--he" or "-he" for "--help".

    To avoid having to use the "--tablepath" option, you are adviced to set
    the environment variable BUFR_TABLES to the directory where your BUFR
    tables are located (unless the default path provided by bufralter.pl
    works for you).
 
bufr.pm/bufralter.pl_help.txt · Last modified: 2010/04/05 08:53 by pals
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki