sc2ql¶
Import SeisComP event objects into a QuakeLink server.
Description¶
sc2ql is an application to export SeisComP objects, e.g. event parameters, from SeisComP to a QuakeLink server in real time. sc2ql is part of the QuakeLink suite/software package.
The application is demonstrated in the examples.
Please read the command-line help for the options:
sc2ql -h
Module Configuration¶
etc/defaults/global.cfg
etc/defaults/sc2ql.cfg
etc/global.cfg
etc/sc2ql.cfg
~/.seiscomp/global.cfg
~/.seiscomp/sc2ql.cfg
sc2ql 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
- QL.server¶
Default:
localhost:18011
Type: string
QuakeLink server to push data to
- QL.compression¶
Default:
false
Type: boolean
Compress messages pushed to QuakeLink with gzip
- QL.binary¶
Default:
false
Type: boolean
Encode messages in SeisComP binary format instead of SCML
- QL.fetchAllAmplitudes¶
Default:
false
Type: boolean
If enabled, then all amplitudes which reference an arrival of the preferred origin are included regardless of being referenced by a magnitude. Otherwise only the amplitudes are included which are referenced by the available station magnitudes.
- QL.onlyPublishedEvents¶
Default:
false
Type: boolean
An event is only forwarded to QuakeLink if the preferred origin contains a comment with text "OriginPublished".
- QL.indentation¶
Default:
false
Type: boolean
Use indentation for SCML encoding
- QL.bufferSize¶
Default:
128
Type: int
Buffer size in megabytes. If the QuakeLink server is not reachable buffer messages up to X mb in a ring buffer. If the server is reachable again all buffered messages will be sent first.
- QL.schema¶
Type: string
Defines the target schema version of the event XML files pushed to Quakelink. The default uses the current schema version. Format is [major].[minor][.[patch]]
Command-Line Options¶
sc2ql [options]
Generic¶
Verbosity¶
Messaging¶
Database¶
Sink¶
- --test¶
Test output and read SCML from stdin.
- -z, --gzip arg¶
Overrides configuration parameter
QL.compression
.
- -p, --pretty-print arg¶
Overrides configuration parameter
QL.indentation
.
- --end-buffer arg¶
Overrides configuration parameter
QL.bufferSize
.