NAME
pr_origin - Press-release origin; puts an origin into an orb.
SYNOPSIS
pr_origin [-v] [-V] [-pf parameter_file] orb idserver
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
pr_origin puts a hypocenter, as defined in the parameter file, into a db/origin packet in an orb. An orbserver is required to issue evids and orids. This can be coupled with another program such as
orb2dbt, to write the origin to a database, or
orb_quake_alarm, to issue a press-release for a significant event.
-
orb
Destination orb for the hypocentral information.
-
idserver
Idserver used to issue evids and orids.
OPTIONS
-
-v
verbose
-
-V
Extremely verbose. Used for debugging purposes only.
-
-pf parameter_file
Name of parameter file to use. $PFPATH is searched to find parameter file.
The default parameter file name is pr_origin.
PARAMETER FILE
The
pr_origin parameter file contains the hypocentral parameters
that define a row in a css3.0 origin table.
The following is an example of a
pr_origin parameter file.
lat 51.61
lon -116.36
depth 50
time &Literal{
2010-07-06 00:01
} # UT origin time of hypocenter.
mag 44.4
mag_type Ms # ml,mb,Ms - all other mag types default to ml
auth GSC # Reporting agency (author).
review y # Reviewed soln = y, automatic soln = auto
pr_origin parameter file elements are:
-
lat
Latitude of hypocentre.
-
lon
Longitude of hypocentre.
-
depth
Depth in km of hypocentre.
-
time
UT origin time of hypcentre.
-
mag
Magnitude of hypocentre.
-
mag_type
Magnitude type of hypocentre. The css3.0 schema only allows ml,mb,Ms as magnitude entries in the origin table. All other magnitude types will default to ml and will be entered as such into the origin.
-
auth
Reporting agency
-
review
Reviewed solution, "y", automatic solution, "auto".
EXAMPLES
$ pr_origin -v :55551 :2500
SEE ALSO
orb2dbt(1)
orb_quake_alarm(1)
BUGS AND CAVEATS
At this time, only /db/origin packet types are supported, due to interface with orb_quake_alarm which only reads /db/origin packets. Future developments include /pf packet format and possible incorporation of other magnitude types into netmag.
AUTHOR
Taimi Mulder
Geological Survey of Canada, Pacific Subdivision, NRCan.
Antelope User Group Contributed Software