NAME
dbversac - compare sac file headers with css database
SYNOPSIS
dbversac database
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
Occasionally, we create a css database with sac files
containing the waveform data. This means that various
parameter data is contained in both the sac headers and
in the css database.
Dbversac attempts to verify
that the parameters are the same in both places, since
it is easy to update the css database without changing the
sac headers.
This program is quite rigid, and depends on the existence of
the following tables:
-
wfdisc
-
sensor
-
sitechan
-
site
-
wftag
-
origin
The wftag table is expected to contain only entries joining
the origin and wfdisc table. It expects that every wfdisc record
points to a sac file.
Provided all these conditions are met, the program checks that
the following css database correspond with the sac headers
for each wfdisc record:
-
calib
-
foff
-
nsamp
-
time
-
endtime
-
samprate
-
segtype
-
sta
-
chan
-
lat
-
lon
-
elev
-
hang
-
vang
-
edepth
-
event time, lat, lon, depth
SEE ALSO
dbverify(1)
BUGS AND CAVEATS
dbversac requires a way of generating a wftag table.
AUTHOR
Daniel Quinlan
Antelope User Group Contributed Software