[seiscomp, scanloc] Install, add .gitignore

This commit is contained in:
2025-10-09 15:07:02 +02:00
commit 20f5301bb1
2848 changed files with 1315858 additions and 0 deletions

View File

@ -0,0 +1,7 @@
* template: $template
plugin $seedlink.source.id cmd="$seedlink.plugin_dir/nmxptool -H $sources.nmxp.address -P $sources.nmxp.port -S $sources.nmxp.short_term_completion -M $sources.nmxp.max_latency$sources.nmxp.additional_options -k"
timeout = 0
start_retry = 60
shutdown_wait = 10
proc = "$sources.nmxp.proc"

View File

@ -0,0 +1,44 @@
import os
'''
Plugin handler for the nmxptool plugin.
'''
class SeedlinkPluginHandler:
# Create defaults
def __init__(self):
pass
def push(self, seedlink):
# Check and set defaults
address = "idahub.ucsd.edu"
try: address = seedlink.param('sources.nmxp.address')
except: seedlink.setParam('sources.nmxp.address', address)
port = 28000
try: port = int(seedlink.param('sources.nmxp.port'))
except: seedlink.setParam('sources.nmxp.port', port)
max_latency = 300
try: max_latency = int(seedlink.param('sources.nmxp.max_latency'))
except: seedlink.setParam('sources.nmxp.max_latency', max_latency)
short_term_completion = -1
try: short_term_completion = int(seedlink.param('sources.nmxp.short_term_completion'))
except: seedlink.setParam('sources.nmxp.short_term_completion', short_term_completion)
try: seedlink.param('sources.nmxp.proc')
except: seedlink.setParam('sources.nmxp.proc', 'naqs_bb40_sm100')
additional_options = ""
try: additional_options = " " + seedlink.param('sources.nmxp.additional_options')
except: pass
seedlink.setParam('sources.nmxp.additional_options', additional_options)
# Key is address (one instance per address)
return address + ":" + str(port)
# Flush does nothing
def flush(self, seedlink):
pass

View File

@ -0,0 +1,28 @@
<proc name="naqs_bb40">
<tree>
<input name="BHZ" channel="Z" location="" rate="40"/>
<input name="BHN" channel="N" location="" rate="40"/>
<input name="BHE" channel="E" location="" rate="40"/>
<node stream="SH"/>
<node filter="F96C" stream="BH">
<node filter="F96C">
<node filter="ULP" stream="LH">
<node filter="VLP" stream="VH"/>
</node>
</node>
</node>
</tree>
</proc>
<proc name="naqs_sm100">
<tree>
<input name="ACZ" channel="Z" location="" rate="100"/>
<input name="ACN" channel="N" location="" rate="100"/>
<input name="ACE" channel="E" location="" rate="100"/>
<node stream="SL"/>
</tree>
</proc>
<proc name="naqs_bb40_sm100">
<using proc="naqs_bb40"/>
<using proc="naqs_sm100"/>
</proc>