4.9.3
TOC
  • index
  • next
  • previous
  • Home
  • Modules
  • Acquisition

seedlink¶

Real-time waveform server implementing the SeedLink protocol.

Description¶

SeedLink is a real-time data acquisition protocol and a client-server software that implements this protocol. The SeedLink protocol is based on TCP. All connections are initiated by the client. During handshaking phase the client can subscribe to specific stations and streams using simple commands in ASCII coding. When handshaking is completed, a stream of SeedLink “packets” consisting of a 8-byte SeedLink header (containing the sequence number) followed by a 512-byte miniSEED record, is sent to the client. The packets of each individual station are always transferred in timely (FIFO) order. The SeedLink implementation used in SeisComP is the oldest and most widely used, however, other implementations exist. Another well-known implementation is deployed in IRIS DMC and some manufacturers have implemented SeedLink in their digitizer firmware. All implementations are generally compatible, but not all of them support the full SeedLink protocol. On the other hand IRIS DMC implements some extensions which are not supported by other servers. In the following we use “SeedLink” to denote the SeedLink implementation used in SeisComP. The data source of a SeedLink server can be anything which is supported by a SeedLink plugin - a small program that sends data to the SeedLink server. Plugins are controlled by the SeedLink server, e.g., a plugin is automatically restarted if it crashes or a timeout occurs. Data supplied by a plugin can be a form of miniSEED packets or just raw integer samples with accompanying timing information. In the latter case, the SeedLink server uses an inegrated “Stream Processor” to create the desired data streams and assemble miniSEED packets.

Supported data sources¶

The table below lists digitizers and data acquisition systems that are supported by SeedLink plugins. More plugins (Kinemetrics K2, Lennartz MARS-88, Lennartz PCM 5800, etc.) have been implemented by various users, but are not (yet) included in the package. The included C language plugin interface is described in section 5.1.1.5. Antelope, Earthworm and NAQS can also import data from SeisComP. In SeisComP the class RecordStream is implemented that supports both SeedLink and ArcLink sources; this class is used by all SeisComP modules that work with waveform data. On a lower level, SeedLink clients can be implemented using the libslink 1 software library or its Java counterpart, JSeedLink. Libslink supports Linux/UNIX, Windows and MacOS X platforms, and comes with an exhaustive documentation in form of UNIX manual pages.

Plugin name

Source or Digitizer/DAS

Plugin Implementer

antelope *

Antelope

Chad Trabant (IRIS)

caps

CAPS server

gempa GmbH

chain

SeedLink

GFZ

dm24 **

Guralp DM24

GFZ; based on libgcf2 from Guralp

dr24

Geotech DR24

GFZ

echopro_3ch100hz / echopro_6ch200hz

Kelunji Echo/EchoPro

Oyvind Natvik (UiB)

edata

Earth Data PS2400/PS6-24

GFZ

ewexport

Earthworm export server (TCP/IP), Chad Trabant (IRIS)

ewexport_pasv

Earthworm passive export server (TCP/IP)

Chad Trabant (IRIS)

fs_mseed

miniSEED file plugin

hrd24

Nanometrics HRD24

GFZ; Recai Yalgin

liss

LISS

Chad Trabant (IRIS)

m24 *

Lennartz M24

Lennartz Electronic GmbH

minilogger

SEP064 USB Seismometer Interface

GFZ; Anthony Lomax

mseedfifo

Generic

GFZ

mseedscan

Transfers miniSEED files from a directory

Chad Trabant (IRIS)

mk6 *

MK6

Jan Wiszniowski (IGPAS)

mppt *

SunSaver MPPT via Modbus TCP/IP

mws

Reinhardt MWS5/MWS9 Weather Station

GFZ

naqs

NAQS

Chad Trabant (IRIS); based on sample code from Nanometrics, Inc.

nmxp *

NAQS

Matteo Quintiliani (INGV)

nrts **

NRTS

GFZ; based on ISI toolkit from David E. Chavez

ps2400_eth

Earth Data PS2400/PS6 Ethernet

GFZ; gempa GmbH

q330

Quanterra Q330

GFZ; based on lib330 maintained by ISTI, Inc.

comserv **

Quanterra Q380/Q680, Q4120, Q720

GFZ; based on Comserv by Quanterra, Inc.

reftek

RefTek RTPD

GFZ; based on software library provided by RefTek, Inc.

sadc

SARA SADC10/18/20/30

GFZ

scream

SCREAM

Reinoud Sleeman (KNMI)

scream_ring

SCREAM

Reinoud Sleeman (KNMI), This is the second revision of the scream plugin which supports buffering for short-term completeness.

vaisala

Vaisala ASCII protocol (serial plugin)

GFZ

wago

WAGO MODBUS/TCP devices

GFZ

wave24 *

Wave24

MicroStep-MIS

win

WIN

GFZ; based on source code of WIN system

ws2300 **

Lacrosse 2300 Weather Station

GFZ; based on open2300 library from Kenneth Lavrsen

* Third-party plugin, not included in SeisComP distribution

** No longer supported

Telnet interface¶

seedlink provides a telnet interface accepting the commands set out in Commands through the seedlink port

telnet [host] [port]

Example fetching the SeedLink version:

$ telnet localhost 18000
Trying 127.0.0.1...
Connected to localhost.gempa.de.
Escape character is '^]'.
hello
SeedLink v3.3 (2020.122)
bye
Connection closed by foreign host.

Queries¶

seedlink provides a query interface. Use slinktool to send queries for fetching:

  • Station and stream information

  • Waveform data

Protocol¶

A SeedLink session starts with opening the TCP/IP connection and ends with closing the TCP/IP connection. During the session the following steps are performed in order:

  • Opening the connection

  • Handshaking

  • Transferring SeedLink packets

We will take a closer look at the protocol. Note, the details are normally hidden from the clients by the libslink software library; therefore it is not necessary to be familiar with the protocol in order to implement clients.

Handshaking¶

When the TCP/IP connection has been established the server will wait for the client to start handshaking without initially sending any data to the client. During handshaking the client sends SeedLink commands to the server. The commands are used to set the connection into a particular mode, setup stream selectors, request a packet sequence number to start with and eventually start data transmission. SeedLink commands consist of an ASCII string followed by zero or several arguments separated by spaces and terminated with carriage return (<cr>, ASCII code 13) followed by an optional linefeed (<lf>, ASCII code 10). The commands can be divided into two categories: “action commands” and “modifier commands”. Action commands perform a function such as starting data transfer. Modifier commands are used to specialize or modify the function performed by the action commands that follow. When a server receives a modifier command it responds with the ASCII string “OK” followed by a carriage return and a line feed to acknowledge that the command has been accepted. If the command was not recognized by the server or has invalid parameters, then the ASCII string “ERROR” is sent as a response to the client followed by a carriage return and a line feed. The client should not send any further commands before it has received a response to the previous modifier command. If a network error or timeout occurs the client should close the connection and start a new session. Data transmission is started when the server receives the commands DATA, FETCH, TIME or END as described in section 5.1.1.3. Once the data transfer has been started no more commands, except INFO, should be sent to the server. The flow diagram of handshaking in uni-station vs. multi-station mode is shown in Handshaking in uni-station vs. multi-station mode..

