Associates an Origin to an Event or forms a new Event if no match is found. Selects the preferred magnitude.
As a consequence of a real-time system the SeisComP3 system creates several origins (results of localization processes) for one earthquake because as time goes by more seismic phases are available. scevent receives these origins and associates the origins to events. It is also possible to import Origins from other agencies.
scevent associates Origins to Events by searching for the best match of the new (incoming) Origin to other Origins for existing Events. If a match is not found a new Event can be formed. The new Origin is matched to existing Origins by comparing differences in the horizontal components of the locations, Origin time difference, and matching Picks. The new Origin is matched to an existing Origin which has the highest rank in the following three groups (1, 2, 3):
Location and Time (lowest)
The difference in horizontal location is less than eventAssociation.maximumDistance (degrees) and the difference in Origin times is less than eventAssociation.maximumTimeSpan.
Picks
The two Origins have more than eventAssociation.minimumMatchingArrivals matching Picks.
Picks and Location and Time (highest)
This is the best match, for which both the Location-and-Time and Picks criteria above are satisfied.
If more than one Origin is found in the highest ranking class, then the first one of them is chosen.
Note
For efficiency Events in the cache are scanned first and if no matches are found then the database is scanned for the time window eventAssociation.eventTimeBefore - eventAssociation.eventTimeAfter around the incoming Origin time.
The order of objects in the cache will affect the first best match - is the time or insertion ordered?
No Origin Match
If no Event with an Origin that matches the incoming Origin is found then a new Event is formed and the Origin is associated to that Event. The following criteria are applied to allow the creation of the new Event:
The Agency for the Origin is not black listed (processing.blacklist.agencies).
and
If the Origin is an Automatic then it has more than eventAssociation.minimumDefiningPhases Picks.
Associations of an origin to an event by matching picks.
scevent inherits global options.
Type: string
Prefix for all Event IDs
Type: string
Defines the pattern to generate an event ID.
%p : prefix
%Y : year
%[w]c: alpha character
%[w]C: upper case alpha character
%[w]d: decimal
%[w]x: hexadecimal
%[w]X: upper case hexadecimal
[w] is an optional width parameter. Default is %p%Y%04c.
Type: int
Minimum number of station magnitudes referenced to a network magnitude to become a preferred magnitude. Default is 4.
Type: int
Minimum number of matching picks between two origins to be associated to the same event. Default is 3.
Type: float
If this time window in seconds is negative, pickIDs are compared to find matching arrivals. A non negative value (including 0) compares pick times regardless of the pickID. Pass: |pick1.time - pick2.time| <= threshold Default is -1.
Type: bool
This parameter is only used in conjunction with eventAssociation.maximumMatchingArrivalTimeDiff. If a station has multiple associated arrivals for a particular event, this flag defines if the time distance of a new pick to all arrivals must be within eventAssociation.maximumMatchingArrivalTimeDiff or if one matching arrival is enough. Default is true.
Type: int
Minimum number of Picks for an Origin that is automatic and cannot be associated with an Event to be allowed to form an new Event. Default is 10.
Type: int
Time range before the origin time of an incoming origin to search for matching events. Default is 1800.
Type: int
Time range after the origin time of an incoming origin to search for matching events. Default is 1800.
Type: int
Allowed origin time difference between an incoming origin compared with preferred origins to get associated. Default is 60.
Type: double
Allowed location difference between an incoming origin compared with preferred origins to get associated. Default is 5.
Type: int
Minimum number of station magnitudes required for Mw(mB) to get valid. Default is 8.
Type: int
Minimum number of station magnitudes which ensures that Mw(mB) will be preferred and not mb. Default is 30.
Type: int
Average between mb and Mw(mB) which must be exceeded to become Mw(mB) preferred. Default is 6.
Type: boolean
If true, one magnitude will be preferred even if magnitude criteria are not fullfilled.
Type: list:string
Magnitude type priority list for becoming a preferred magnitude for an event. Default is mBc, Mw(mB), Mwp, ML, MLh, MLv, mb.
Type: list:string
The agencyID priority list. When the eventtool comes to the point to select a preferred origin it orders all origins by its agency priority and selects then the best one among the highest priority agency. It also defines the agency priority for custom priority checks (eventAssociation.priorities).
Type: list:string
The author priority list. When the eventtool comes to the point to select a preferred origin it orders all origins by its author priority and selects then the best one among the highest priority author. It also defines the author priority for custom priority checks (eventAssociation.priorities).
Type: list:string
The general priority list to decide if an origin becomes preferred. This feature is new not used unless this parameter is activated. This list replicates the old hard wired behaviour: AGENCY, STATUS, PHASES_AUTOMATIC, TIME_AUTOMATIC
Available tokens:
AGENCY: check based on agency priorities
AUTHOR: check based on author priorities
STATUS: manual origins rule out automatic ones
METHOD: check based on the method priorities
PHASES: higher phase count = higher priority
PHASES_AUTOMATIC: only checks phase priorities for incoming automatic origins
RMS: lower rms = higher priority
RMS_AUTMATIC: [**check spelling!**] only check RMS on incoming automatic origins
TIME: more recent origins (creationTime) have higher priorities
TIME_AUTOMATIC: only checks creationTime priority on incoming automatic origins
Type: int
Configures a timespan in seconds to delay event creation. If a new origin arrives which cannot be associated to an existing event, delay the event creation for a certain timespan.
Note
eventAssociation.delayFilter.* The delayFilter group configures an origin filter to activate the delay feature for this origin. If more than one filter is given they are combined with AND.
Type: string
The agencyID of the origin to be delayed.
Type: string
The author of the origin to be delayed.
Type: string
The evaluation mode of the origin to be delayed. Can be either "manual" or "automatic".
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.
Time span in hours after which objects expire.
OriginID to be associated. When given no messages are sent. Only the status of the association is written to stdout.
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
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.
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 database from a given XML file.
Do not use the database at all