NAME
last_origin_lddate - takes input db and outputs a db which has one origin per event
SYNOPSIS
last_origin_lddate [-v] [-d distance] [-w window_sec] [-t start_time] [-e end_time] dbin] dbout
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
Program takes input db origin table, subsets by time, then sorts by time. Next it searches for all
origins within
window_sec seconds in time and
distance of distance and determines which origin has the latest
lddate. Program outputs the origin with the latest lddate, and any rows from the event and netmag
tables which join.
OPTIONS
-
-v
Verbose
-
-d distance
Distance in degrees for grouping origins.
The default distance is 1 degree.
-
-w distance
Time in seconds for grouping origins.
The default time is 5 seconds.
-
-t start_time
Start time for processing data.
The default start time is 1 January 1970.
-
-e end_time
End time for processing data.
The default end time is now().
ENVIRONMENT
Needs to have sourced $ANTELOPE/setup.csh.
RETURN VALUES
0 if successful, 1 if not.
BUGS AND CAVEATS
AUTHOR
Frank Vernon
Antelope User Group Contributed Software