Home » Frequently Asked Questions

Definition

dbpick is an X-windows Tcl/Tk based interactive graphical program for displaying seismic waveforms, analyst picked phase arrivals and temporary predicted arrivals. dbpick also provides functionality for creating and/or editing phase arrivals. The data must be represented in a CSS (Center for Seismic Studies) relational database implemented as a set of ASCII flat files, each file corresponding to one of the CSS relations. Currently the program will work only with version 3.0 of the database schema. Editing causes immediate changes to the database flat files without copying to new files.

Some common questions

Q: Why can't I get “rec” to work in dbpick?
A: You first need to do “ae” (associate events), then you can “rec” (produce a record section).

Q: Why can't I get “pal” to work in dbpick?
A: You first need to do “ae” (associate events), then you can “pal” (p-wave align the waveforms).

Opening dbpick

[skip to examples]

dbpick [-sc sta:chan] [-ts tstart] [-te tend] [-tw twin] [-noexist] [-nostarttalk] [-winfile winfile] [-appname tksend_appname] [-gaps {segment|zero|interp|none}] dbname

Examples:

dbpick -ts 1035479912.23545 -te 1035480112.23545 -sc "SOL:*" /path/to/database

- open database and display the waveforms from all channels for station SOL between 1035479912.23545 and 1035480112.23545.

Commands

Below is the list of commands that can be used within the program*:

MOUSE BUTTON ACTION
Left-Click Time Scroll to the left
Right-Click Time scroll to the right
Middle-Drag Time scroll left or right
Shift-Left-Click Time zoom in
Shift-Right-Click Time zoom out
Left-Click-on-Station-Label Select/Deselect station
Left-Drag-across-Station-Label Select/Deselect station
Left-Click-on-Arrival-Flag Adjust arrival time
Shift-Left-Click-on-Arrival-Flag Adjust arrival time uncertainty
Control-Shift-Left-Click-on-Arrival-Flag Adjust arrival amplitude-period
Control-Left-Click-on-Arrival-Flag Show arrival measurements
Middle-Click-on-Arrival-Flag Phase code menu
Right-Click-on-Arrival-Flag Arrival menu

* Note: If you are viewing dbpick on an OSX machine using XDarwin or X11, you will need to compensate for the lack of a three button mouse. This is accomplished by the following key combinations:

Workstation: 3 buttons Mac: 1 button
image of mouse: left button apple mouse
+ CONTROL
image of mouse: middle button apple mouse
+ APPLE/COMMAND
image of mouse: right button apple mouse
+ ALT/OPTION

Alternatively / additionally you can press a key while you are in the waveform window. Here is the list of commands available to you:

COMMAND KEY ACTION
fw F first waveform
nw N next waveform
pw P previous waveform
fa f first arrival
na n next arrival
pa p previous arrival
np phase next phase
pp phase previous phase
fe   first event
ne e next event
pe   previous event
Fe   find event
dw   delete blank traces
tfit t toggle time fit
sfit s station fit
  a Repaint arrivals
  r Repaint window
  R Redraw and repaint window
sc sta:chan display matching station/channels
rec   arrange stations by increasing distance
ts time start display at this time
tw time change time window
cw start number change channel zoom window
ph phase change default phase
gp {segment | zero | interp|none} change telemetry gap processing
oa dbname open arrival database
oe dbname open event database
se orid select event from event database
sp phase_list select predicted arrival phases
tc time_corr specify overlay arrival time correction
tse   time scroll to the current event
ae   associate event with arrivals in display
wa   write associations to input database
sa on/off show/hide arrivals
soa on/off show/hide overlay arrivals
sw on/off show/hide waveforms
sv sta/off show/hide velocity annotations
cts on/off amplitude units in couts or physical units
gr on/off show/hide background st grids
pal on/off time align on P arrivals on/off
filter index set filter index
sm {bi l in | block} set grid display mode
fc hue light sat set hue, light and sat of foreground color
ps plotfile Make PostScript window dump to plotfile
pr   Make PostScript window dump to printer
exec command execute a UNIX command
quit   quit dbpick
help   print this menu

Further information

For further information, visit the BRTT website man page for dbpick by clicking here.

Last updated: 2008-07-31 18:40:40 UTC