../_images/Handshaking_uni_multi_station_mode.jpg

Handshaking in uni-station vs. multi-station mode.¶

Data Transfer¶

When handshaking has been completed the server starts sending data packets, each consisting of an 8-byte SeedLink header followed by a 512-byte miniSEED record. The SeedLink header is an ASCII string consisting of the letters “SL” followed by a six-digit hexadecimal packet sequence number. Each station has its own sequence numbers. If multiple stations are requested using a single TCP channel the client should look at the contents of the miniSEED header to determine the station name (or to maintain the current sequence numbers for each station). A sequence number in the same format is used as an argument to the commands “DATA” or “FETCH” to start the data transfer from a particular packet. Each SeedLink node re-assigns sequence numbers for technical reasons. It is not possible to use the same sequence numbers when communicating with alternative servers. Within a particular node the sequence numbers of a single station are consecutive and wrap around at FFFFFF. This can be used by the client to detect “sequence gaps” (e.g., some data has been missed by the client due to long network outage or a software bug). However, if stream selectors are used the sequence numbers are only guaranteed to be in increasing order (with wrap) because some packets might be filtered out by the server. In this case the first packet is not necessarily the one requested, but the nearest packet (not older than requested) that matches installed selectors. The data is transferred as a continuous stream without any error detections or flow control because these functions are performed by the TCP protocol. This guarantees the highest data transfer rate that is possible with the particular hardware and TCP/IP implementation. Obviously, the average data transfer rate must be greater than the rate at which new data becomes ready to send at the server. If this is the case, sooner or later the server has sent all data available to the client. When this happens, depending on the SeedLink mode, the server sends new data as soon as it arrives or appends ASCII string “END” to the last packet and waits for the client to close connection. The latter mode is called “dial-up mode” because it is normally used in conjunction with dial-up lines to open the connection periodically for a short time and download all data available. A SeedLink packet can never start with “END” thus no ambiguity arises.

Commands¶

HELLO

responds with a two-line message (both lines terminated with <cr><lf>). The first line contains the version number of the SeedLink daemon, the second line contains station or data center description specified in the configuration. HELLO is used mainly for testing a SeedLink server with “telnet”. It is also used by libslink to determine the server version.

CAT

shows the station list. Used mainly for testing a SeedLink server with “telnet”.

BYE

closes the connection. Used mainly for testing a SeedLink server with “telnet”.

STATION station code [network code]

turns on multi-station mode, used to transfer data of multiple stations over a single TCP channel. The STATION command, followed by SELECT (optional) and FETCH, DATA or TIME commands is repeated for each station and the handshaking is finished with END. STATION is a modifier command (it modifies the function of subsequent SELECT, and DATA, FETCH or TIME commands) so it responds with “OK” on success, “ERROR” otherwise.

END

end of handshaking in multi-station mode. This is an action command, because it starts data transfer. No explicit response is sent.

SELECT [pattern]

when used without pattern, all selectors are canceled. Otherwise, the pattern is a positive selector to enable matching miniSEED stream transfer. The pattern can be used as well as a negative selector with a leading “!” to prevent the transfer of some miniSEED streams. Only one selector can be used in a single SELECT request. A SeedLink packet is sent to the client if it matches any positive selector and doesn’t match any negative selectors.

General format of selectors is LLCCC.T where LL is location, CCC is channel, and T is type (one of DECOTL for data, event, calibration, blockette, timing, and log records). “LL”, “.T”, and “LLCCC.” can be omitted, meaning “any”. It is also possible to use “?” in place of L and C. Some examples can be found in table 3-1 in section 3.3.3.2. SELECT is a modifier command (it modifies the function of subsequent DATA, FETCH or TIME commands) so a response follows with “OK” on success, “ERROR” otherwise.

DATA [n [begin time]]

in multi-station mode this sets the current station into real-time mode and (optionally) the current sequence number to n; in uni-station mode this starts data transfer in real-time mode from packet n or from the next packet available if used without arguments. If begin time is used, any older packets are filtered out. begin time should be in the form of 6 decimal numbers separated by commas in the form: year,month,day,hour,minute,second, e.g. ’2002,08,05,14,00,00’. DATA is a modifier command in multi-station mode (responds with “OK” or “ERROR”); in uni-station mode it is an action command (no explicit response is sent).

FETCH [n [begin time]]

works like DATA but sets the station to dial-up mode instead of real-time mode.

TIME [begin time [end time]]

extracts the time window from begin time to end time. The times are specified in the form of 6 decimal numbers separated by commas in the form: year,month,day,hour,minute,second, e.g. ’2002,08,05,14,00,00’.

INFO level

requests an INFO packet containing XML data embedded in a miniSEED log record. level should be one of the following: ID, CAPABILITIES, STATIONS, STREAMS, GAPS, CONNECTIONS, ALL. The XML document conforms to the Document Type Definition (DTD) shown in section ???. The amount of info available depends on the configuration of the SeedLink server.

Plugin Interface¶

In order to implement a SeedLink plugin a developer needs two files included in the SeisComP distribution: plugin.h and plugin.c. In these files the following public functions are defined:

int send_raw3(const char *station, const char *channel, const struct ptime *pt, int usec_correction, int timing_quality, const int32_t *dataptr, int number_of_samples)¶

is used to send a raw packet (array of 32-bit integer samples) to SeedLink. The parameters are:

station

station ID, must match one of the defined stations in seedlink.ini. (Up to 10 characters.)

channel

channel ID, referenced by the “input” element in streams.xml. (Up to 10 characters.)

pt

time of the first sample in the array. If NULL then time is calculated relative to the previous send_raw3() call. struct ptime is defined in plugin.h.

usec_correction

time correction in microseconds to be written in the SEED data header. Can be useful if the digitizer is not phase locked to GPS.

timing_quality

timing quality in percent (0-100). The number is directly written into miniSEED header (blockette 1001). Semantics is implementation-defined. Usually 100 means that GPS is in lock and 0 means there never was a GPS lock, so the timing is completely unreliable. When GPS goes out of lock, the value can slowly decrease reflecting a possible timedrift.

dataptr

Array of signed 32-bit samples.

Number_of_samples

Length of the sample array.

Special cases:

  • If timing_quality = -1, blockette 1001 is omitted.

  • If number_of_samples = 0 & pt = NULL set new time without sending any data.

  • If dataptr = NULL send a gap (advance time as if number of samples was sent without sending any actual data).

int send_raw_depoch(const char *station, const char *channel, double depoch, int usec_correction, int timing_quality, const int32_t dataptr, int number_of_samples)¶

