msrtsimul¶
MiniSEED real time simulation
Description¶
msrtsimul simulates a real-time data acquisition by injecting miniSEED data from a file into the seedlink buffer. It can be used for simulating real-time conditions in playbacks for whole-system demonstrations, user training, etc.
Note
The data a played back as if they were recorded at current time. Therefore creation times and the actual data times including pick times, event times etc. will be faked. Use the command line option –mode historic for keeping the actual data times.
- The historic mode allows to process waveforms in real time with the stream inventory valid at the time when the data were created including streams closed at current time. Using the historic mode may require scautopick to be started with the option playback.
- Use scmssort to sort the data by end time for a realistic playback.
Examples¶
Playback miniSEED waveforms in real time with verbose output:
msrtsimul -v miniSEED-file
Playback miniSEED waveforms in historic mode. This may require scautopick to be started with the option playback:
msrtsimul -v -m historic miniSEED-file
Configuration¶
etc/defaults/global.cfg
etc/defaults/msrtsimul.cfg
etc/global.cfg
etc/msrtsimul.cfg
~/.seiscomp3/global.cfg
~/.seiscomp3/msrtsimul.cfg
msrtsimul inherits global options.
Command-line¶
msrtsimul [OPTION] miniSEED-file
Options¶
-
-c
,
--stdout
¶
write on standard output
-
-d
,
--delays
¶
add artificial delays
-
-s
,
--speed
float
¶ speed factor
-
-j
,
--jump
float
¶ minutes to skip at the beginning
-
--test
¶
test mode
-
-m
,
--mode
string
¶ playback mode: choose between ‘realtime’ and ‘historic’
-
-v
,
--verbose
¶
verbose mode
-
-h
,
--help
¶
display this help message