SeisComP3 系统间的事件交换
scimex 管理不同 SeisComP3 系统间的 SC3 对象的实时交换。默认支持所有对象,包括拾取、振幅、初动、到时、台站震级、震级、震级参考等。
scimex 支持两个模块:import 和 export。
要在系统中运行几个 scimex 实例,需定义别名。
运行为导入模式:
seiscomp alias create scimex_import scimex
运行为导出模式:
seiscomp alias create scimex_export scimex
这时,配置可分为scimex_import.cfg
和scimex_export.cfg
。
scimex_import.cfg
:
connection.username = scimexIm
connection.server = localhost
mode = IMPORT
cleanupinterval = 86400
importHosts = import1
criteria.world.longitude = -180:180
criteria.world.latitude = -90:90
criteria.world.magnitude = 1:9
criteria.world.agencyID = ""
criteria.world.arrivalcount = 15
hosts.import1.address = localhost
# The criterion "world" has been defined above
hosts.import1.criteria = world
# optional and true per default
hosts.import1.filter = false
# optional and true per default
hosts.import1.useDefinedRoutingTable = true
hosts.import1.routingtable = Pick:IMPORT,StationAmplitude:IMPORT,
Origin:LOCATION,Arrival:LOCATION,
StationMagnitude:MAGNITUDE,
Magnitude:MAGNITUDE,
StationMagnitudeContribution:MAGNITUDE,
OriginReference:EVENT,Event:EVENT
scimex_export.cfg
:
connection.username="scimexEx"
connection.server = localhost
mode = EXPORT
cleanupinterval = 7200
exportHosts = exp1, exp2
# Match everything with magnitude above or equal 5
# and with more than 25 phases which comes from
# agency GFZ.
criteria.globalM5.latitude = -90:90
criteria.globalM5.longitude = -180:180
criteria.globalM5.magnitude = 5:10
criteria.globalM5.arrivalcount = 25
criteria.globalM5.agencyID = GFZ
# Export to a system which still runs a very old version. The
# messages need to be converted.
hosts.exp1.address = 192.168.0.3
hosts.exp1.criteria = globalM5
hosts.exp1.conversion = imexscdm0.51
hosts.exp2.address = 192.168.0.4
hosts.exp2.criteria = globalM5
etc/defaults/global.cfg
etc/defaults/scimex.cfg
etc/global.cfg
etc/scimex.cfg
~/.seiscomp3/global.cfg
~/.seiscomp3/scimex.cfg