same as send_raw3() except time is measured in seconds since 1 January 1970 (depoch). Leap seconds are ignored.

int send_flush3(const char *station, const char *channel)¶

flushes all miniSEED data streams associated with a channel. All buffered data is sent out creating “unfilled” miniSEED records if necessary. The parameters are:

station

station ID.

Channel

channel ID.

int send_mseed(const char *station, const void *dataptr, int packet_size)¶

is used to send a miniSEED packet to SeedLink. Such packets are not further processed. The parameters are:

station

station ID.

dataptr

pointer to 512-byte miniSEED packet.

packet size

must be 512.

int send_log3(const char *station, const struct ptime *pt, const char *fmt, ...)¶

is used to send a log message to SeedLink (LOG stream). It must be noted that encapsulating log messages in miniSEED records is relatively inefficient because each message takes at least one record (512 bytes), regardless of message size. Due to 64-byte miniSEED header, up to 448 bytes per record can be used * The parameters are:

station

station ID.

pt

the timestamp of the message.

fmt

format string, as used by printf(), followed by a variable number of arguments.

Compatibility with Earlier Versions¶

It is possible to determine the version of the plugin interface by looking at the C macro PLUGIN_INTERFACE_VERSION. The current version is 3, therefore all functions that have changed since earlier versions end with “3”. It is possible to enable full backward compatibility with earlier versions of the plugin interface by defining the C macro PLUGIN_COMPATIBILITY. In this case the old functions are also defined.

SeedLink configuration files¶

The following configuration files are used by SeedLink and its plugins.

Warning

Some files such as seedlink.ini, plugin.ini and chain*.xml are generated by the seiscomp tool according to the configuration in etc/seedlink.cfg and its bindings. They live in var/lib/seedlink and should not be modified. If modifications are necessary then the generator needs to be changed to better support the desired user options.

plugins.ini

Configuration file for SeedLink plugins. Used by serial_plugin, fs_plugin and comserv_plugin.

seedlink.ini

Main configuration file for SeedLink. For more details see below.

filters.fir

Coefficients of SeedLink’s decimating FIR filters. If a filter’s name ends with “M”, it is a minimum-phase filter – causal filter with minimized (non-constant) phase delay; since the filter is non-symmetric all coefficients must be given. Otherwise the filter is a zero-phase filter, i.e. a non-causal filter with zero phase delay; in this case the filter is symmetric and so only half of the coefficients must be given (it is not possible to use a zero-phase filter with an odd number of coefficients).

Warning

The coefficients for non-symmetric (minimum-phase) FIR filters in the filters.fir file are stored in reverse order. It is important to reverse the order of coefficients if the operator adds a new minimum-phase filter or uses the included minimum-phase filters for another application. The coefficients for symmetric (zero-phase) FIR filters are not stored in reverse order. As a sanity check for symmetric filters the largest coefficient is always in the middle of the symmetry.

streams.xml

SeedLink stream configuration file for the internal stream processor, referenced from seedlink.ini. For details see below.

*.ini files have a somewhat obscure syntax. They contain zero or more sections, each beginning with a section name in squared brackets which should appear on a line of its own. Section name cannot contain spaces and squared brackets, but it can be optionally surrounded by spaces. Each section consists of zero or more entries – definitions and assignments. A definition consists of a keyword and a name separated by spaces (e.g. “station EDD”). An assignment consists of a parameter and a value separated by the “=” sign and optionally surrounded by spaces (e.g. “network = GE”).

The set of assignments that immediately follow a definition is in the scope of that definition. Assignments in the beginning of a section are “global” – they are used to set some generic parameters and provide default values (e.g. “network = GE” in the beginning of the section sets the default network that can be overridden in the scope of a station definition).

Parameters and keywords are case insensitive and must not contain the symbols “=”, “[“, “]” or spaces. Names must not contain “=” signs or spaces. Values must not contain “=” signs or spaces, unless enclosed in double quotes. Double quotes that are part of the value itself must be preceded by “”.

Each assignment must be complete on a single line, but several assignments can appear on one line, separated by spaces. Any line beginning with a “#” or “*” character is regarded as a comment and ignored.

seedlink.ini¶

seedlink.ini may contain several sections, but only one having the same name as the executable to be used. A section in seedlink.ini has the following structure (parameters are shown in courier, default values are shown in squared brackets, but relying on them is not recommended):

seedlink.ini is generated from ~/.seiscomp/seedlink.cfg and etc/seedlink.cfg.

streams.xml¶

This file, like all XML documents, has a tree-like structure. The root element is called “stream” and it in turn contains “proc” elements which are referenced by name in seedlink.ini. A “proc” element contains one or more “tree” elements, which in turn contain “input” and “node” elements. There should be one “input” element per plugin channel; if an “input” element is missing, the channel is ignored and you will see a message like:

Jun 24 12:56:28 st55 seedlink: EDD channel X ignored

Here is the description of all elements and attributes:

element streams

root element, has no attributes.

element proc

defines a “proc” object (set of “stream trees”), referenced from seedlink.ini.

attribute name

name of “proc” object, for reference.

element using

used to include all “stream trees” defined by one “proc” object in another “proc” object.

attribute name

the name of referenced “proc” object.

element tree

defines a “stream tree” – a downsampling scheme of an input channel.

element input

associates an input channel with the stream tree.

attribute name

name of the input channel; depends on the configuration of the particular plugin (usual channel names are “Z”, “N” and “E”).

attribute channel

name of the output channel (last letter of a miniSEED stream name).

attribute location

miniSEED location code of the output channel (up to two characters).

attribute rate

sampling rate of the input channel (must match the actual sampling rate, which is dependent on the configuration of the plugin and digitizer).

element node

defines a node of a stream tree; this element is recursive, meaning that it may contain one or more “node” elements itself.

attribute filter

use the named filter for decimation; filters are defined in file filters.fir.

attribute stream

create miniSEED output stream at this node. The value of the attribute should be a miniSEED stream name without the last character (which is taken from the attribute “channel” of element “input”).

streams.xml is generated into var/lib/seedlink/streams.xml. Each data plugin provides templates with predefined procs. If e.g. the chain plugin is configured with proc stream100 then share/templates/seedlink/chain/streams_stream100.tpl is being read and generated into the final streams.xml. Own proc definitions can be added by creation a corresponding template file.

Again, the source and proc definition is used to resolve the streams proc template file at share/templates/seedlink/[source]/streams_[proc].tpl.

References¶

1

https://ds.iris.edu/ds/nodes/dmc/software/downloads/libslink/

Configuration¶

Note

seedlink is a standalone module and does not inherit global options.

etc/defaults/seedlink.cfg
etc/seedlink.cfg
~/.seiscomp/seedlink.cfg
port¶

Type: int

