sbonaime / seedlink_plotter

Seedlink_plotter A python script to plot real time seismic data from a seedlink server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seedlink-Plotter

A python script to plot real time seismic data from a seedlink server in drum style or line style

This version works with at least stable ObsPy version 1.3.0

On some linux box, the time zone must be set to UTC and not GMT

Installation

pip install https://github.com/bonaime/seedlink_plotter/archive/master.zip

Upgrade

pip install --upgrade https://github.com/bonaime/seedlink_plotter/archive/master.zip

Usage examples

Drum plots (with longer time range) and with events greater than 5.5:

seedlink-plotter -s "G_FDFM:00BHZ" --x_position 200 --y_position 50 --x_size 800 --y_size 600 -b 24h --scale 20000 --seedlink_server "rtserver.ipgp.fr:18000" --x_scale 60m --events 5.5

Singlechannel

Line plot with single station (with shorter time range):

seedlink-plotter -s "G_IVI:00BHZ" -b 10m --seedlink_server "rtserver.ipgp.fr:18000"  --line_plot

Plot_line

Line plots with multiple stations (with shorter time range):

seedlink-plotter -s "G_FDFM:00BHZ,G_SSB:00BHZ" --x_position 200 --y_position 50 --x_size 800 --y_size 600 -b 30m --seedlink_server "rtserver.ipgp.fr:18000" --update_time 2s
seedlink-plotter -s "G_FDFM:00BHZ 00BHN 00BHE" --x_position 200 --y_position 50 --x_size 800 --y_size 600 -b 30m --seedlink_server "rtserver.ipgp.fr:18000" --update_time 2s

Multichannel

Keyboard Controls

Keyboard controls only work without option --without-decoration!

  • f: toggle fullscreen
  • <Escape> or q: close window

Dependencies

  • Python 3.6
  • ObsPy 1.3.0
  • matplolib (>= 1.3.0)
  • scipy
  • numpy

About

Seedlink_plotter A python script to plot real time seismic data from a seedlink server

License:GNU Lesser General Public License v3.0


Languages

Language:Python 100.0%