test2caps

Recordstream data acquisition plugin

Description

test2caps allows to generate test signals which are send to a CAPS server. This plugin is useful for testing and developing data acquisition or processing modules.

Configuration

etc/defaults/global.cfg
etc/defaults/test2caps.cfg
etc/global.cfg
etc/test2caps.cfg
~/.seiscomp/global.cfg
~/.seiscomp/test2caps.cfg

test2caps inherits global options.

Note

Modules/plugins may require a license file. The default path to license files is @DATADIR@/licenses/ which can be overridden by global configuration of the parameter gempa.licensePath. Example:

gempa.licensePath = @CONFIGDIR@/licenses

Command Line

General

-h, --help

Print help message

--config file

File to read configuration from

-h, --help

Print help message

--verbosity arg

Verbosity level [0..4]

Stream

--id arg

Comma separated list of stream IDs [net.sta.loc.cha] to use

--id-file arg

File to read stream IDs from

--begin arg

Start date and time of data stream

--interval arg

Sampling interval to use, format is numerator/denominator

Mode

--read-from arg

File to read data from

--random arg

Generate n random samples

--stream

Generate continuous sinus data

--amplitude arg

Amplitude of sinus data

--period arg

Period of sinus data in seconds

Packets

--data-type arg
arg

Data type to use. Available are: INT8, INT32, FLOAT, DOUBLE

--fill arg

Number of seconds of data to send before/after start time

--format arg

Format description 4 characters, e.g. ‘JPEG’

--mseed

Enable Steim2 encoding for RAW packets

--recsize arg

Record size in samples in stream mode

-q, --quality arg

Record timing quality

--type arg

Packet type to use, e.g. ANY, RAW

Output

-H, --Host arg

Data output host

-p, --port arg

Data output port

Verbosity

--verbosity arg

Verbosity level [0..4]. 0:quiet, 1:error, 2:warning, 3:info, 4:debug

Output

-H, --host arg

Data output host

-p, --port arg

Data output port

Journal

-j, --journal arg

File to store stream states. Use an empty string to log to standard out.

-f, --flush arg

Flush stream states to disk every n seconds

--waitForAck arg

Wait when a sync has been forced, up to n seconds

-w, --waitForLastAck arg

Wait on shutdown to receive acknownledgement messages, up to n seconds