Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config File and Event Criterias #35

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
133 changes: 133 additions & 0 deletions seedlink_plotter/config_drum.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
--- Configuration File (Drum Plot) ---


----------------------------------------------------------------------------
line_plot = False
# Regular real time plot for single station.
----------------------------------------------------------------------------

############################################################################

# All about the data:
----------------------------------------------------------------------------
----------------------------------------------------------------------------
seedlink_streams=GE_STU:BHZ
# The seedlink stream selector string.
; Format:stream1[:selectors1],stream2[:selectors2],...
; "stream" 'in "NETWORK"_"STATION" format
; "selector" a space separated "list of "LOCATION""CHANNEL",
----------------------------------------------------------------------------
seedlink_server=geofon.gfz-potsdam.de:18000
# The seedlink server to connect to with port
----------------------------------------------------------------------------
update_time = 10
# 'time in seconds between each graphic update.'
; The following suffixes can be used as well:
; "s" for seconds
; "m" for minutes
; "h" for hours
; "d" for days.'
dominik-strutz marked this conversation as resolved.
Show resolved Hide resolved
----------------------------------------------------------------------------
equal_scale = True
# Only relevant for multiple plots.
# Equal scale True: Multiple plots are all plotted with the same Plot scale,
# Equal scale False: Multiple plots are all plotted with an individuall scale.
;If relative scale is False it both are the same.
relative_scale = True
scale=10
# Only relevant for dayplots.
# Scale to apply on the data.
# Relative scale True: The plot scale is dynamiclly set to the standard deviation
; and multiplied with the value of scale.
# Relative scale False: The plot scale is directly set to the scale value.
----------------------------------------------------------------------------
backtrace_time = 12h
# The number of seconds to plot (3600=1h,86400=24h).
; The following suffixes can be used as well:
; "m" for minutes
; "h" for hours
; "d" for days.'
----------------------------------------------------------------------------
remove_response = True
# If true trys instrument response gets removed
----------------------------------------------------------------------------
----------------------------------------------------------------------------

############################################################################

# All about Events
----------------------------------------------------------------------------
----------------------------------------------------------------------------
events_criteria = 5,10,0,180;4,10,0,50;2,10,0,10
# Plot events using obspy.neries,
;Specify: event_criteria1; event_criteria2; ...
;event_criteria1: Minimum_Magnitude, Maximum_magnitude, Minimum_Radius, Maximum_Radius
;if no events should show up: None
----------------------------------------------------------------------------
events_update_time = 10
# Time in minutes between each event data update.
; The following suffixes can be used as well:
; "m" for minutes
; "h" for hours
; "d" for days.'
----------------------------------------------------------------------------
----------------------------------------------------------------------------

############################################################################

#All about Layout
----------------------------------------------------------------------------
----------------------------------------------------------------------------
x_scale= 60
# The number of minute to plot per line'
; The following suffixes can be used as well:
; "s" for seconds
; "m" for minutes
; "h" for hours.
----------------------------------------------------------------------------
x_position = 200
# The x position of the graph
----------------------------------------------------------------------------
y_position = 50
# The y position of the graph
----------------------------------------------------------------------------
x_size = 800
# The x size of the graph
----------------------------------------------------------------------------
y_size = 600
# The y size of the graph
----------------------------------------------------------------------------
title_size = 10
# The title size of each station in multichannel'
----------------------------------------------------------------------------
time_legend_size = 10
# The size of time legend in multichannel
----------------------------------------------------------------------------
tick_format = None
# The tick format of time legend
----------------------------------------------------------------------------
time_tick_nb = 10
# The number of time tick'
----------------------------------------------------------------------------
without-decoration = False
# The graph window will have no decorations. that means the
# window is not controlled by the window manager and can only
# be closed by killing the respective process.
----------------------------------------------------------------------------
rainbow = False
# Rainbow colours instead of red, vlue, green, back in drum plot
----------------------------------------------------------------------------
nb_rainbow_colors = 10
# Number of different rainbow colours
----------------------------------------------------------------------------
fullscreen = False
# Set to full screen on startup
----------------------------------------------------------------------------
verbose = False
# show verbose debugging output
----------------------------------------------------------------------------
force = False
# Skip warning message and confirmation prompt
# when opening a window without decoration'


