[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,79 @@
* Generated at $date - Do not edit!
* template: $template
[$seedlink.source.id]
* Settings for the Earth Data PS2400/PS6-24 digitizer (firmware >= 2.23)
* Station ID (network/station code is set in seedlink.ini)
station=$seedlink.station.id
* Use the command 'serial_plugin -m' to find out which protocols are
* supported.
protocol=edata_r
* Port can be a serial port, pipe or "tcp://ip:port"
port=tcp://$sources.ps2400_eth.address:$sources.ps2400_eth.port
* Baud rate is only meaningful for a serial port.
bps=0
* lsb (defaults to 8): least significant bit (relative to 32-bit samples),
* normally 8 for 24-bit samples, but can be set for example to 7 to get
* 25-bit samples;
* statusinterval (defaults to 0): time interval in minutes when "state of
* health" information is logged, 0 means "disabled". State of health
* channels can be used independently of this option.
lsb=8
statusinterval=60
* Parameter 'time_offset' contains the amount of microseconds to be added
* to the time reported by the digitizer.
* 1.389 sec is possibly the correct offset if you have a version of the
* Earth Data digitizer with external GPS unit.
* time_offset=1389044
* Maximum number of consecutive zeros in datastream before data gap will be
* declared (-1 = disabled).
zero_sample_limit = -1
* Default timing quality in percents. This value will be used when no
* timing quality information is available. Can be -1 to omit the blockette
* 1001 altogether.
default_tq = 0
* Timing quality to use when GPS is out of lock
unlock_tq = 10
* Keyword 'channel' is used to map input channels to symbolic channel
* names. Channel names are arbitrary 1..10-letter identifiers which should
* match the input names of the stream processing scheme in streams.xml,
* which is referenced from seedlink.ini
channel Z source_id=0
channel N source_id=1
channel E source_id=2
channel Z1 source_id=3
channel N1 source_id=4
channel E1 source_id=5
* "State of health" channels (1 sps) have source IDs 6...19.
* Which Mini-SEED streams (if any) are created from these channels
* depends on the stream processing scheme.
channel S1 source_id=6
channel S2 source_id=7
channel S3 source_id=8
channel S4 source_id=9
channel S5 source_id=10
channel S6 source_id=11
channel S7 source_id=12
channel S8 source_id=13
* Channel 20 records the phase difference between the incoming GPS 1pps
* signal and the internal one second mark. One unit is 333 us.
channel PLL source_id=20

View File

@ -0,0 +1,7 @@
* template: $template
plugin $seedlink.source.id cmd = "$seedlink.plugin_dir/serial_plugin$seedlink._daemon_opt -v -f $seedlink.config_dir/plugins.ini"
timeout = 600
start_retry = 60
shutdown_wait = 10
proc = "$sources.ps2400_eth.proc"

View File

@ -0,0 +1,30 @@
import os
'''
Plugin handler for the EarthData PS6-24 plugin.
'''
class SeedlinkPluginHandler:
# Create defaults
def __init__(self): pass
def push(self, seedlink):
# Check and set defaults
try: seedlink.param('sources.ps2400_eth.address')
except: seedlink.setParam('sources.ps2400_eth.address', '127.0.0.1')
try: seedlink.param('sources.ps2400_eth.port')
except: seedlink.setParam('sources.ps2400_eth.port', 1411)
try: proc = seedlink.param('sources.ps2400_eth.proc')
except: seedlink.setParam('sources.ps2400_eth.proc', 'ps2400_eth_edata_100')
# Key is per station and configuration settings
key = ";".join([
str(seedlink.param('sources.ps2400_eth.address')),
str(seedlink.param('sources.ps2400_eth.port'))])
return key
# Flush does nothing
def flush(self, seedlink):
pass

View File

@ -0,0 +1,47 @@
<proc name="ps2400_eth_edata_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"/>
<!-- Uncomment this to enable 100Hz HH? streams -->
<!-- -->
<!-- <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"/>
<!-- Uncomment this to enable 100Hz HN? streams -->
<!-- -->
<!-- <node stream="HN"/> -->
<node filter="F96C" stream="SN"/>
</tree>
<tree>
<input name="S1" channel="1" location="" rate="1"/>
<input name="S2" channel="2" location="" rate="1"/>
<input name="S3" channel="3" location="" rate="1"/>
<input name="S4" channel="4" location="" rate="1"/>
<input name="S5" channel="5" location="" rate="1"/>
<input name="S6" channel="6" location="" rate="1"/>
<input name="S7" channel="7" location="" rate="1"/>
<input name="S8" channel="8" location="" rate="1"/>
<input name="PLL" channel="P" location="" rate="1"/>
<node stream="AE"/>
</tree>
</proc>