• Antelope Release 5.5 Linux 2.6.32-220.el6.x86_64 2015-04-21

 

NAME

scec2db - retrieval and conversion of SCEC bulletin

SYNOPSIS

scec2db 
	[-v]
	[-d|-w|-m]
	[-f file]
	[-s start_time]
	[-e end_time]
	-c {catread|scecdc|hypo71|hypo2000}
	db_to_update

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

When processing real-time data it is helpful to have external catalogs against which you can associate your locations (using dbassoc_rt(1)). One source of this external catalog for southern California is SCEC, the Southern California Earthquake Center which runs the TriNet network. They produce a reviewed bulletin which is available via a web search. This script attempts to automate the retrieval of their bulletin and the update of your local catalog. It can also be used to convert a preexisting file from one of the supported formats to a css3.0 origin table.

Formats

SCEC distributes their catalog in seven different formats: catread, scec_dc CNSS, Simpson Map, Hypoinverse2000, Hypo71, and Hypoinverse phase. Currently, scec2db only supports the hypo71, hypo2000, catread and scec_dc formats.

OPTIONS

FILES

A temporary file called tmp_format is created.

ENVIRONMENT

Must have the standard Antelope environment variables.

PARAMETER FILE

No parameter file needed.

EXAMPLE

SEE ALSO

rtexec(1)
dbassoc_rt(1)
epoch(3)
http://epicenter.ucsd.edu/ANZA/faq/rtcatalogs.html

BUGS AND CAVEATS

When no -m, -w, or -d are chosen, -s must be used. If no -e end_time is selected, the current date is used as the last event time. If this time period is greater than 60 days, the program will fail.

The -m, -w, and -d options can be overridden by the use of -s and -e.

If your request is too large for the scec website to handle (or if too many people are requesting data when you are), you will receive a message like this:

perl: str2epoch: can't interpret '/'
        ** repeated 2 times
perl: str2epoch: can't interpret '<'
perl: str2epoch: no timezone 'PRE'
perl: str2epoch: can't interpret ':'
        ** repeated 2 times
This means that the file transfer was not completed. Thus you have an incomplete file to translate to css3.0. Try making your search cover a shorter time range or try your search at a later time when there is less network traffic.

AUTHOR

Jennifer Eakins
jeakins@ucsd.edu
Univ. of Calif. San Diego
5/17/2001



Antelope User Group Contributed Software