132 changes: 132 additions & 0 deletions seedlink_plotter/config_line.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
--- Configuration File (Line Plot) ---


----------------------------------------------------------------------------
line_plot = True
# Regular real time plot for single station.
----------------------------------------------------------------------------

############################################################################

# All about the data:
----------------------------------------------------------------------------
----------------------------------------------------------------------------
seedlink_streams=GE_DSB:BHZ
# The seedlink stream selector string.
; Format:stream1[:selectors1],stream2[:selectors2],...
; "stream" 'in "NETWORK"_"STATION" format
; "selector" a space separated "list of "LOCATION""CHANNEL",
----------------------------------------------------------------------------
seedlink_server=geofon.gfz-potsdam.de:18000
# The seedlink server to connect to with port
----------------------------------------------------------------------------
update_time = 1
# 'time in seconds between each graphic update.'
; The following suffixes can be used as well:
; "s" for seconds
; "m" for minutes
; "h" for hours
; "d" for days.'
----------------------------------------------------------------------------
equal_scale = True
# Only relevant for multiple plots.
# Equal scale True: Multiple plots are all plotted with the same Plot scale,
# Equal scale False: Multiple plots are all plotted with an individuall scale.
;If relative scale is False it both are the same.
relative_scale = True
scale=10
# Only relevant for dayplots.
# Scale to apply on the data.
# Relative scale True: The plot scale is dynamiclly set to the standard deviation
; and multiplied with the value of scale.
# Relative scale False: The plot scale is directly set to the scale value.
----------------------------------------------------------------------------
backtrace_time = 10m
# The number of seconds to plot (3600=1h,86400=24h).
; The following suffixes can be used as well:
; "m" for minutes
; "h" for hours
; "d" for days.'
----------------------------------------------------------------------------
remove_response = True
# If true trys instrument response gets removed
----------------------------------------------------------------------------
----------------------------------------------------------------------------

############################################################################

# All about Events
----------------------------------------------------------------------------
----------------------------------------------------------------------------
events_criteria = None
# Plot events using obspy.neries,
;Specify: event_criteria1; event_criteria2; ...
;event_criteria1: Minimum_Magnitude, Maximum_magnitude, Minimum_Radius, Maximum_Radius
;if no events should show up: None
----------------------------------------------------------------------------
events_update_time = 10
# Time in minutes between each event data update.
; The following suffixes can be used as well:
; "m" for minutes
; "h" for hours
; "d" for days.'
----------------------------------------------------------------------------
----------------------------------------------------------------------------

############################################################################

#All about Layout
----------------------------------------------------------------------------
----------------------------------------------------------------------------
x_scale= 60
# The number of minute to plot per line'
; The following suffixes can be used as well:
; "s" for seconds
; "m" for minutes
; "h" for hours.
----------------------------------------------------------------------------
x_position = 200
# The x position of the graph
----------------------------------------------------------------------------
y_position = 50
# The y position of the graph
----------------------------------------------------------------------------
x_size = 800
# The x size of the graph
----------------------------------------------------------------------------
y_size = 600
# The y size of the graph
----------------------------------------------------------------------------
title_size = 10
# The title size of each station in multichannel'
----------------------------------------------------------------------------
time_legend_size = 10
# The size of time legend in multichannel
----------------------------------------------------------------------------
tick_format = None
# The tick format of time legend
----------------------------------------------------------------------------
time_tick_nb = 10
# The number of time tick'
----------------------------------------------------------------------------
without-decoration = False
# The graph window will have no decorations. that means the
# window is not controlled by the window manager and can only
# be closed by killing the respective process.
----------------------------------------------------------------------------
rainbow = False
# Rainbow colours instead of red, vlue, green, back in drum plot
----------------------------------------------------------------------------
nb_rainbow_colors = 10
# Number of different rainbow colours
----------------------------------------------------------------------------
fullscreen = False
# Set to full screen on startup
----------------------------------------------------------------------------
verbose = False
# show verbose debugging output
----------------------------------------------------------------------------
force = False
# Skip warning message and confirmation prompt
# when opening a window without decoration'

Loading