192 lines
		
	
	
		
			8.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			192 lines
		
	
	
		
			8.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						|
 | 
						|
<html  lang="en">
 | 
						|
  <head>
 | 
						|
    <meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
 | 
						|
 | 
						|
    <title>inv2dlsv — SeisComP Release documentation</title>
 | 
						|
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
 | 
						|
    <link rel="stylesheet" href="../_static/seiscomp.css" type="text/css" />
 | 
						|
    <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=72bcf2f2" />
 | 
						|
    <link rel="stylesheet" type="text/css" href="../_static/seiscomp.css?v=c6da7ce6" />
 | 
						|
    <link rel="stylesheet" type="text/css" href="../_static/graphviz.css?v=eafc0fe6" />
 | 
						|
    <script type="text/javascript" src="../_static/seiscomp.js"></script>
 | 
						|
    <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
 | 
						|
    <script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js?v=823bb831"></script>
 | 
						|
    <script src="../_static/doctools.js?v=888ff710"></script>
 | 
						|
    <script src="../_static/sphinx_highlight.js?v=4825356b"></script>
 | 
						|
    <link rel="index" title="Index" href="../genindex.html" />
 | 
						|
    <link rel="search" title="Search" href="../search.html" />
 | 
						|
    <link rel="next" title="invextr" href="invextr.html" />
 | 
						|
    <link rel="prev" title="import_inv" href="import_inv.html" /> 
 | 
						|
  </head>
 | 
						|
  <body>
 | 
						|
    <div class="header">
 | 
						|
      <div class="container">
 | 
						|
        <div class="brand">
 | 
						|
          <img class="logo" src="../_static/brands/seiscomp/text/white.svg"/>
 | 
						|
           <!-- span class="title">SeisComP Release</span -->
 | 
						|
          <span class="version">6.9.1</span>
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
    </div>
 | 
						|
    <div class="nav">
 | 
						|
      <div class="container">
 | 
						|
        <div class="content"><a class="pull-right" id="sidebar-toggle">TOC</a>
 | 
						|
          
 | 
						|
    <div class="related" role="navigation" aria-label="related navigation">
 | 
						|
      <ul>
 | 
						|
        <li class="right">
 | 
						|
          <a href="../genindex.html" title="General Index"
 | 
						|
             accesskey="I">
 | 
						|
            index
 | 
						|
          </a>
 | 
						|
        </li>
 | 
						|
        <li class="right">
 | 
						|
          <a href="invextr.html" title="invextr"
 | 
						|
             accesskey="N">
 | 
						|
            next
 | 
						|
          </a>
 | 
						|
        </li>
 | 
						|
        <li class="right">
 | 
						|
          <a href="import_inv.html" title="import_inv"
 | 
						|
             accesskey="P">
 | 
						|
            previous
 | 
						|
          </a>
 | 
						|
        </li>
 | 
						|
        <li class="nav-item nav-item-0">
 | 
						|
          <a href="../index.html">Home</a>
 | 
						|
        </li>
 | 
						|
        <li class="nav-item nav-item-1">
 | 
						|
          <a href="../modules.html" >Modules</a>
 | 
						|
        </li>
 | 
						|
        <li class="nav-item nav-item-2">
 | 
						|
          <a href="../toc/inventory.html" accesskey="U">Inventory</a>
 | 
						|
        </li> 
 | 
						|
      </ul>
 | 
						|
    </div>
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
    </div>
 | 
						|
    <div class="container">
 | 
						|
      <div class="fitted content" id="anchors-container">
 | 
						|
        <div class="body" role="main">
 | 
						|
          
 | 
						|
  <section id="inv2dlsv">
 | 
						|
<span id="id1"></span><h1>inv2dlsv<a class="headerlink" href="#inv2dlsv" title="Permalink to this heading">¶</a></h1>
 | 
						|
<p><strong>Converts SC3 inventory XML to dataless SEED.</strong></p>
 | 
						|
<section id="description">
 | 
						|
<h2>Description<a class="headerlink" href="#description" title="Permalink to this heading">¶</a></h2>
 | 
						|
<p>inv2dlsv is a simple filter that converts inventory in <cite>SeisComP</cite> XML (<a class="reference internal" href="../base/glossary.html#term-SCML"><span class="xref std std-term">SCML</span></a>)
 | 
						|
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 <strong class="program">inv2dlsv</strong> with <a class="reference internal" href="invextr.html#invextr"><span class="std std-ref">invextr</span></a>.</p>
 | 
						|
<div class="admonition note">
 | 
						|
<p class="admonition-title">Note</p>
 | 
						|
<p>Conversion of dataless SEED to <cite>SeisComP</cite> XML is provided by <a class="reference internal" href="dlsv2inv.html#dlsv2inv"><span class="std std-ref">dlsv2inv</span></a>.</p>
 | 
						|
</div>
 | 
						|
</section>
 | 
						|
<section id="examples">
 | 
						|
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this heading">¶</a></h2>
 | 
						|
<div class="admonition note">
 | 
						|
<p class="admonition-title">Note</p>
 | 
						|
<p>“-” can always be used as filename to refer to the standard input/output channel.</p>
 | 
						|
</div>
 | 
						|
<ol class="arabic">
 | 
						|
