scevtstreams

scevtstreams reads all picks of an event and determines the time window between the first pick and the last pick. In addition a time margin is added to this time window. It writes the streams that are picked including the determined time window for the event to stdout. This tool gives appropriate input information for scart to archive event based data.

Commandline options

-E, --event <EventID>
Defining the event ID.
-m, --margin <seconds>
Time window length in seconds around the event time for all streams. (default is 300)
-S, --streams <list>
Comma separated list of streams per station to add, e.g. BH,SH,HH.
-C, --all-components <flag>
Specifies whether to use all components (0) or just the picked one (1). (default is 1)
-L, --all-locations <flag>
Specifies whether to use all location codes (0) or just the picked one (1). (default is 1)

Examples

Create a replay of an event with a time window of 5 minutes data and sort the records by their end time:

scevtstreams -E gfz2008abcd -d mysql://user:test@localhost/seiscomp3 -L 0 -m 300 | scart -dsvE 
             --list - /home/sysop/seiscomp3/acquisition/archive > mseed.sorted