next up previous contents index
Next: 6.17 Fault plane solution Up: 6.16 Getstressdrop Previous: 6.16.1 PLOTSPEC   Contents   Index

6.16.2 Detection program for continuous data, CONDET

The CONDET program is a detection program works on data that is organized in a SEISAN continuous database or a BUD or SeisComp archive. It performs a detection process similar to real-time processing systems, but of course the data is already there. The program works in two steps, first to run a detector on a single channel, and second to detect events that are on more than a minimum number of stations. Possible applications are processing of data from a temporary deployment (e.g., aftershock monitoring, where continuous were recorded without event detection) and adjustment of detection parameters used in real-time monitoring.

The program has three built-in detection algorithms: 1) standard squared STA/LTA, 2) Carl Johnson's detector (that is for example used in the Earthworm processing system ( and 3) correlation with master event. The program writes out a list of detections (file condet.out, which gives station name, component code, trigger time and trigger duration), but also a batch file that can be used to extract the corresponding event data from the continuous data (file extract.batch). Note that wavetool by default takes data from all continuous databases listed in SEISAN.DEF.

When started without any command line options, the program works on all stations/databases given by the STATION parameter. The output file has detections from all stations, and the extract.batch file has extract commands for all detections. This is all required if only one station is available. For more than one station, it is possible to search for times at which more than a minimum number of stations have triggered. This is done by starting the program with the command line argument `-net'. In this mode, the output file condet.out from the first run is used and the file extract.batch is overwritten. The extract script can now be used to get data for the network detected events. The script can be sources in Unix, under windows run comman in script or rename script to extract.bat and then run it. Condet is intended to run without questions and the parameter file condet.par must be in working directory. An example of condet.par is in DAT.

The input parameters are given in condet.par:

STATION: give continuous database name, station and component code. If an archive, the data base name is not used.

STATION                               LICOC       LICO  HH Z 
STATION                               LIGLC       LIGL  HH Z

The BASE TYP is SEISAN (blank), Archive (arc)

BASE TYPE                             arc 
STATION                               LIGLC       LIGL  HH Z

START DATE and STOP DATE: give time interval, can be larger than data availability

START DATE          yyyymmddhhmmss        200802270000 
STOP DATE           yyyymmddhhmmss        200803122359

WAVEOUT: Set to 1. to write out waveform files with the original data and trigger channels.
EXTRACT DURATION: Length of extraction window in seconds, used in extract.batch
PRE EVENT TIME: Time to start extract before detection time in seconds, used in extract.batch
INTERVAL: Length of data segment read at a time. The default is 60 minutes.

DET ALGORITHM: choices for the detection algorithm are STA for squared STA/LTA, COR for correlation and CAR for Carl Johnson's detection algorithm

MIN TRIG DURATION: Minimum duration the trigger level needs to be exceeded for
MIN TRIG INTERVAL: Only allow for one detection within this time, given in seconds
FILTER LOW: Low cut for bandpass filter
FILTER HIGH: High cut for bandpass filter


STA LENGTH: Short term duration in seconds
LTA LENGTH: Long term duration in seconds
TRIGGER RATIO: Ratio of STA/LTA required for trigger
DETRIGGER RATIO: Ratio to detrigger
FREEZE LTA: LTA can be frozen at time STA/LTA goes above TRIGGER RATIO, 1.=to freeze

If DET ALGORITHM is CAR, see Earthworm documentation for details:



CORRELATION MIN: Minimum correlation between waveforms of master event and the data required for a trigger
MASTER WAVEFORM: Name of waveform file that is used as master event, the master event is cross-correlated against the continuous waveform data

Network detection parameters:

NET MIN DET: Minimum of detections required from different stations with time window given by
NET WINDOW SEC: Time window for network detection in seconds. NET MAX DELT SEC: Allows the user to specify the maximum time allowed between arrivals on two consecutive stations (in addition to the overall time window for all arrivals given in the preexisting NET WINDOW SEC NET MIN RATIO: Gives the minimum STA/LTA ratio to keep. This lets one use a low STA/LTA ratio in CONDET and then to explore which STA/LTA level to reject during the much faster "CONDET -NET" phase. EXTRACT DURATION: Duration(sec) of extract.

next up previous contents index
Next: 6.17 Fault plane solution Up: 6.16 Getstressdrop Previous: 6.16.1 PLOTSPEC   Contents   Index
Peter Voss : Thu Mar 31 08:40:20 UTC 2016