Giter Club home page Giter Club logo

seedlink_plotter's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.