6.9.2

# inv2dlsv

Converts SC3 inventory XML to dataless SEED.

## Description

inv2dlsv is a simple filter that converts inventory in SeisComP XML (SCML) format from stdin (or a file) to dataless SEED on stdout (or a file). It does not support processing of input XML such as extraction of networks or channels. To accomplish this task, combine inv2dlsv with invextr.

Note

Conversion of dataless SEED to SeisComP XML is provided by dlsv2inv.

## Examples

Note

“-” can always be used as filename to refer to the standard input/output channel.

1. Convert an inventory XML file to a dataless SEED file

       inv2dlsv inv.xml inv.seed

2. Convert an inventory XML file to a compressed dataless SEED file

       inv2dlsv inv.xml | gzip > inv.seed.gz

3. Convert a subset of an inventory XML using invextr.

       invextr --chans "*MORC*" inv.xml | inv2dlsv - inv.seed

## Command-Line Options

inv2dlsv [in_xml [out_dataless]]

If in_xml is not given, stdin is used. If out_dataless is not given, stdout is used.