NAME
check_hangvang - check for errors in hang and vang
SYNOPSIS
check_hangvang
[-v]
[-V]
[-o]
[-n snet]
[-s sta]
[-x subset_expression]
[-p pf]
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
check_hangvang checks the sitechan table hang and vang values to make sure north and east
components are 90° apart. A standard vertical component would have a hang and vang of 0, a N/S
component would have a hang of 0 and vang of 90, an E/W component would have a hang of 90 and vang
of 90.
OPTIONS
-
-v
verbose
-
-V
overly verbose
-
-o
Only repot problems, not success
-
-n snet
The subset snet=~/snet/ will be applied to the joined sitechan and snetsta table.
-
-s sta
The subset sta=~/sta/ will be applied to the sitechan table.
-
-x subset_expresssion
A futher subset to be applied to the joined snetsta and sitechan tables. Must specify a complete valid expression like: 'offdate == NULL'
-
database
The database to be checked. Must have both a sitechan and snetsta table.
FILES
Requires sitechan and snetsta database tables.
ENVIRONMENT
Needs to be run under an ANTELOPE environment.
PARAMETER FILE
Here is an example pf file:
# Parameter file for check_hangvang script
vert [LB]HZ
north [LB]HN
east [LB]HE
This basic parameter file maps the channels for the vertical and two horizontal components.
EXAMPLE
% check_hangvang -o -n TA db/usarray
2011-082 21:39:38 check_hangvang *notify*: check_hangvang -n TA -o db/usarray
2011-082 21:39:42 check_hangvang *notify*: No problems found.
SEE ALSO
dbverify(1)
BUGS AND CAVEATS
A similar check could probably be developed within
dbverify(1).
AUTHOR
Jennifer Eakins
ANF-IGPP-SIO-UCSD
jeakins@ucsd.edu
Antelope User Group Contributed Software