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.
185 lines
7.4 KiB
HTML
185 lines
7.4 KiB
HTML
2 years ago
|
<!DOCTYPE html>
|
||
|
|
||
|
<html >
|
||
|
<head>
|
||
|
<meta charset="utf-8" />
|
||
|
<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/graphviz.css" />
|
||
|
<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 src="../_static/jquery.js"></script>
|
||
|
<script src="../_static/underscore.js"></script>
|
||
|
<script src="../_static/doctools.js"></script>
|
||
|
<script src="../_static/language_data.js"></script>
|
||
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
||
|
<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">5.3.0</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">
|
||
|
|
||
|
<div class="section" id="inv2dlsv">
|
||
|
<span id="id1"></span><h1>inv2dlsv<a class="headerlink" href="#inv2dlsv" title="Permalink to this headline">¶</a></h1>
|
||
|
<p><strong>Converts SC3 inventory XML to dataless SEED.</strong></p>
|
||
|
<div class="section" id="description">
|
||
|
<h2>Description<a class="headerlink" href="#description" title="Permalink to this headline">¶</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>
|
||
|
</div>
|
||
|
<div class="section" id="examples">
|
||
|
<h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</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 inv.xml 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 inv.xml <span class="p">|</span> gzip > 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 --chans <span class="s2">"*MORC*"</span> inv.xml <span class="p">|</span> inv2dlsv - inv.seed
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
<div class="section" id="command-line-options">
|
||
|
<h2>Command-Line Options<a class="headerlink" href="#command-line-options" title="Permalink to this headline">¶</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>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<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" />
|
||
|
<input type="submit" value="Go" />
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
<script>$('#searchbox').show(0);</script>
|
||
|
<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>
|
||
|
|
||
|
<h4>Previous topic</h4>
|
||
|
<p class="topless"><a href="import_inv.html"
|
||
|
title="previous chapter">import_inv</a></p>
|
||
|
<h4>Next topic</h4>
|
||
|
<p class="topless"><a href="invextr.html"
|
||
|
title="next chapter">invextr</a></p>
|
||
|
<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>5.3.0</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>
|