Provided by: dballe_9.3-2_amd64 bug

NAME

       dbamsg - Work with encoded meteorological data

SYNOPSIS

       dbamsg [command] [options] [args...]

DESCRIPTION

       Examine,  dump  and convert files containing meteorological data. It supports observations
       encoded in BUFR or CREX formats.

       dbamsg always requires a non-switch argument, that indicates what is  the  operation  that
       should be performed:

       help
              Print a help summary.

       help manpage
              Print this manpage.

       scan [options] [filter] filename [filename [...]]
              Summarise the contents of a file with meteorological data.

       head [options] [filter] filename [filename [...]]
              Dump the contents of the header of a file with meteorological data.

       dump [options] [filter] filename [filename [...]]
              Dump the contents of a file with meteorological data.

       cat [options] [filter] filename [filename [...]]
              Dump the raw data of a file with meteorological data.

       bisect [options] --test=testscript filename
              Bisect  filename  and  output  the  minimum  subsequence found for which testscript
              fails..  Run testscript passing parts of filename on its  stdin  and  checking  the
              return code.  Then divide the input in half and try on each half.  Keep going until
              testscript does not fail in any portion of the file.  Output to stdout the smallest
              portion  for which testscript fails.  This is useful to isolate the few messages in
              a file that cause problems.

       convert [options] [filter] filename [filename [...]]
              Convert meteorological data between different formats.

       compare [options] filename1 [filename2]
              Compare two files with meteorological data.

       makebufr [options] filename [filename1 [...]]]
              Read a simple description of a BUFR file and output the BUFR file..  Read a  simple
              description  of  a  BUFR file and output the BUFR file.  This only works for simple
              BUFR messages without attributes encoded with data present bitmaps.

OPTIONS

       dbamsg follows the usual GNU command line syntax, with  long  options  starting  with  two
       dashes (`-').

   Options used to filter messages
       --category=num
              match messages with the given data category

       --subcategory=num
              match BUFR messages with the given data subcategory

       --check-digit=num
              match CREX messages with check digit (if 1) or without check digit (if 0)

       --unparsable
              match only messages that cannot be parsed

       --parsable
              match only messages that can be parsed

       --index=expr
              match messages with the index in the given range (ex.: 1-5,9,22-30)

   Option for command scan
       -?, --help
              print an help message

       --verbose
              verbose output

       -t type, --type=type
              format of the input data ('bufr', 'crex', 'json', 'csv')

       --rejected=fname
              write unprocessed data to this file

   Option for command head
       -?, --help
              print an help message

       --verbose
              verbose output

       -t type, --type=type
              format of the input data ('bufr', 'crex', 'json', 'csv')

       --rejected=fname
              write unprocessed data to this file

   Option for command dump
       -?, --help
              print an help message

       --verbose
              verbose output

       -t type, --type=type
              format of the input data ('bufr', 'crex', 'json', 'csv')

       --rejected=fname
              write unprocessed data to this file

       --interpreted
              dump the message as understood by the importer

       --precise
              import messages using precise contexts instead of standard ones

       --text dump as text that can be processed by dbamsg makebufr

       --csv  dump in machine readable CSV format

       --json dump in machine readable JSON format

       --dds  dump structure of data description section

       --structured
              structured dump of the message contents

   Option for command cat
       -?, --help
              print an help message

       --verbose
              verbose output

       -t type, --type=type
              format of the input data ('bufr', 'crex', 'json', 'csv')

       --rejected=fname
              write unprocessed data to this file

   Option for command bisect
       -?, --help
              print an help message

       --verbose
              verbose output

       --test=cmd
              command to run to test a message group

       -t type, --type=type
              format of the input data ('bufr', 'crex', 'json', 'csv')

       --rejected=fname
              write unprocessed data to this file

   Option for command convert
       -?, --help
              print an help message

       --verbose
              verbose output

       -t type, --type=type
              format of the input data ('bufr', 'crex', 'json', 'csv')

       -d type, --dest=type
              format of the data in output ('bufr', 'crex', 'json')

       --rejected=fname
              write unprocessed data to this file

       --template=name
              template of the data in output (autoselect if not specified, 'list' gives a list)

       -r rep_memo, --report=rep_memo
              force output data to be of this type of report

       --precise
              import messages using precise contexts instead of standard ones

       --bufr2netcdf-categories
              recompute  data categories and subcategories according to message contents, for use
              as input to bufr2netcdf

       -o fname, --output=fname
              destination file. Default: stdandard output

   Option for command compare
       -?, --help
              print an help message

       --verbose
              verbose output

       -t type, --type1=type
              format of the first file to compare ('bufr', 'crex', 'json', 'csv')

       -d type, --type2=type
              format of the second file to compare ('bufr', 'crex', 'json', 'csv')

       --rejected=fname
              write unprocessed data to this file

   Option for command makebufr
       -?, --help
              print an help message

       --verbose
              verbose output

EXAMPLES

       Here are some example invocations of \fBdbamsg\fP:

         # Convert a BUFR message to CREX
         dbamsg convert file.bufr -d crex > file.crex

         # Convert BUFR messages to CREX, but skip all those not in january 2010
         dbamsg convert year=2010 month=1 file.bufr -d crex > file.crex

         # Dump the content of a message, as they are in the message
         dbamsg dump file.bufr

         # Dump the content of a message, interpreted as physical quantities
         dbamsg dump --interpreted file.bufr

AUTHOR

       dbamsg has been written by Enrico Zini <enrico@enricozini.com> for  ARPA  Emilia  Romagna,
       Servizio Idrometeorologico.

                                           nov 19, 2022                                 DBAMSG(1)