NAME
q330_sensor_response - calculates responses from calibrations
SYNOPSIS
q330_sensor_response [-v] [-V] [-n] [-C] [-P]
[-d calibration_directory] [-D display] [-m mail_to] [-M mail_to_field_ops] [-g]
db [sta_regex]
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
q330_sensor_response calculates responses from calibrations on sensors connected to Q330 dataloggers.
q330_sensor_response first verifies that the
dlcalwf, dlsensor, sensormodel, wfdisc tables exist in
db.
An optional
sta_regex (station regular expression) can be used to run
q330_sensor_response.
q330_sensor_response runs
dbcalibrate and
displayscal.
The ps plots created by
displayscal are converted to pdf files by
ps2pdf14 and are
reported in the
db.calplot table.
OPTIONS
-
-v
verbose
-
-V
Extremely verbose. Used for debugging purposes only.
-
-n
Test mode. No operations executed.
-
-C
only run dbcalibrate, skip displayscal and building calplot table
-
-P
only run displayscal and build calplot table, skip dbcalibrate
-
-d calibration_directory
Directory where station calibrations pdf files are stored. Each calibration is stored in calibration_directory/STA
The default calibration_directory is /anf/TA/products/calibrations.
-
-D vnc_display_number
vnc_display_number where graphics are displayed on when run in background mode on server machines at the ANF.
This option kills the vnc_display_number once the run is complete.
-
-m mail_to
Email address list to send results. Multiple email addresses should be comma delimited without
white space.
-
-M mail_to_field_ops
Email address list to send results. Multiple email addresses should be comma delimited without
white space. This email list will send calibration plots of problem sensors to email addresses.
This option will not work if the -C option is specified.
-
-g
If -M option is specified and -C option is not specified, all calibration plots will be sent to -M
email addresses.
ENVIRONMENT
needs to have sourced $ANTELOPE/setup.csh.
RETURN VALUES
0 if successful, 1 if not.
SEE ALSO
q330_calibration(1)
dbcalibrate(1)
displayscal(1)
ps2pdf14(1)
BUGS AND CAVEATS
If
q330_sensor_response is run under rtexec without a display, then a vnc server needs to be implemented unless using -C option.
This has been done at the ANF and example configurations can be provided. In general, this mode of operation
is not recommended and in normal network operations is not needed.
All sensors are expected to be the nominal value of the generator constant.
Guralp CMG3Ts have different values of calibration coil constants for horizontals and verticals sensors. Typical quality control.
The conversion factor is 1500/1402.7.
AUTHOR
Frank Vernon
Antelope User Group Contributed Software