Defines the Seedlink port to accept requests. If this port is changed and other modules depend on it (slarchive, processing) those ports must be updated as well! Default is 18000.

filebase¶

Type: dir

Path to the base directory of SeedLink data files (disk buffer).

network¶

Type: string

Default network code. Used when a network code is omitted by a client in STATION request. Should be set to the network code of the majority of configured stations. 1 or 2 characters long, uppercase.

trusted¶

Type: list:string

List of trusted addresses. Default is 127.0.0.0/8.

access¶

Type: list:string

List of IP addresses or IP/mask pairs (in ipchains/iptables syntax) that can access stations. Per station access definitions supersede this parameter. By default any client can access all stations. Default is 0.0.0.0/0.

stream_check¶

Type: boolean

Check start and end times of streams. Default is true.

gap_check_pattern¶

Type: string

If stream_check = enabled, also check for gaps in all channels that match given pattern. Register all gaps that are larger than +-0.5 seconds. gap_check_pattern = [EBLV][HLNG][ZNE]|S[NG][ZNE]. Disabled to save memory. Default is XXXXX.

gap_treshold¶

Type: int

Time difference between records (microseconds) above which a gap is declared. Default is 500000.

window_extraction¶

Type: boolean

Can be enabled or disabled. Required for slinktool option -tw. Default is true.

window_extraction_trusted¶

Type: boolean

Same as window_extraction for trusted IP addresses. Default is true.

websocket¶

Type: boolean

Allow websocket connections. Default is false.

websocket_trusted¶

Type: boolean

Same as websocket for trusted IP addresses. Default is false.

msrtsimul¶

Type: boolean

If activated Seedlink uses the mseedfifo to read records and only the mseedfifo_plugin is started. This command is useful to playback historic data by eg msrtsimul. Default is false.

inventory_connection¶

Type: string

Defines a database read connection to be used for Seedlink station descriptions. If no database is to be used (the default; configure with “”) then the station code will be used. Example: “mysql://sysop:sysop@localhost/seiscomp”. If a remote host is specified, ensure that its database server is reachable from this computer.

info¶

Type: string

Info level provided to arbitrary hosts. Default is streams.

info_trusted¶

Type: string

Info level provided to trusted hosts. Default is all.

request_log¶

Type: boolean

Whether requests should be logged. Default is true.

proc_gap_warn¶

Type: int

Unit: microseconds

Give warning if an input channel has time gap larger than this (microseconds). Default is 10.

proc_gap_flush¶

Type: int

Flush streams if an input channel has time gap larger than this (microseconds). Default is 100000.

proc_gap_reset¶

Type: int

Reset FIR filters if an input channel has time gap larger than this (microseconds). Default is 1000000.

backfill_buffer¶

Type: float

Unit: s

Enable backfilling buffer for out-of-order records. This values defines its capacity in seconds. Default is 0.

seq_gap_limit¶

Type: int

Maximum allowed deviation from the sequence number of oldest packet if packet with requested sequence number is not found. If seq_gap_limit is exceeded, data flow starts from the next packet coming in, otherwise from the oldest packet in buffer. Default is 100000.

connections¶

Type: int

Total number of TCP/IP connections allowed. Default is 500.

connections_per_ip¶

Type: int

Maximum number of TCP/IP connections per IP. Default is 20.

bytespersec¶

Type: int

Unit: B/s

Maximum speed per connection (0: throttle disabled). Default is 0.

lockfile¶

Type: string

Path to lockfile to prevent multiple instances. Default is @ROOTDIR@/var/run/seedlink.pid.

buffers¶

Type: int

Size of memory buffer (number of recent Mini-SEED records kept in RAM). Default is 100.

segments¶

Type: int

Number of disk buffer segments (files under <dir>/station/segments/ where <dir> is the directory given by the filebase parameter). Default is 50.

segsize¶

Type: int

Size of one disk buffer segment in the records (512-byte units). Default is 1000.

blanks¶

Type: int

Number of blank records to insert after the re-scan of disk buffer if <dir>/station/buffer.xml is not found (assuming the server did not terminate correctly). Default is 10.

encoding¶

Type: string

Encoding of Mini-SEED records created by SeedLink. The value must be steim1 or steim2. If omitted, the global encoding parameter is used. Default is steim2.

sequence_file_cleanup¶

Type: int

Unit: min

If configured with a value greater than zero then all sequence files created by the chain plugin are deleted which are older than X minutes before Seedlink is started. Default is 0.

caps extension¶

Global options for the CAPS plugin

plugins.caps.maxTimeDiff¶

Type: float

The maxmimum time difference with respect to current time of the end time of a received record. If exceeded then the end time will not be logged into the state file. Default is 86400.

plugins.caps.inOrder¶

Type: boolean

Request all records in-order. Out-of-order records will be skipped. Default is false.

mseedfifo extension¶

Global options for the mseedfifo plugin

plugins.mseedfifo.fifo¶

Type: string

Path to named fifo pipe. Default: $SEISCOMP_ROOT/var/run/seedlink/mseedfifo for seedlink. Alias modules automatically replace “seedlink” by the alias name.

plugins.mseedfifo.noexit¶

Type: boolean

Do not exit plugin if writer closes the fifo. Default is false.

q330 extension¶

Global options for the Q330 plugin

plugins.q330.udpbase¶

Type: int

UDP base port used when udp port is defined as “auto” Default is 5500.

chain extension¶

Global options for the chain plugin

plugins.chain.dialupConnections¶

Type: int

Defines the maximum number of concurrent dial-up connections. A value of 0 does not limit the concurrent connections. Default is 0.

plugins.chain.loadTimeTable¶

Type: boolean

If enabled load_timetable is used by the chain plugin to request the available time windows of each stream in the Seedlink buffer to discard older records. Default is true.

Bindings¶

Configuration¶

access¶

Type: list:string

List of IP addresses or IP/mask pairs (in ipchains/iptables syntax). Only if a client’s IP address matches one of those the station is shown (slinktool -L, etc.) and accessible. If omitted, the global access parameter is used. If the global access parameter is not set any client can access the station. Default is 0.0.0.0/0.

buffers¶

Type: int

Size of memory buffer (number of recent Mini-SEED records kept in RAM). Default is 100.

segments¶

Type: int

Number of disk buffer segments (files under <dir>/station/segments/ where <dir> is the directory given by the filebase parameter). Default is 50.

segsize¶

Type: int

Size of one disk buffer segment in the records (512-byte units). Default is 1000.

blanks¶

Type: int

Number of blank records to insert after the re-scan of disk buffer if <dir>/station/buffer.xml is not found (assuming the server did not terminate correctly). Default is 10.

encoding¶

Type: string

Encoding of Mini-SEED records created by SeedLink. The value must be steim1 or steim2. If omitted, the global encoding parameter is used.

backfill_buffer¶

Type: float

Unit: s

Enable backfilling buffer for out-of-order records when raw samples are transmitted. This values defines its capacity in seconds. Default is 0.

