scmseed
is a simple utility module for SeisComP.
It connects to any
RecordStream
and writes MiniSEED records to
stdout
.
As scmseed
is a standard SeisComP extension module a list of available
commandline options can be obtained with
$ scmseed -h
For a general more in-depth introduction on how to use SeisComP modules including their particular configuration, please refer to the SeisComP documentation.
scmseed
provides the --list
configuration parameter which allows specifying
streams according to the SeisComP
scart extension module's stream
list file. The format is
startTime;endTime;streamID
e.g.
2019-07-17T02:00:00;2019-07-17T02:10:00;GR.CLL..BHZ
Note that comment lines (i.e. with a leading #
character) are skipped.
- Dump records for all streams from a seedlink server
$ scmseed --record-url "slink://rtserve.iris.washington.edu" > ~/tmp/records.mseed
- Download data for a stream identified by
CH.GRIMS..HHZ
(including the time window as specified) via a fdsnws dataselect web service and resample the data on-the-fly to 20Hz:
$ echo "2020-01-01T00:00:00;2020-01-02T00:00:00;CH.GRIMS..HHZ" | \
scmseed \
--record-url "resample://fdsnws?rate=20/eida-federator.ethz.ch/fdsnws/dataselect/1/query" \
--list - \
> ~/tmp/records.mseed
For further details on how to configure a RecordStream, please refer to the SeisComP documentation.
Get a copy of SeisComP/seiscomp:
$ git clone https://github.com/SeisComP/seiscomp.git && cd seiscomp/src/extras/
Next, clone scmseed
:
$ git clone https://github.com/damb/scmseed.git
For compiling SeisComP (including scmseed
), please refer to
https://github.com/SeisComP/seiscomp#build.
Please report bugs, issues, feature requests, etc on GitHub.
Contributions are very welcome. Made with 💕.
Licensed under the the AGPLv3. For more information see the LICENSE file.