Usage: bufralter.pl [--data ] [--bufr_edition ] [--centre ] [--subcentre ] [--update_number ] [--category ] [--subcategory ] [--int_subcategory ] [--loc_subcategory ] [--master_table_version ] [--local_table_version ] [--year ] [--year_of_century ] [--month ] [--day ] [--hour ] [--minute ] [--second ] [--observed 0|1] [--compress 0|1] [--remove_sec2] [--remove_qc] [--outfile ] [--strict_checking n] [--tableformat ] [--tablepath ] [--verbose n] [--help] Options: --data 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 004005=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 to the given value (subtracting 1 from the existing value for 004004) --bufr_edition Set BUFR edition to . 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 Set originating centre to --subcentre Set originating subcentre to --update_number Set update sequence number to . Use the special value -1 to increment existing update sequence number, -2 to decrement it --category Set data category to --subcategory Set data sub-category to --int_subcategory Set international data sub-category to --loc_subcategory Set local data sub-category to --master_table_version Set master table version number to --local_table_version Set local table version number to -- Set (= year | year_of_century | month | day | hour | minute | second) in section 1 to --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 control information, i.e. remove all descriptors from 222000 on --outfile Will print to 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. --tableformat Currently supported are BUFRDC and ECCODES (default is BUFRDC) --tablepath Set path to BUFR tables (overrides $ENV{BUFR_TABLES}) --verbose n Set verbose level to n, 0<=n<=6 (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). For tableformat ECCODES, se for more info on how to set "--tablepath" (or BUFR_TABLES).