proc¶

Type: string

Name of the proc object uniquely defined in a seedlink template file, e.g. $SEISCOMP_ROOT/share/templates/seedlink/streams_{name}.tpl. proc is used for processing, e.g. renaming or resampling of raw streams (streams submitted by a plugin as raw samples). The template file is used to generate $SEISCOMP_ROOT/var/lib/seedlink/streams.xml .

Example template: $SEISCOMP_ROOT/share/templates/seedlink/streams_stream100.tpl

sources¶

Type: list:string

Defines a list of extension bindings to be used. Each binding can then be configured individually.

Available identifiers: antelope caps chain dr24 echopro_3ch100hz echopro_6ch200hz edata ewexport ewexport_pasv fs_mseed hrd24 liss m24 minilogger miscScript miscSerial mk6 mppt mseedfifo mseedscan mws naqs nmxp ps2400_eth q330 reftek sadc scream scream_ring vaisala wago wave24 win

# param1 and param2 are just placeholders.
sources = antelope, caps
sources.antelope1.param1 = value11
sources.antelope1.param2 = value12
sources.caps2.param1 = value21
sources.caps2.param2 = value22

# To use the same binding twice, aliases must be used.
# Aliases are created by prepending a unique name followed by a colon
sources = antelope, antelope_2:antelope
sources.antelope.param1 = value11
sources.antelope.param2 = value12
sources.antelope_2.param1 = value21
sources.antelope_2.param2 = value22

antelope¶

Antelope ORB (TCP/IP)

sources.antelope.select¶

Type: string

Regular expression to match ORB packets, default is all waveform data. Default is *.

sources.antelope.address¶

Type: string

Hostname or IP of the Antelope ORB. Default is localhost.

sources.antelope.port¶

Type: int

Port of the Antelope ORB. Default is 39136.

sources.antelope.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples).

caps¶

Transfers data from CAPS to SeedLink server

sources.caps.address¶

Type: string

CAPS URL to fetch data from, format: [[caps|capss]://][user:pass@]host[:port] Default is localhost:18002.

sources.caps.streams¶

Type: string

Comma separated list of streams. Stream format is [LOC.CHA]. Streams may contain wildcards Default is *.*.

sources.caps.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples).

chain¶

Seedlink server (TCP/IP)

sources.chain.address¶

Type: string

Hostname or IP of the Seedlink server. Default is geofon.gfz-potsdam.de.

sources.chain.port¶

Type: int

Port of the Seedlink server Default is 18000.

sources.chain.selectors¶

Type: list:string

List of stream selectors. If left empty all available streams will be requested. See slinktool manpage for more information.

sources.chain.station¶

Type: string

Defines the input station if different from the stations code. Usually leave this parameter unconfigured. If configured and different from the stations code the station code will be renamed to match the local station code.

sources.chain.network¶

Type: string

Defines the input network if different from the stations network. Usually leave this parameter unconfigured. If configured and different from the stations network code the network code will be renamed to match the local network code.

sources.chain.group¶

Type: string

Usually stations with the same source addresses and dialup options are grouped together and managed by a chain plugin process. You can give here an additional group ID. Available placeholders are $NET and $STA that are replaced by the network code or station code. Whitespaces are replaced by underscores when generating chain.xml.

sources.chain.defaultTimingQuality¶

Type: int

The default timing quality is used when unpacking data that does not contain blockette 1001, that allows SeedLink to construct blockette 1001 for downsampled data.

sources.chain.overlapRemoval¶

Type: string

If overlap removal is set to “initial” or “full”, then earlier records will be discarded (record number is used in case several subsequent records have the same header time). All other values are treated as “none”. Leave this option unset unless you know what you are doing.

sources.chain.batchmode¶

Type: boolean

If enabled then the chain plugin tries to subscribe for channels with the BATCH command which is magnitudes faster than the old handshake. Not all SeedLink servers support the BATCH mode so it needs to be turned off in case of problems. Default is true.

sources.chain.dialup.enable¶

Type: boolean

Enables dialup mode. Needs schedule and uptime to be set accordingly. Default is false.

sources.chain.dialup.uptime¶

Type: int

Unit: s

Dialup uptime in seconds. Default is 600.

sources.chain.dialup.schedule¶

Type: string

The dialup schedula in cron format. Default is 0,30 * * * *.

sources.chain.dialup.ifup¶

Type: string

An optional dialup ifup script.

sources.chain.dialup.ifdown¶

Type: string

An optional dialup ifdown script.

sources.chain.channels.rename¶

Type: list:string

Allows to rename channels. This is a list of strings where each item defines one mapping in the format “SRC_LOCCHA:DST_LOCCHA”. Either SRC_LOCCHA or DST_LOCCHA may contain wildcard characters (question mark) and the location code (LOC) in both identifiers is optional.

sources.chain.channels.unpack¶

Type: list:string

Allows to unpack channels instead of sending them as miniseed to Seedlink. Unpacked streams can be downsampled by Seedlink. This is a list of strings where each item defines one unpack mapping in the format “SRC_LOCCHA:DST_ID:1” where DST_ID can be an arbitrary channel id which must match the definition of a stream in streams.xml. The last “:1” is optional and defines if the unpacked data should be doubled (duplicate each sample). In case rename mappings are active, SRC_LOCCHA referes to the final channel name after renaming.

dr24¶

Geotech DR24 (serial plugin)

sources.dr24.comport¶

Type: string

Serial port. Default is /dev/data.

sources.dr24.baudrate¶

Type: int

Baud rate. Default is 19200.

sources.dr24.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples). Default is dr24_20.

echopro_3ch100hz¶

Kelunji Echo/EchoPro serial plugin (3 Ch, 200 Hz)

sources.echopro_3ch100hz.comport¶

Type: string

Serial Port. Default is /dev/ttyS0.

sources.echopro_3ch100hz.proc¶

Type: string

Name of stream processing scheme. Default is echopro_100.

echopro_6ch200hz¶

Kelunji Echo/EchoPro serial plugin (6 Ch, 100 Hz)

sources.echopro_6ch200hz.comport¶

Type: string

Serial Port. Default is /dev/ttyS0.

sources.echopro_6ch200hz.proc¶

Type: string

Name of stream processing scheme. Default is echopro_200.

edata¶

EarthData PS6-24 (serial plugin)

sources.edata.comport¶

Type: string

Serial port. Default is /dev/data.

sources.edata.baudrate¶

Type: int

Baud rate. Default is 115200.

sources.edata.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples). Default is edata_100.

ewexport¶

Earthworm export server (TCP/IP)

sources.ewexport.address¶

Type: string

Hostname or IP of the Earthworm export server.

sources.ewexport.port¶

Type: int

Port of the Earthworm export server.

sources.ewexport.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples).

sources.ewexport.heartbeat.message¶

Type: string

