Advance Information

Contents:


PSN Text Data Format:

WinQuake can read and write event files in a ASCII text format. Foating point numbers will be rounded to the nearest whole number as the data is read in. A typical event file saved in the PSN Text format looks like this.

! PSN ASCII Event File Format 1.0 <------ Must be on the first line
Start Time: 2000/01/12 11:33:45.0 <-------Must have this field
Number of Samples: 6100 <------------------Must have this field
SPS: 50.000000 <-----------------------------Must have this field
Comment: Ml~3.2 62km from Kona, Hi. 19 mi. N of Pahala
A/D Converter Bits:
Data Minimum: -1470.000000
Data Maximum: 1522.000000
! Sensor Information:
Sensor Location: Kona Hawaii
Sensor Latitude: 19.723000
Sensor Longitude: -155.991000
Sensor Orientation: Z
! Event Information:
Event Latitude: 19.480000
Event Longitude: -155.440000
Event Time: 2000/01/12 11:34:01.0
Event Magnitude: M 2.4
Event Depth: 6.7
! WinQuake Information:
Magnitude Correction: 0.0018
Mb Magnitude Correction: 0.002
Ms Period: 20.000000
Mb Period: 1.000000
Md Duration:
PS Pick Information: 256 333 188 214 49212
! SDR Information:
Lock Indicator:
Data:
-2 <------------- First Data Point
-8
[snip]

As you can see, the event file has two parts. The first is the header and then the data starting after the keyword Data:.  WinQuake does not need all of the fields to read in the event file. The file must have the first four lines and then the Data: keyword followed by the data.


GSE2.0 Data Format:

WinQuake uses the keyword "BEGIN GSE2.0" to see if a file is in the GSE2.0 format. This keyword must be within the first 512 bytes of the file. WinQuake supports both single and multiple seismograms in one GSE2.0 file. If there is more than one seismogram in a file, it will be treated the same way as a PEPP or SEED volume data set.

The text file STATIONS.GS2 must be in the same directory as the WinQuake program file (winqk32.exe). This file is used to lookup station latitude and longitude information.


Opening an Event File Using DDE:

WinQuake will open an event file when a DDE (Dynamic Data Exchange) Execute message is sent to program with the open command. The message format is:


Topic: System
Application: winquake
Open Message format: [open("FILE_TO_OPEN")]

The FILE_TO_OPEN must be the full path and file name of the event file. 


Local Data Directory:

Under the File menu items you will see a menu item called Local Data Directory... This is used when WinQuake is running on a network/file server setup. If the WinQuake exe file (winqk32.exe) is located on a server you can specify a local directory on the system that is running the program. Some of the data and config files (ending in *.dat) should be located on the local system rather then the server system.

The email.dat, phase.dat and replay.dat files should all be located on the local system. The other data and bin files should remain on the server system. If you are not running WinQuake on a server, this directory should be pointing to the location of the winqk32.exe file. This is the default setting.


[ Top ] [ Previous ] [ WinQuake Help ]

Larry Cochrane - www.seismicnet.com/contact.html