Converts dataless SEED to SeisComP3 inventory XML.
dlsv2inv converts dataless SEED to SeisComP3 XML. Due to the limitations of dataless SEED dlsv2inv allows to set attributes which are not available in dataless such as network type, network description and so on.
It takes basically two important parameters:
whereas the output file defaults to stdout if not given.
The SeisComP3 inventory network and station objects have the attribute archive which should contain the local datacenter where the information comes from.
While importing the attribute datacenterID is read and written into the archive attribute of all networks and stations available in the dataless. The datacenterID can be overridden with the --dcid command line option.
Convert a given dataless SEED file to SeisComP3 XML.
dlsv2inv GE.dataless GE.xml
Override the datacenterID and leave it blank in the output.
dlsv2inv --dcid "" GE.dataless GE.xml
dlsv2inv inherits global options.
dlsv2inv [OPTIONS] input [output=stdout]
show help message.
show version information
Use alternative configuration file. When this option is used the loading of all stages is disabled. Only the given configuration file is parsed and used. To use another name for the configuration create a symbolic link of the application or copy it, eg scautopick -> scautopick2.
Load given plugins.
Run as daemon. This means the application will fork itself and doesn't need to be started with &.
Verbosity level [0..4]. 0:quiet, 1:error, 2:warning, 3:info, 4:debug
Increase verbosity level (may be repeated, eg. -vv)
Quiet mode: no logging output
Limits the logging to a certain component. This option can be given more than once.
Use syslog logging back end. The output usually goes to /var/lib/messages.
Path to lock file.
Send log output to stdout.
Debug mode: --verbosity=4 --console=1
Use alternative log file.
Overrides the datacenter ID which is read from the datacenterID configuration parameter and written to the network and station archive attribute.
Sets the network description. It supports the following placeholders: ${code}, ${start}, ${end}, ${class} and ${archive}.
Set network start time. Format is %Y-%m-%d.
Set network end time. Format is %Y-%m-%d.
Sets the network type (VBB, SM, etc.).
Sets the network temporary flag to true.
Sets the network restricted flag to true.
Sets the network private flag to true.