Text for heartbeat to server. Default is alive.

sources.ewexport.heartbeat.rate¶

Type: int

Rate at which to expect heartbeats from server in seconds. Default is 120.

ewexport_pasv¶

Earthworm passive export server (TCP/IP)

sources.ewexport_pasv.address¶

Type: string

Bind IP of the Earthworm passive export server.

sources.ewexport_pasv.port¶

Type: int

Port of the Earthworm passive export server.

sources.ewexport_pasv.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples).

sources.ewexport_pasv.heartbeat.message¶

Type: string

Text for heartbeat to server. Default is alive.

sources.ewexport_pasv.heartbeat.rate¶

Type: int

Rate at which to expect heartbeats from server in seconds. Default is 120.

fs_mseed¶

Mini-SEED file plugin

sources.fs_mseed.input_type¶

Type: string

Default is ddb.

sources.fs_mseed.data_format¶

Type: string

Default is mseed.

sources.fs_mseed.location¶

Type: path

Default is @ROOTDIR@/var/lib/seedlink/indata.

sources.fs_mseed.pattern¶

Type: string

“pattern” is a POSIX extended regular expression that must match input file names (useful for filtering out non-data files). For example “BH[NEZ]” would match any files that contained “BHE”, “BHN” or “BHZ”. If no pattern is specified all files will be processed.

sources.fs_mseed.scan_level¶

Type: int

Look for data files at the 1st or 2nd directory level. Default is 2.

sources.fs_mseed.move_files¶

Type: boolean

Move file to subdirectory “processed” before starting to read it. Default is true.

sources.fs_mseed.delete_files¶

Type: boolean

Delete processed files. Default is false.

sources.fs_mseed.use_timestamp¶

Type: boolean

Look only for files that are newer than the last file processed. Default is false.

sources.fs_mseed.timestamp_file¶

Type: path

Timestamp file is used to save the modification time of the last file processed. Default is @ROOTDIR@/var/run/seedlink/fs_mseed.tim.

sources.fs_mseed.polltime¶

Type: int

Unit: s

New files are searched for every “polltime” seconds. Default is 10.

sources.fs_mseed.delay¶

Type: int

Unit: s

Wait until the file is at least n seconds old, before trying to read it. Default is 30.

sources.fs_mseed.verbosity¶

Type: int

Tells how many debugging messages are printed. Default is 1.

sources.fs_mseed.zero_sample_limit¶

Type: int

Maximum number of consecutive zeros in datastream before data gap will be declared (-1 = disabled). Default is 10.

sources.fs_mseed.default_timing_quality¶

Type: int

If timing quality is not available, use this value as default (-1 = disabled). Default is -1.

sources.fs_mseed.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples).

Note

sources.fs_mseed.channels.* Channel definitions (Mini-SEED streams are defined in streams.xml, look for <proc name=”generic_3x50”>).

Note

sources.fs_mseed.channels.$name.* $name is a placeholder for the name to be used.

sources.fs_mseed.channels.$name.source_id¶

Type: string

No description available

hrd24¶

Nanometrics HRD24 (serial plugin)

sources.hrd24.comport¶

Type: string

Serial port. Default is /dev/data.

sources.hrd24.baudrate¶

Type: int

Baud rate. Default is 19200.

sources.hrd24.bundles¶

Type: int

Number of bundles in packet. Default is 59.

sources.hrd24.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples). Default is hrd24_100.

liss¶

LISS server (TCP/IP)

sources.liss.address¶

Type: string

Hostname or IP of the LISS server. Default is "$STATION.$NET.liss.org".

sources.liss.port¶

Type: int

Port of the LISS server Default is 4000.

m24¶

Lennartz M24

sources.m24.comport¶

Type: string

Serial port. Default is /dev/data.

sources.m24.baudrate¶

Type: int

Baud rate. Default is 19200.

sources.m24.time_offset¶

Type: int

Time offset in usecs. Default is 0.

sources.m24.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples). Default is m24_100.

minilogger¶

SEP064 USB Seismometer Interface

sources.minilogger.port_path_hint¶

Type: string

Device path and name of port for USB Seismometer Interface. If the specified port cannot be opened or is not a USB Seismometer Interface device, all available ports will be scanned. Default is /dev/ttyACM0.

sources.minilogger.allow_set_interface_attribs¶

Type: int

Allow low-level setting of port interface attributes when available ports are scanned to find a USB Seismometer Interface device, 0=NO, 1=Yes. Setting 1 (=Yes) may help successful detection and correct reading of the USB Seismometer Interface device, particularly for the RasberryPi, but can have adverse effects on other devices, terminals, etc. open on the system. Default is 1.

sources.minilogger.mswrite_header_sample_rate¶

Type: double

Sets a fixed sample rate to report in the miniseed file header. The default (-1) sets an estimated sample rate based on recent packet start times. This estimated sample rate will vary slightly over time, potentially producing errors in some software when reading the miniseed files. See also: nominal_sample_rate Default is -1.

sources.minilogger.mswrite_data_encoding_type¶

Type: string

SEED data encoding type for writing miniseed files. Supported values are: INT16, INT32, STEIM1, STEIM2 Default is STEIM2.

sources.minilogger.channel_prefix¶

Type: string

The initial letters to set for the miniseed header ‘channel’, will be prepended to the component. Default is SH.

sources.minilogger.component¶

Type: string

Component of seismogram, one of Z, N or E. Default is Z.

sources.minilogger.do_settings_sep064¶

Type: int

Set sample rate and gain on SEP 064 device, 0=NO, 1=Yes. Default is 1.

sources.minilogger.nominal_sample_rate¶

Type: int

Nominal sample rate per second, one of 20, 40 or 80. Default is 80.

sources.minilogger.nominal_gain¶

Type: int

Nominal gain, one of 1, 2 or 4. Default is 4.

miscScript¶

Misceallaneous script

sources.miscScript.script_path¶

Type: string

Script path.

sources.miscScript.script_args¶

Type: string

Script arguments.

sources.miscScript.proc¶

Type: string

Name of the proc object used for channel naming (and eventually down sampling). If this field is left to default (auto), a basic proc (without decimation) will be automatically generated. Default is auto.

sources.miscScript.channels¶

Type: string

Names of the channels. These names are only used if you choose to automatically generate the proc. Nevertheless, even if you are not using the auto proc, it is important to declare correctly this list as the number of channels is used to size the internal plugin’s buffers. If you do not want seedlink to use one of the channels, replace it names with “none”. Example : 01HHZ,none,none,02HHZ,HHE,HHN Default is HHZ,HHN,HHE.

sources.miscScript.sample_frequency¶

Type: string

Sampling frequency. Must be integer or a fraction of integers. Default is 1.

sources.miscScript.flush_period¶

Type: int

This parameter aims at enforcing the sending of seedlink data blocks (512bytes) even if they are not yet full. 0 means no enforcing. Default is 0.

