Install SeisComP and scanloc ARM64 nightly packages
This commit is contained in:
10
bin/sh2proc
10
bin/sh2proc
@ -86,7 +86,7 @@ class SH2Proc(seiscomp.client.Application):
|
||||
"""Usage:
|
||||
sh2proc [options]
|
||||
|
||||
Convert Seismic Handler event data to SeisComP XML format"""
|
||||
Convert Seismic Handler event data to SeisComP XML format which is sent to stdout."""
|
||||
)
|
||||
|
||||
seiscomp.client.Application.printUsage(self)
|
||||
@ -95,10 +95,10 @@ Convert Seismic Handler event data to SeisComP XML format"""
|
||||
"""Examples:
|
||||
Convert the Seismic Handler file shm.evt to SCML. Receive the database
|
||||
connection to read inventory and configuration information from messaging
|
||||
sh2proc shm.evt
|
||||
sh2proc shm.evt > event.xml
|
||||
|
||||
Read Seismic Handler data from stdin. Provide inventory and configuration in XML
|
||||
cat shm.evt | sh2proc --inventory-db=inventory.xml --config-db=config.xml
|
||||
cat shm.evt | sh2proc --inventory-db=inventory.xml --config-db=config.xml > event.xml
|
||||
"""
|
||||
)
|
||||
|
||||
@ -489,7 +489,7 @@ Read Seismic Handler data from stdin. Provide inventory and configuration in XML
|
||||
seiscomp.datamodel.IMPULSIVE,
|
||||
seiscomp.datamodel.QUESTIONABLE,
|
||||
]:
|
||||
if value == seiscomp.datamodel.EPickOnsetNames_name(onset):
|
||||
if value == seiscomp.datamodel.EPickOnsetNames.name(onset):
|
||||
pick.setOnset(onset)
|
||||
found = True
|
||||
break
|
||||
@ -524,7 +524,7 @@ Read Seismic Handler data from stdin. Provide inventory and configuration in XML
|
||||
seiscomp.datamodel.AUTOMATIC,
|
||||
seiscomp.datamodel.MANUAL,
|
||||
]:
|
||||
if value == seiscomp.datamodel.EEvaluationModeNames_name(mode):
|
||||
if value == seiscomp.datamodel.EEvaluationModeNames.name(mode):
|
||||
pick.setEvaluationMode(mode)
|
||||
found = True
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user