---
name: "dbatbl"
section: "1"
platform: "linux"
package: "dballe"
version: "7.21-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/dbatbl"
---

# dbatbl(1)

Manage on-disk reference tables for DB-ALLe

## NAME

dbatbl - Manage on-disk reference tables for DB-ALLe

## SYNOPSIS

**dbatbl** \[*command*\] \[*options*\] \[*args*...*\]*\

## DESCRIPTION

This tool allows to index and query the tables that are needed for normal functioning of DB-ALLe.

**dbatbl** 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.

- **cat tableid \[tableid \[...\]\]**

  Output all the contents of a WMO B table..

- **grep string**

  Output all the contents of the local B table whose description contains the given string..

- **expandcode varcode \[varcode \[...\]\]**

  Expand the value of a packed variable code.

- **describe \[options\] what \[values\]**

  Invoke the formatter to describe the given values. Supported so far are: "level ltype l1 l2", "trange pind p1 p2".

## OPTIONS

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

### Option for command cat

- **-?, --help**

  print an help message

- **--verbose**

  verbose output

- **-c, --csv**

  output variables in CSV format

- **--crex**

  read CREX entries instead of BUFR

### Option for command grep

- **-?, --help**

  print an help message

- **--verbose**

  verbose output

- **-c, --csv**

  output variables in CSV format

- **--crex**

  read CREX entries instead of BUFR

### Option for command expandcode

- **-?, --help**

  print an help message

- **--verbose**

  verbose output

### Option for command describe

- **-?, --help**

  print an help message

- **--verbose**

  verbose output

## AUTHOR

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