miscSerial¶

Miscellaneous ASCII serial Plugin (serial plugin)

sources.miscSerial.comport¶

Type: string

Serial port. Default is /dev/data.

sources.miscSerial.baudrate¶

Type: int

Baud rate. Default is 9600.

sources.miscSerial.proc¶

Type: string

Name of the proc object used for channel naming (and eventually down sampling). If this field is left to default (auto), a basic proc (without decimation) will be automatically generated. Default is auto.

sources.miscSerial.channels¶

Type: string

Names of the channels. These names are only used if you choose to automatically generate the proc. Nevertheless, even if you are not using the auto proc, it is important to declare correctly this list as the number of channels is used to size the internal plugin’s buffers. If you do not want seedlink to use one of the channels, replace it names with “none”. Example : 01HHZ,none,none,02HHZ,HHE,HHN Default is HHZ,HHN,HHE.

sources.miscSerial.sample_frequency¶

Type: string

Sampling frequency. Must be integer or a fraction of integers. Default is 1.

sources.miscSerial.flush_period¶

Type: int

This parameter aims at enforcing the sending of seedlink data blocks (512bytes, even if they are not yet full. 0 means no enforcing. Default is 0.

sources.miscSerial.serial_clock_period¶

Type: int

If this parameter is not 0, a date frame (“YYYY,mm,dd hh:mm:ss\n”) will be send on serial port every serial_clock_period seconds. Default is 0.

mk6¶

MK6

sources.mk6.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples).

mppt¶

SunSaver MPPT via Modbus TCP/IP

sources.mppt.address¶

Type: string

Hostname or IP.

sources.mppt.port¶

Type: int

TCP port. Default is 502.

sources.mppt.channels¶

Type: list:string

List of channels.

sources.mppt.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples). Default is mppt.

mseedfifo¶

mseedfifo_plugin

mseedscan¶

MseedScan transfers new or changed miniSEED files from a directory to a SeedLink server. It recursively a directory structures and continuously checks for file modifications. The files are presumed to be composed of Mini-SEED records of 512 Bytes. As the files are appended or created the plugin will feed the new records to the controlling SeedLink server.

sources.mseedscan.dir¶

Type: string

Directory to scan.

mws¶

MWS (serial plugin)

sources.mws.comport¶

Type: string

Serial port. Default is /dev/weatherstation.

sources.mws.baudrate¶

Type: int

Baud rate. Default is 19200.

sources.mws.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples). Default is mws.

naqs¶

NAQS (TCP/IP)

sources.naqs.address¶

Type: string

Address of server, required. Default is localhost.

sources.naqs.port¶

Type: int

Specify the NAQS control/data port. Default is 28000.

sources.naqs.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples). Default is naqs_bb40_sm100.

nmxp¶

NAQS (TCP/IP) with nmxptool. nmxptool is not part of SeisComP and needs to be installed under $INSTALLDIR/share/plugins/seedlink/.

sources.nmxp.address¶

Type: string

Hostname or IP of the NAQS server. Default is idahub.ucsd.edu.

sources.nmxp.port¶

Type: int

TCP port of the NAQS server. Default is 28000.

sources.nmxp.max_latency¶

Type: int

Max latency in seconds (time to wait for missing packets). Default is 300.

sources.nmxp.short_term_completion¶

Type: int

Short-Term-Completion (default -1).

-1 is for Raw Stream, no Short-Term-Completion. Packets contain compressed data.

0 decompressed packets are received in chronological order without waiting for missing packets.

[1..300] decompressed packets are received in chronological order but waiting for missing packets at most SECs seconds. This requires NaqsServer version greater than 1.90. Default is -1.

sources.nmxp.additional_options¶

Type: string

Defines additional options passed to nmxptool.

sources.nmxp.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples). Default is naqs_bb40_sm100.

ps2400_eth¶

The ps2400_eth plug-in fetches data from a Earth Data PS2400/PS6-24 digitizer (firmware >= 2.23) using TCP/IP. Other configurable parameters are in $SEISCOMP_ROOT/share/templates/seedlink/ps2400_eth/plugins.ini.tpl.

sources.ps2400_eth.address¶

Type: string

IP of the Earth Data PS2400/PS6-24 digitizer. Default is 127.0.0.1.

sources.ps2400_eth.port¶

Type: int

Port of the Earth Data PS2400/PS6-24 digitizer. Default is 1411.

sources.ps2400_eth.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples). Default is ps2400_eth_edata_100.

q330¶

Quanterra Q330 (UDP/IP)

sources.q330.address¶

Type: string

Hostname or IP.

sources.q330.port¶

Type: int

Source port to receive data packets. Default is 5330.

sources.q330.udpport¶

Type: string

UDP port. Default is auto.

sources.q330.proc¶

Type: string

Name of the proc object uniquely defined in a template file of the q330 plugin e.g. $SEISCOMP_ROOT/share/templates/seedlink/q330/streams_{name}.tpl. proc is used for processing, e.g. renaming or resampling of raw streams (streams submitted by a plugin as raw samples). The template file is used to generate $SEISCOMP_ROOT/var/lib/seedlink/streams.xml .

Example template: $SEISCOMP_ROOT/share/templates/seedlink/q330/streams_q330_100.tpl

If proc is not given, the streams are taken as provided by the DAS.

sources.q330.slot¶

Type: int

Q330 dataport number (1-4). Default is 1.

sources.q330.serial¶

Type: string

Q330 serial number (with 0x prefix). Default is 0x0100000123456789.

sources.q330.auth¶

Type: string

Q330 auth code (with 0x prefix). Default is 0x00.

reftek¶

RefTek RTPD (TCP/IP)

sources.reftek.address¶

Type: string

Hostname or IP of the RTPD server. Default is 127.0.0.1.

sources.reftek.port¶

Type: int

Port of the RTPD server. Default is 2543.

sources.reftek.map¶

Type: string

Defines an alternative unit mapping file. The default file is in $INSTALLDIR/var/lib/seedlink/reftek2sl.map. If this path is not an absolute path it will treated as relative path to $INSTALLDIR/var/lib/seedlink. The map file is used if the unit is not explictly given in the binding. Each line in the file is one mapping from a unit to a station name. The first column is the unit id e.g. 91F3 and the second column the Seedlink station name e.g. ABCD.

sources.reftek.unit¶

Type: string

The unit id. Default is 91F3.

sources.reftek.proc¶

Type: string

Name of the proc object uniquely defined in a template file of the reftek plugin e.g. $SEISCOMP_ROOT/share/templates/seedlink/reftek/streams_{name}.tpl. proc is used for processing, e.g. renaming or resampling of raw streams (streams submitted by a plugin as raw samples). The template file is used to generate $SEISCOMP_ROOT/var/lib/seedlink/streams.xml .

Example template: $SEISCOMP_ROOT/share/templates/seedlink/reftek/streams_reftek.tpl Default is reftek.

