Scroll to navigation

DBATBL(1) General Commands Manual DBATBL(1)

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..
expand table-entry [table-entry [...]]
 
Describe a WMO B table entry or expand a WMO D table entry in its components..
expandcode varcode [varcode [...]]
 
Expand the value of a packed variable code.
index [options] filename index-id
 
Index the contents of a table file.
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
-c, --csv
output variables in CSV format

Option for command grep

-?, --help
print an help message
-c, --csv
output variables in CSV format

Option for command expand

-?, --help
print an help message

Option for command expandcode

-?, --help
print an help message

Option for command index

-?, --help
print an help message
-t type, --type=type
format of the table to index ('b', 'd', 'conv')

Option for command describe

-?, --help
print an help message

AUTHOR

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