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.

167 lines
5.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<seiscomp>
<module name="scart" category="Utilities" standalone="true">
<description>
Import/export MiniSEED data to/from SDS archives.
</description>
<command-line>
<synopsis>
scart [options] {archive-dir}
</synopsis>
<description>
The last option has to be the archive directory when dump mode is enabled.
When no archive directory is explicitly given,
$SEISCOMP_ROOT/var/lib/archive or the current directory
is used depending on whether $SEISCOMP_ROOT has been set or not.
The default operation mode is import. That means that a multiplexed
MiniSEED file or another record source such as ArcLink is used to import
records into a SDS structure.
</description>
<group name="Verbosity">
<option flag="v" long-flag="verbose">
<description>
Verbose mode.
</description>
</option>
<option flag="h" long-flag="help">
<description>
Display a help message.
</description>
</option>
</group>
<group name="Mode">
<option flag="" long-flag="check">
<description>
Check mode. Check all files
in the given directory for erroneous miniSEED records.
All sub-directories are included.
If no directory is given, the default SDS archive is scanned.
</description>
</option>
<option flag="d" long-flag="dump">
<description>
Set export (dump) mode. Records are retrieved from an archive and
written to standard output.
</description>
</option>
<option flag="I">
<description>
Import mode: Specify the recordstream URL when in import mode.
When using another recordstream than a file (like ArcLink) a stream
list file is required. Default: file://- (stdin).
</description>
</option>
</group>
<group name="Output">
<option flag="c" argument="channels">
<description>
Specify the channel filter for the dumped streams as regular
expression. Default: (B|S|M|H)(L|H)(Z|N|E). To dump only
BHZ, BHN and BHE streams use BH(Z|N|E).
</description>
</option>
<option flag="E">
<description>
Sort records according to their end time. Default: start time.
</description>
</option>
<option long-flag="files" argument="count">
<description>
Specify the number of file handles to cache. Default: 100.
</description>
</option>
<option flag="l" long-flag="list" argument="file">
<description>
Uses a stream list file instead of defined networks and channels
(-n and -c are ignored). The list can be generated from events
by scevetstreams. One line per stream.
Line format: starttime;endtime;streamID.
The time format is the same as described in option '-t'.
Example:
2019-07-17 02:00:00;2019-07-17 02:10:00;GR.CLL..BH?
</description>
</option>
<option flag="" long-flag="nslc" argument="file">
<description>
Uses a stream list file instead of defined networks and
channels (-n and -c are ignored). In dump mode only. The
time window must be provided separately. Wild cards may be
used. The list can be generated from bindings by scdumpcfg
or from inventory by scinv. Use one line per stream. Line
format: NET.STA.LOC.CHA.
Example:
GR.CLL..BH?
</description>
</option>
<option flag="m" long-flag="modify">
<description>
Modify the record time for real time playback when in export mode.
The first record time is NOW. The relative time of successive records
to the first one are kept.
</description>
</option>
<option flag="n" argument="networks">
<description>
List of network codes to dump (comma separated). Default: *.
</description>
</option>
<option flag="s" long-flag="sort">
<description>
Sort records by [start-]time. To sort records by their endtime use -E.
</description>
</option>
<option long-flag="speed">
<description>
Specify the speed to dump the records. A value of 0 means no delay
otherwise speed is a multiplier of the real time difference between
the records. When feeding the records directly into the replay pipe
a value of 1 (real time) is recommended.
</description>
</option>
<option long-flag="stdout">
<description>
Write to stdout if import mode is used instead of creating a
SDS archive.
</description>
</option>
<option long-flag="print-streams">
<description>
Print stream information only and exit. Works in import, dump
and check mode. Output: NET.STA.LOC.CHA StartTime EndTime.
</description>
</option>
<option long-flag="test">
<description>
Test only, no record output. This switch is useful
for debugging.
</description>
</option>
<option flag="t" argument="timeWindow">
<description>
Specify the time window (as one properly quoted string) to dump
records for. Times are UTC and separated by a tilde &quot;~&quot;.
To dump one hour of waveform data between 2008/01/01 00:00:00 and
2008/01/01 01:00:00 use
&lt;-t &quot;2008-01-01 00:00:00~2008-01-01 01:00:00&quot;&gt;.
</description>
</option>
<option flag="" long-flag="with-filecheck">
<description>
Check all accessed files after import. Unsorted or
unreadable files are reported to stderr.
</description>
</option>
<option flag="" long-flag="with-filename">
<description>
Print all accessed files to stdout after import.
</description>
</option>
</group>
</command-line>
</module>
</seiscomp>