NAME
display_smrspalarm - display strong motion response spectra alarm
SYNOPSIS
display_smrspalarm [-pf pfname] [-browse] {dbname [recno]|-}
DESCRIPTION
display_smrspalarm displays strong motion response spectra based alarms as produced
by
smrspalarm(1) and written to an output database by
orbpf2db(1).
OPTIONS
-
-pf pfname
Name of program parameter file.
The actual parameter file name is pfname.pf. If this argument
is not specified, then the default pfname is "display_smrspalarm".
-
-browse
If this is specified, then a database spreadsheet browsing window is displayed.
The particular alarm is displayed when a row is selected with the mouse (left button click).
-
{dbname [recno]|-}
This is a required argument and specifies the input database name or, if specified as -, a piped view of the input database.
If recno is specified, then the alarm referenced by that particular database row is displayed. If recno is -1, then the
last row in the database is displayed. If recno is not specified and the -browse option is also not specified, then display_smrspalarm
will continuously monitor the input database abd display new alarms as they appear, with each new alarm is a separate window. Note that the input
database must have a pfdisc table with references to the alarm parameter files.
PARAMETER FILE
Following is an example of a parameter file.
# This is the default parameter file for display_smrspalarm
background_color \#e0e0e0 # background color outside of plot
background_spec_color \#fafafa # background spectra plot color
background_text_color \#fffaea # background text area color
background_trace_color \#eafaff # background trace display color
channel_colors &Tbl{ # color coding for channels
..Z \#00a000 # dark greeen for Z-component
..N red # red for N-component
..E blue # blue for E-component
}
limit_colors &Tbl{ # color coding for limit spectra
.*_DRS orange
.*_OBE \#ff6000
.*_SSE magenta
.*_LSA darkgray
}
plot_mode loglin # Plotting mode (loglog, loglin, linlog, linlin)
spectra_units g # Spectra units to plot (g, mg, nm/s**2, m/s**2, cm/s, nm/s)
xaxis_type period # X-axis type (frequency, period)
ybottom 0.0001 # spectra value at bottom of plot
ytop 1.0000 # spectra value at top of plot
xleft 0.01 # frequency/period value at left side of plot
xright 35.0 # frequency/period value at right side of plot
spec_width 750 # spectra plot width in pixels
spec_height 750 # spectra plot height in pixels
text_width 583 # text area width in pixels
trace_height 250 # trace display window height in pixels
SEE ALSO
smrspalarm(1), orbpf2db(1)
AUTHOR
Danny Harvey
Boulder Real Time Technologies, Inc.