NAME
trstack - stacks selected traces in a css3.0 database
SYNOPSIS
trstack dbin dbout subset imode [-azmin=xx] [-azmax=xx] [-delmin=xx] [-delmax=xx] [pf-file]
SUPPORT
Contributed code: NO BRTT support.
THIS PIECE OF SOFTWARE WAS CONTRIBUTED BY THE ANTELOPE USER COMMUNITY. BRTT DISCLAIMS ALL OWNERSHIP, LIABILITY, AND SUPPORT FOR THIS PIECE OF SOFTWARE.
FOR HELP WITH THIS PIECE OF SOFTWARE, PLEASE CONTACT THE CONTRIBUTING AUTHOR.
DESCRIPTION
A simple brute stacking program. A subset of data in a css3.0 database, user
entered, are stacked by aligning them up by their first sample. The stack and
the RMS variation about the stack are output to a new/same database. The output
channel name for the stack has "_ss" appended to it, and the channel name for
RMS has an "_er" appended.
COMMAND LINE ARGUMENTS
-
db
Input database. Must include wfdisc tables.
-
dbout
Output database. A wfdisc table is created/added to. Data go into a relative
directory wf/rfstack/yyyy/ddd.
-
subset
Logic string sent to dbselect that selects the waveforms to be processed, for
example 'chan=="rfcn"' or 'chan=="rfcn" && sta=="ORGH"'.
-
imode
0 for regular, 1 to not generate graphics.
-
azmin=xx
Only use back-azimuths greater than xx
-
azmax=xx
Only use back-azimuths less than xx
-
delmin=xx
Only use distances greater than xx
-
delmax=xx
Only use distances less than xx
-
pf-file
Reads in a parameter file with filter parameters: hpfreq, lpfreq
EXAMPLE
trstack dbtest junk 'chan == "rfcn"' 0
A new database table, junk.wfdisc, is made with a stack of the rfcn traces.
LIBRARY
-ltr -lgpl2 -lol -lxcom -lgrx -ldb -lcoords -ltttaup -lresponse -lstock ../dbrfcn/FFT/fftlib.a -lX11 -lF77 -lM77 -lsunmath -lm
BUGS AND CAVEATS
Current stacking is pretty primitive, no mechanism exists for aligning by pick, absolute time, etc.
AUTHOR
Geoff Abers, Boston University
Antelope User Group Contributed Software