qlpush¶
Module to send XML files to a QuakeLink server.
Description¶
qlpush is an application to populate the QuakeLink database with event parameters read from a SeisComP XML file. qlpush is part of the QuakeLink package.
Please read the command-line help for the options:
qlpush -h
Examples¶
Populate the QuakeLink database with the preferred event parameters from an existing SeisComP database of a particular type and on a particular host <type://user:password@host/database>.
Code example involving scevtls [4] and scxmldump [7]. The retrieved event paramters are re-directed to qlpush for sending to the QuakeLink server running on localhost:
scevtls --begin '2016-04-13 00:00:00' -d [database] | while read event; do echo "processing event $event" scxmldump -PAMFp -E $event -d [database] | qlpush done
Remove one event with ID gempa2022abcd from QuakeLink running on localhost:
qlpush -r gempa2022abcd
Module Configuration¶
etc/defaults/global.cfg
etc/defaults/qlpush.cfg
etc/global.cfg
etc/qlpush.cfg
~/.seiscomp/global.cfg
~/.seiscomp/qlpush.cfg
qlpush 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 Options¶
qlpush [options]
Options¶
- -H, --host arg¶
host and optional port to connect to, e.g. localhost:18011
- -h, --help¶
display this help message
- -s, --ssl¶
use secure socket layer (SSL)
- -p, --print-env¶
echo event id and revision of successfully sent files
- -r, --rm¶
remove the event