从 SC3ML 文件读取对象(事件、初动等),发送对象至消息系统
发送来自 SC3ML 文件的对象,默认为添加:
scdispatch -i test.xml
发送一个更新:
scdispatch -i test.xml -O update
移除一个对象:
scdispatch -i test.xml -O remove
SC3ML 对象的子集:
scdispatch -i test.xml
scdispatch -i test.xml \
--routingtable Pick:PICK, \
Arrival:ARRIVAL,Amplitude:AMPLITUDE, \
Origin:LOCATION,StationMagnitude:MAGNITUDE, \
StationMagnitudeContribution:MAGNITUDE, \
Magnitude:MAGNITUDE
测试
mysql -u root --password='my$q1' -e "DROP DATABASE IF EXISTS seiscomp3; \
CREATE DATABASE seiscomp3 CHARACTER SET utf8 COLLATE utf8_bin; \
GRANT ALL ON seiscomp3.* TO 'sysop'@'localhost' IDENTIFIED BY 'sysop'; \
USE seiscomp3;source seiscomp3/trunk/share/db/mysql.sql;"
seiscomp start
etc/defaults/global.cfg
etc/defaults/scdispatch.cfg
etc/global.cfg
etc/scdispatch.cfg
~/.seiscomp3/global.cfg
~/.seiscomp3/scdispatch.cfg