You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
3.7 KiB
Groff

.\" Man page generated from reStructuredText.
.
.TH "TAB2INV" "1" "Jan 10, 2023" "5.3.0" "SeisComP"
.SH NAME
tab2inv \- SeisComP Documentation
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.sp
\fBtab to SeisComp3 inventory converter\fP
.SH DESCRIPTION
.sp
The tab2inv program is part of the nettab package distributed together with the
\fISeisComP\fP package. The nettab is a text\-based format developed inside the
GEOFON data center to describe seismological instruments responses information.
The tab2inv program can generate \fISeisComP\fP inventory files by parsing
\'\'tab files\'\' as described by in the nettab format.
.sp
This program can read a set of tab files in the nettab format,
verify their contents and generate inventory for the stations
described in them.
.SH COMMAND-LINE OPTIONS
.sp
\fBtab2inv [options] tab\-file [more\-tab\-file]\fP
.SS Options
.INDENT 0.0
.TP
.B \-h, \-\-help
Prints a small help message and exits.
.UNINDENT
.INDENT 0.0
.TP
.B \-f, \-\-filterf
Indicate the filter folder. The filter folder is where the program will search for the files indicated by the Ff and If lines.
.UNINDENT
.INDENT 0.0
.TP
.B \-x, \-\-xmlf
Indicate a folder containing a set of XML files that contains the SeisComp3 inventory files that will be used to resolve the station groups. Normally this folder is seiscomp/etc/inventory.
.UNINDENT
.INDENT 0.0
.TP
.B \-D, \-\-database
.UNINDENT
.INDENT 0.0
.TP
.B \-\-force
Don\(aqt stop on errors of individual files. Try to perform the requested task even if some files contain formatting errors.
.UNINDENT
.INDENT 0.0
.TP
.B \-g, \-\-generate
This option instruct the program to generate the XML document in the end of processing. When you don\(aqt supply this option the file is just parsed and loaded into objects in the memory.
.UNINDENT
.INDENT 0.0
.TP
.B \-c, \-\-check
Perform some tests after the files can be loaded. The tests include testing that the instruments all can be resolved and has no unused instruments supplied.
.UNINDENT
.INDENT 0.0
.TP
.B \-d, \-\-default
Use this option to indicate a default file. A default file is a file containing normally a set of rules for Network (Na), Stations (Sa) and Instruments (Ia) that are applied for every object created before the attributes specified in the file are applied. This option help sto set parameters that you want to be set on all objects.
.UNINDENT
.INDENT 0.0
.TP
.B \-o, \-\-output
Use this option to indicate the output filename for the XML file. If not indicated the program will write the output file to STDOUT.
.UNINDENT
.INDENT 0.0
.TP
.B \-i, \-\-ip
Allow prefixing of the instrument (Datalogger or Sensor) name attribute on the inventory generated by a prefix. This option is normally used when you want to convert many networks that share the same instrumentation in different calls of the program. In each call of the program you can supply the network code and year as padding to guarantee that the instruments generated in both runs of the program will have different name values that are used as Key on the SeisComp3 inventory.
.UNINDENT
.SH AUTHOR
gempa GmbH, GFZ Potsdam
.SH COPYRIGHT
gempa GmbH, GFZ Potsdam
.\" Generated by docutils manpage writer.
.