sources.reftek.timeout¶

Type: int

Unit: s

Timeout length in seconds. If no data is received from a Reftek unit during this period, the plugin assumes that the unit is disconnected. Default is 60.

sources.reftek.default_tq¶

Type: int

Default timing quality in percents. This value will be used when no timing quality information is available. Can be -1 to omit the blockette 1001 altogether. Default is 40.

sources.reftek.unlock_tq¶

Type: int

Timing quality to use when GPS is out of lock. Default is 10.

sources.reftek.log_soh¶

Type: boolean

Send Reftek state-of-health data as Mini-SEED LOG stream. Default is true.

sadc¶

SADC10/18/20/30 (serial plugin)

sources.sadc.comport¶

Type: string

Serial port. Default is /dev/data.

sources.sadc.baudrate¶

Type: int

Baud rate. Default is 38400.

sources.sadc.pctime¶

Type: int

Use PC time for initial time setting. Default is 0.

sources.sadc.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples). Default is sadc_100.

scream¶

SCREAM! server (TCP/UDP/IP) plugin that receives data via the SCREAM! protocol and sends raw data to Seedlink. The mapping from SCREAM! channel id’s to Seedlink net.sta.loc.cha is defined in $INSTALLDIR/var/lib/seedlink/config/scream2sl.map if not specified otherwise (parameter ‘map’).

sources.scream.address¶

Type: string

IP of the SCREAM! server. Default is 127.0.0.1.

sources.scream.port¶

Type: int

Port of the SCREAM! Default is 1567.

sources.scream.tcp¶

Type: boolean

Enables TCP/IP mode. By default the data is received via UDP but TCP is used instead. This needs a propert configuration of the SCREAM! server to accept TCP connections. Default is false.

sources.scream.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples).

sources.scream.map¶

Type: string

Defines an alternative stream mapping file. The default file is in $INSTALLDIR/var/lib/seedlink/scream2sl.map. If this path is not an absolute path it will treated as relative path to $INSTALLDIR/var/lib/seedlink.

sources.scream.channels¶

Type: list:string

Defines the channel mappings (ID:channel, …) from SCREAM! to the channel code used in streams.xml. If no channel mappings are given, the map file defined in map (either default or custom) is used.

scream_ring¶

SCREAM! server plugin that receives data via the SCREAM! protocol and sends raw data to Seedlink. The mapping from SCREAM! channel id’s to Seedlink net.sta.loc.cha is defined in $INSTALLDIR/var/lib/seedlink/config/scream2sl.map if not specified otherwise (parameter ‘map’). This is the second revision of the scream plugin which supports buffering for short-term completeness.

sources.scream_ring.address¶

Type: string

IP of the SCREAM! server. Default is 127.0.0.1.

sources.scream_ring.port¶

Type: int

Port of the SCREAM! Default is 1567.

sources.scream_ring.tcp¶

Type: boolean

Enables TCP/IP mode. By default the data is received via UDP but TCP is used instead. This needs a propert configuration of the SCREAM! server to accept TCP connections. Default is false.

sources.scream_ring.tcpport¶

Type: int

TCP request port of the SCREAM! for backfill requests Default is 1567.

sources.scream_ring.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples).

sources.scream_ring.rsize¶

Type: int

Size of the stream ringbuffers (small values are useful for RT systems; large values for decreasing gaps). Default is 1000.

sources.scream_ring.map¶

Type: string

Defines an alternative stream mapping file. The default file is in $INSTALLDIR/var/lib/seedlink/scream2sl.map. If this path is not an absolute path it will treated as relative path to $INSTALLDIR/var/lib/seedlink.

sources.scream_ring.channels¶

Type: list:string

Defines the channel mappings (ID:channel, …) from SCREAM! to the channel code used in streams.xml. If no channel mappings are given, the map file defined in map (either default or custom) is used.

vaisala¶

Vaisala ASCII protocol (serial plugin)

sources.vaisala.comport¶

Type: string

Serial port. Default is /dev/weatherstation.

sources.vaisala.baudrate¶

Type: int

Baud rate. Default is 19200.

sources.vaisala.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples). Default is mws.

wago¶

WAGO Controller (T-Elektronik)

sources.wago.address¶

Type: string

Hostname or IP.

sources.wago.port¶

Type: int

TCP port. Default is 502.

sources.wago.channels¶

Type: list:string

List of channels.

sources.wago.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples). Default is wago.

wave24¶

Wave24

sources.wave24.comport¶

Type: string

Serial port. Default is /dev/data.

sources.wave24.baudrate¶

Type: int

Baud rate. Default is 57600.

sources.wave24.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples). Default is wave24bb.

win¶

WIN server

sources.win.udpport¶

Type: int

UDP port to receive data packets. Default is 18000.

sources.win.map¶

Type: string

Defines an alternative stream mapping file. The default file is in $INSTALLDIR/var/lib/seedlink/win2sl.map. If this path is not an absolute path it will treated as relative path to $INSTALLDIR/var/lib/seedlink.

sources.win.channels¶

Type: list:string

List of channels (hexID:name, …). The name can either be a single channel name or a combination of station and channel separated by a whitespace, e.g. “ABCD BHZ”. If no station name is given, e.g. only BHZ is specified, the name of the station the plugin bound to is used. The definition of a station name is important if the plugin configuration is used as a profile and assigned to multiple stations. In this case a mapping file would be the more appropriate solution.

If no channel mappings are given, the map file defined in map (either default or custom) is used.

sources.win.proc¶

Type: string

Name of the proc object (defined in streams.xml); used for processing raw streams (streams submitted by a plugin as raw samples). Default is win.

Quick search

Table of Contents

  • seedlink
    • Description
      • Supported data sources
      • Telnet interface
      • Queries
    • Protocol
      • Handshaking
      • Data Transfer
      • Commands
    • Plugin Interface
    • Compatibility with Earlier Versions
    • SeedLink configuration files
      • seedlink.ini
      • streams.xml
    • References
    • Configuration
      • caps extension
      • mseedfifo extension
      • q330 extension
      • chain extension
    • Bindings
      • Configuration
        • antelope
        • caps
        • chain
        • dr24
        • echopro_3ch100hz
        • echopro_6ch200hz
        • edata
        • ewexport
        • ewexport_pasv
        • fs_mseed
        • hrd24
        • liss
        • m24
        • minilogger
        • miscScript
        • miscSerial
        • mk6
        • mppt
        • mseedfifo
        • mseedscan
        • mws
        • naqs
        • nmxp
        • ps2400_eth
        • q330
        • reftek
        • sadc
        • scream
        • scream_ring
        • vaisala
        • wago
        • wave24
        • win

Previous topic

scwfas

Next topic

slarchive

This Page

  • Show Source
Version 4.9.3 Release
Copyright © gempa GmbH, GFZ Potsdam.