West Coast/Alaska Tsunami Warning
Center
Operations Manual
NOAA/NWS/WCATWC
910 South Felton Street
Palmer, Alaska 99645
http://wcatwc.arh.noaa.gov
Section
4.1.1 – atplayer
Date
Written: 8/2005
Development Language: MicroSoft C/C++ v7 using WinAPI
Necessary Rings:
InRing - WAVE_RING; fills this up
with broadband data from archive disk file
InRingLP
- WAVE_RING_LP; fills this up with long period data from archive disk file
Necessary Data Files:
LineupFileBB – BB station configuration file derived from
archived data
LineupFileLP – LP station configuration file derived from archived data
Initialization File:
atplayer.d - read
on module start-up
Module Description:
The purpose of this program is to simulate events which have been
archived by feeding the data into WAVE_RINGs as if the quake was
occurring. Atplayer reads data from data
files created with disk_wcatwc and sets up the necessary system configuration
files based on the disk header information.
First, atplayer sets the PC clock
to 1/1/1999. The user selects the
archive data to play back, and then the clock is set to the start time of the
chosen disk file. Events can be stopped
and started with gaps, but the time must always go forward. That is, an event from 2002 can not be
followed by one from 2001. Earlybird
must be restarted to go back in time.
The program is mainly setup to
read two sets of data files for a given time.
The first is the chosen high sample rate broadband data. The second is lower sample rate long period
data. Both sets of data are sent to the
rings.
Program
Controls:
This module has a Windows graphical interface.
Due to this interface, the module will only compile and run under Windows (NT,
2K, or XP). The display is very simple and just shows the menu and, when data
is being played back, progress bars which show what percentage of the broadband
and long period data have been processed.
Menu Options:
Request
Data: Shows the data directories available in the archive.
Pause
Player: Temporarily stops atplayer from sending data to the ring. When clicked a second time, data starts and
quickly catches up to present time.
Stop
Player: Stops data sending.
Request
Data: Shows the data directories available in the archive.
Refresh: Re-paint the screen.