[seiscomp, scanloc] Install, add .gitignore
This commit is contained in:
31
share/templates/seedlink/m24/plugins.ini.tpl
Normal file
31
share/templates/seedlink/m24/plugins.ini.tpl
Normal file
@ -0,0 +1,31 @@
|
||||
* Generated at $date - Do not edit!
|
||||
* template: $template
|
||||
|
||||
[M24]
|
||||
|
||||
* Settings for the Lennartz M24 digitizer
|
||||
|
||||
* Station ID (network/station code is set in seedlink.ini)
|
||||
station = $seedlink.station.id
|
||||
|
||||
* Device for serial port
|
||||
device = $sources.m24.comport
|
||||
|
||||
* Speed for serial port
|
||||
speed = $sources.m24.baudrate
|
||||
|
||||
* Frame type on serial line
|
||||
frame-type = 0
|
||||
|
||||
* Sample interval in usecs
|
||||
sample-iv = 10000
|
||||
|
||||
* Time offset in usecs
|
||||
time-off = $sources.m24.time_offset
|
||||
|
||||
*
|
||||
resync-delay = 900
|
||||
|
||||
* Leapseconds file to use
|
||||
* leapseconds = /usr/src/share/zoneinfo/leapseconds
|
||||
|
7
share/templates/seedlink/m24/seedlink_plugin.tpl
Normal file
7
share/templates/seedlink/m24/seedlink_plugin.tpl
Normal file
@ -0,0 +1,7 @@
|
||||
* template: $template
|
||||
plugin M24 cmd = "$seedlink.plugin_dir/m24-plug -p $seedlink.config_dir"
|
||||
timeout = 600
|
||||
start_retry = 60
|
||||
shutdown_wait = 10
|
||||
proc = "$sources.m24.proc"
|
||||
|
29
share/templates/seedlink/m24/setup.py
Normal file
29
share/templates/seedlink/m24/setup.py
Normal file
@ -0,0 +1,29 @@
|
||||
import os
|
||||
|
||||
'''
|
||||
Plugin handler for the Lemmartz M24 plugin.
|
||||
'''
|
||||
class SeedlinkPluginHandler:
|
||||
# Create defaults
|
||||
def __init__(self): pass
|
||||
|
||||
def push(self, seedlink):
|
||||
# Check and set defaults
|
||||
try: seedlink.param('sources.m24.comport')
|
||||
except: seedlink.setParam('sources.m24.comport', '/dev/data')
|
||||
|
||||
try: seedlink.param('sources.m24.baudrate')
|
||||
except: seedlink.setParam('sources.m24.baudrate', 115200)
|
||||
|
||||
try: seedlink.param('sources.m24.time_offset')
|
||||
except: seedlink.setParam('sources.m24.time_offset', 0)
|
||||
|
||||
try: seedlink.param('sources.m24.proc')
|
||||
except: seedlink.setParam('sources.m24.proc', 'm24_100')
|
||||
|
||||
return None
|
||||
|
||||
|
||||
# Flush does nothing
|
||||
def flush(self, seedlink):
|
||||
pass
|
33
share/templates/seedlink/m24/streams_m24_100.tpl
Normal file
33
share/templates/seedlink/m24/streams_m24_100.tpl
Normal file
@ -0,0 +1,33 @@
|
||||
<proc name="m24_100">
|
||||
<tree>
|
||||
<input name="Z" channel="Z" location="" rate="100"/>
|
||||
<input name="N" channel="N" location="" rate="100"/>
|
||||
<input name="E" channel="E" location="" rate="100"/>
|
||||
<node stream="HH"/>
|
||||
|
||||
<!-- Uncomment this to enable 50Hz SH? streams -->
|
||||
<!-- -->
|
||||
<!-- <node filter="F96C" stream="SH"/> -->
|
||||
|
||||
<node filter="FS2D5" stream="BH">
|
||||
<node filter="F96C">
|
||||
<node filter="ULP" stream="LH">
|
||||
<node filter="VLP" stream="VH"/>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
</tree>
|
||||
<tree>
|
||||
<input name="Z1" channel="Z" location="" rate="100"/>
|
||||
<input name="N1" channel="N" location="" rate="100"/>
|
||||
<input name="E1" channel="E" location="" rate="100"/>
|
||||
<node stream="HN"/>
|
||||
</tree>
|
||||
<tree>
|
||||
<input name="T" channel="T" location="" rate="1"/>
|
||||
<input name="B" channel="B" location="" rate="1"/>
|
||||
<input name="X" channel="X" location="" rate="1"/>
|
||||
<input name="Y" channel="Y" location="" rate="1"/>
|
||||
<node stream="AE"/>
|
||||
</tree>
|
||||
</proc>
|
Reference in New Issue
Block a user