[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/naqs_plugin -v -t 300 -n $sources.naqs.address -N $seedlink.station.network -p $sources.naqs.port -c $sources.naqs.channels"
timeout = 600
start_retry = 60
shutdown_wait = 10
proc = "$sources.naqs.proc"

View File

@ -0,0 +1,33 @@
import os
'''
Plugin handler for the NRTS plugin.
'''
class SeedlinkPluginHandler:
# Create defaults
def __init__(self):
self.__channels = set()
pass
def push(self, seedlink):
address = "localhost"
try: address = seedlink.param('sources.naqs.address')
except: seedlink.setParam('sources.naqs.address', address)
port = 28000
try: port = int(seedlink.param('sources.naqs.port'))
except: seedlink.setParam('sources.naqs.port', port)
try: seedlink.param('sources.naqs.proc')
except: seedlink.setParam('sources.naqs.proc', 'naqs_bb40_sm100')
self.__channels.add(seedlink.param('seedlink.station.code'))
seedlink.setParam('sources.naqs.channels', ",".join(self.__channels))
# Key is address and network code
return (address + ":" + str(port), seedlink.param('seedlink.station.network'))
# 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>