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:

  1. input file
  2. output file

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]


-h, --help

show help message.

-V, --version

show version information

--config-file arg

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.

--plugins arg

Load given plugins.

-D, --daemon

Run as daemon. This means the application will fork itself and doesn’t need to be started with &.


--verbosity arg

Verbosity level [0..4]. 0:quiet, 1:error, 2:warning, 3:info, 4:debug

-v, --v

Increase verbosity level (may be repeated, eg. -vv)

-q, --quiet

Quiet mode: no logging output

--component arg

Limits the logging to a certain component. This option can be given more than once.

-s, --syslog

Use syslog logging back end. The output usually goes to /var/lib/messages.

-l, --lockfile arg

Path to lock file.

--console arg

Send log output to stdout.


Debug mode: –verbosity=4 –console=1

--log-file arg

Use alternative log file.


-f, --formatted

Enables formatted XML output.