User Tools

Site Tools


bufr.pm:bufrextract.pl_help
Usage:
      bufrextract.pl <bufr file(s)>
          [--ahl <ahl_regexp>]
          [--only_ahl] | [--without_ahl]
          [--outfile <filename>]
          [--reuse_ahl n]
          [--help]
          [--verbose n]

Options:
       --ahl <ahl_regexp> Extract BUFR messages and/or AHLs with AHL
                          matching <ahl_regexp> only
       --only_ahl         Extract AHLs only
       --without_ahl      Extract BUFR messages only
       --outfile <filename>
                          Will print to <filename> instead of STDOUT
       --reuse_ahl n  n=0 (default) AHL is considered belonging to a BUFR message
                          only if immediately preceding
                      n=1 When filtering using --ahl: Reuse last AHL found if current
                          BUFR message has no immediately preceding AHL
       --help             Display Usage and explain the options used. For even
                          more info you might prefer to consult perldoc bufrextract.pl
       --verbose n        Set verbose level to n, 0<=n<=6 (default 0)

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

    For option "--ahl" the <ahl_regexp> should be a Perl regular expression.
    E.g. "--ahl 'ISS... ENMI'" will decode only BUFR SHIP (ISS) from
    CCCC=ENMI.

    If the BUFR file(s) are known to consist solely of GTS bulletins, you
    might consider setting "--reuse 1" when applying "--ahl", in order to
    extract all (and not only the first) BUFR messages in multi message
    bulletins. Such bulletins are very rare nowadays, however, and see also
    the "CAVEAT" for more on this option. Note that the corresponding AHL is
    still extracted (and printed) only once.

    No bufrtables are needed for running bufrextract.pl, since section 4 in
    BUFR message will not be decoded (which also speeds up execution quite a
    bit).
bufr.pm/bufrextract.pl_help.txt · Last modified: 2016-12-02 08:53:51 by pals