crex2caps

CREX CAPS plugin. Reads CREX data from file and pushes the data into the given CAPS server.

Module Configuration

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

crex2caps 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
input.readFrom

Type: string

Read input files from this file

input.directory

Type: string

Watch this directory for incoming input files

input.watchEvents

Default: close_write

Type: string

Listen for specific inotify event(s). If ommitted, close_write events are listened for. Events: access - file or directory contents were read, modify - file or directory contents were written, attrib - file or directory attributes changed, close_write - file or directory closed, after being opened in writable mode, close_nowrite - file or directory closed, after being opened in read-only mode close - file or directory closed, regardless of read/write mode open - file or directory opened moved_to - file or directory moved to watched directory moved_from - file or directory moved from watched directory move - file or directory moved to or from watched directory create - file or directory created within watched directory delete - file or directory deleted within watched directory delete_self - file or directory was deleted unmount - file system containing file or directory unmounted

input.watchPattern

Type: string

Process any events whose filename matches the specified regular expression

output.host

Default: localhost

Type: string

Data output host

output.port

Default: 18003

Type: int

Data output port

output.bufferSize

Default: 1048576

Type: uint

Size (bytes) of the packet buffer

streams.file

Type: string

File to read streams from. Each line defines a mapping between a station and stream id. Line format is [ID NET.STA].

Command-Line Options

Generic

Verbosity

Input

--station arg

Sets the station and sampling interval to use. Format is [net.sta@?]

-f, --file arg

Load CREX data directly from file

--read-from arg

Read input files from this file

Output

-H, --host arg

Data output host

-p, --port arg

Data output port

Streams

--streams-file arg

File to read streams from. Each line defines a mapping between a station and stream id. Line format is [ID NET.STA].