Computes continuous envelope values used by scvsmag.
Part of the VS package.
scenvelope is part of a new SeisComp3 implementation of the Virtual Seismologist (VS) Earthquake Early Warning algorithm (Cua, 2005; Cua and Heaton, 2007) released under the 'SED Public License for SeisComP3 Contributions'. It generates real-time envelope values for horizontal and vertical acceleration, velocity and displacement from raw acceleration and velocity waveforms. It was implemented to handle the waveform pre-processing necessary for the scvsmag module. It provides in effect continuous real-time streams of PGA, PGV and PGD values which could also be used independently of scvsmag.
The processing procedure is as follows: 1. gain correction 2. baseline correction 3. high-pass filter with a corner frequency of 3 s period 4. integration or differentiation to velocity, acceleration and displacement 5. computation of the absolute value within 1 s intervals
The resulting envelope values are sent as messages to scmaster. Depending on the number of streams that are processed this can result in a significant number of messages (#streams/s).
scenvelope sends messages of type "VS" which requires all modules receiving these messages to load the plugin "dmvs". This can be most easily configured through the configuration parameter in global.cfg:
plugins = dmvs
By default scenvelope sends messages to the group "VS".
scenvelope inherits global options.
Type: double
This parameter defines the relative saturation threshold in percent. If the absolute raw amplitude exceeds X% of 2^23 counts, the station will be flagged as clipped. This assumes a 24-bit datalogger. Default is 80.
Type: int
This parameter defines the length of the buffer (in seconds) that is used to compute a real-time average for baseline correction. Default is 60.
Type: boolean
This is for internal testing purposes only. true will cause the SeisComp3 filter routines to be used. If false the filter routines from the Earthworm based CISN/ETH implementation of VS will be employed. Default is false.
Note
envelope.streams.* Defines the white- and blacklist of data streams to be used. The rules to decide if a stream is used or not are the following: ** 1. if whitelist is not empty and the stream is not on the whitelist, don't use it, ok otherwise ** 2. if blacklist is not empty and the stream is on the blacklist, don't use it, ok otherwise ** Both checks are made and combined with AND. Either whitelist or blacklist contains a list of patterns (wildcard allowed as * and ?), eg GE..*.*, , GE.MORC..BH? Each stream id (NET.STA.LOC.CHA) will* be checked against the defined patterns.
Type: list:string
The stream whitelist
Type: list:string
The stream blacklist
show help message.
show version information
Use alternative configuration file. When this option is used the loading of all stages is disabled. Only the given configuration file is parsed and used. To use another name for the configuration create a symbolic link of the application or copy it, eg scautopick -> scautopick2.
Load given plugins.
Run as daemon. This means the application will fork itself and doesn't need to be started with &.
Enable/disable self-shutdown because a master module shutdown. This only works when messaging is enabled and the master module sends a shutdown message (enabled with --start-stop-msg for the master module).
Sets the name of the master-module used for auto-shutdown. This is the application name of the module actually started. If symlinks are used then it is the name of the symlinked application.
Sets the name of the master-username of the messaging used for auto-shutdown. If "shutdown-master-module" is given as well this parameter is ignored.
Verbosity level [0..4]. 0:quiet, 1:error, 2:warning, 3:info, 4:debug
Increase verbosity level (may be repeated, eg. -vv)
Quiet mode: no logging output
Limits the logging to a certain component. This option can be given more than once.
Use syslog logging back end. The output usually goes to /var/lib/messages.
Path to lock file.
Send log output to stdout.
Debug mode: --verbosity=4 --console=1
Use alternative log file.
Overrides configuration parameter connection.username.
Overrides configuration parameter connection.server.
Overrides configuration parameter connection.timeout.
Overrides configuration parameter connection.primaryGroup.
A group to subscribe to. This option can be given more than once.
Overrides configuration parameter connection.encoding.
Sets sending of a start- and a stop message.
Test mode, no messages are sent
List all supported database drivers.
The database connection string, format: service://user:pwd@host/database. "service" is the name of the database driver which can be queried with "--db-driver-list".
The configmodule to use.
Load the inventory from the given database or file, format: [service://]location
Do not use the database at all