<li><p>Convert an inventory XML file to a dataless SEED file</p>
 | 
						|
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>inv2dlsv<span class="w"> </span>inv.xml<span class="w"> </span>inv.seed
 | 
						|
</pre></div>
 | 
						|
</div>
 | 
						|
</li>
 | 
						|
<li><p>Convert an inventory XML file to a compressed dataless SEED file</p>
 | 
						|
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>inv2dlsv<span class="w"> </span>inv.xml<span class="w"> </span><span class="p">|</span><span class="w"> </span>gzip<span class="w"> </span>><span class="w"> </span>inv.seed.gz
 | 
						|
</pre></div>
 | 
						|
</div>
 | 
						|
</li>
 | 
						|
<li><p>Convert a subset of an inventory XML using <a class="reference internal" href="invextr.html#invextr"><span class="std std-ref">invextr</span></a>.</p>
 | 
						|
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>invextr<span class="w"> </span>--chans<span class="w"> </span><span class="s2">"*MORC*"</span><span class="w"> </span>inv.xml<span class="w"> </span><span class="p">|</span><span class="w"> </span>inv2dlsv<span class="w"> </span>-<span class="w"> </span>inv.seed
 | 
						|
</pre></div>
 | 
						|
</div>
 | 
						|
</li>
 | 
						|
</ol>
 | 
						|
</section>
 | 
						|
<section id="command-line-options">
 | 
						|
<h2>Command-Line Options<a class="headerlink" href="#command-line-options" title="Permalink to this heading">¶</a></h2>
 | 
						|
<p><strong class="program">inv2dlsv [in_xml [out_dataless]]</strong></p>
 | 
						|
<p>If in_xml is not given, stdin is used. If out_dataless is not given,
 | 
						|
stdout is used.</p>
 | 
						|
</section>
 | 
						|
</section>
 | 
						|
 | 
						|
 | 
						|
          <div id="anchors-bottom"></div>
 | 
						|
        </div>
 | 
						|
        
 | 
						|
      <div class="sidebar" role="navigation" aria-label="main navigation">
 | 
						|
        <div id="anchors-top"></div>
 | 
						|
        <div id="anchors" class="content">
 | 
						|
<div id="searchbox" style="display: none" role="search">
 | 
						|
  <h3 id="searchlabel">Quick search</h3>
 | 
						|
    <div class="searchformwrapper">
 | 
						|
    <form class="search" action="../search.html" method="get">
 | 
						|
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
 | 
						|
      <input type="submit" value="Go" />
 | 
						|
    </form>
 | 
						|
    </div>
 | 
						|
</div>
 | 
						|
<script>document.getElementById('searchbox').style.display = "block"</script>
 | 
						|
  <div>
 | 
						|
    <h3><a href="../index.html">Table of Contents</a></h3>
 | 
						|
    <ul>
 | 
						|
<li><a class="reference internal" href="#">inv2dlsv</a><ul>
 | 
						|
<li><a class="reference internal" href="#description">Description</a></li>
 | 
						|
<li><a class="reference internal" href="#examples">Examples</a></li>
 | 
						|
<li><a class="reference internal" href="#command-line-options">Command-Line Options</a></li>
 | 
						|
</ul>
 | 
						|
</li>
 | 
						|
</ul>
 | 
						|
 | 
						|
  </div>
 | 
						|
  <div>
 | 
						|
    <h4>Previous topic</h4>
 | 
						|
    <p class="topless"><a href="import_inv.html"
 | 
						|
                          title="previous chapter">import_inv</a></p>
 | 
						|
  </div>
 | 
						|
  <div>
 | 
						|
    <h4>Next topic</h4>
 | 
						|
    <p class="topless"><a href="invextr.html"
 | 
						|
                          title="next chapter">invextr</a></p>
 | 
						|
  </div>
 | 
						|
  <div role="note" aria-label="source link">
 | 
						|
    <h3>This Page</h3>
 | 
						|
    <ul class="this-page-menu">
 | 
						|
      <li><a href="../_sources/apps/inv2dlsv.rst.txt"
 | 
						|
            rel="nofollow">Show Source</a></li>
 | 
						|
    </ul>
 | 
						|
   </div>
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
      </div>
 | 
						|
    </div>
 | 
						|
    <div class="footer">
 | 
						|
      <div class="container">
 | 
						|
        <div class="horizontal layout content">
 | 
						|
        <a class="fade-in" href="https://www.gempa.de" target="_blank">
 | 
						|
          <img class="brand" src="../_static/brands/gempa.svg"/>
 | 
						|
        </a>
 | 
						|
        <div class="stretched align-center fitted content">
 | 
						|
          <div>
 | 
						|
		  Version <b>6.9.1</b> Release
 | 
						|
          </div>
 | 
						|
            <div class="copyright">
 | 
						|
              Copyright © gempa GmbH, GFZ Potsdam.
 | 
						|
            </div>
 | 
						|
        </div>
 | 
						|
        <a class="fade-in" href="https://www.gfz-potsdam.de" target="_blank">
 | 
						|
          <img class="brand" src="../_static/brands/gfz.svg"/>
 | 
						|
        </a>
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
    </div>
 | 
						|
  </body>
 | 
						|
</html> |