NAME
replay_data - replays database waveforms into orb, uses replay db table
SYNOPSIS
replay_data [-v] [-V] [-n]
[-d tmpdb]
[-s start_time]
[-t timestep]
db orb
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
replay_data is the last program in a series of programs of filling gapped data in a database
and sending data to the IRIS DMC.
replay_data opens
db and checks to see if a replay
table exists. It compares the data in the wfdisc table, and only replays data which exists in
the wfdisc table and not the replay table.
replay_data calls
dbreplay and sends
the replay data to
orb. When the
dbreplay program is completed, a DMC
sync file is generated in the directory
sync and sent to the DMC using orbxfer2.
replay_data will change directories to the directory where
db exists to properly
set up for the sync file transfer naming convention for the DMC.
OPTIONS
-
-v
verbose
-
-V
Extremely verbose. Used for debugging purposes only.
-
-n
Test mode. Does not execute dbreplay or orbxfer2 commands, nor change replay table.
-
-d tmpdb
Temporary database name. Default is tmp_replay_$$.
-
-s start_time
Start time of data to process from db. The default is to process the
complete db database.
-
-t timestep
Time step for dbreplay. The default is 1800 seconds.
ENVIRONMENT
needs to have sourced $ANTELOPE/setup.csh. Need
environment variable $PFPATH to be set.
PARAMETER FILE
None.
RETURN VALUES
0 if successful, 1 if not.
SEE ALSO
build_baler_data(1)
baler_request(1)
baler2db(1)
gap_status(1)
rt_baler_info(1)
dbreplay(1)
orbxfer2(1)
db2sync(1)
BUGS AND CAVEATS
replay_data works best on processors with good floating point support.
AUTHOR
Frank Vernon
Antelope User Group Contributed Software