WinQuake Dialog Boxes

Main Control Dialog Box:


[Top]


[Top]


[Top]


[Top]


[Top]


[Top]


[Top]


Event File Search Dialog Box:

This dialog box is used to search for event files using filters like event magnitude, distance to the event etc. This dialog box is opened using the Search button in the main Open File dialog box. There are two ways of searching for event files. One is using a database file created using the Create Database File button or searching the actual directly and option sub-directories for event files.  This method can take a very long time depending on the number of files WinQuake needs to open to see if it is a valid event file and that it matches the filter parameters. The directory searched is the directory selected by the Open File dialog box. Any sub-directories located in the root directory will be searched if the Sub-Directory check box is checked.

If you have a lot of event files on your system you can use the database file option to reduce the time needed to search of the files on your system. First you must create the database file using the Create Database File button. Use the next dialog box to select the root directory or drive letter containing your event files. WinQuake will then create the database file by looking for event files in the root directory and in any sub-directories. Note, the filter parameters are not used while looking for event files to add to the database file. The EVENTDB.DAT database file created by WinQuake is a standard ASCII text file that can be opened with any text editor. The file is located in the root WinQuake directory or folder. 

Once you have a database file you can search for events using the filter parameters. To search the database file, check the Use Database File check box, enter any filter parameters and press the Search button. The maximum number of files returned by the search in either mode (direct search or database file) is control by the Max Files edit box. When the program completes the search, or if the maximum files has been reached, the Search dialog box will be closed and the Open File dialog box will display the search results. To redisplay the normal list of files either press the Update button,  select another directory using the Directory button or the File menu directory list. 

Additional Information:

The database file has the following format:

  1. Number of event file records

  2. Database version number

  3. Root directory that was used to search for event files

  4. Event file information

Each event file line has the following format. Comas are used to separate each field.

  1. Directory and filename

  2. Event file start date and time

  3. Channel/Sensor ID

  4. Component letter - N = N-S orientation sensor, E = E-W, Z = Vertical, ? = Unknown 

  5. Magnitude of the event or 0 if no event information is included in the event file

  6. Station to event distance in km or 0 if no event information is included in the event file

  7. Event depth in km or 0 if no event information is included in the event file

  8. Carriage/Line Feed characters

Below is an example of the first five lines of a database file:

Records: 020253
Version: 1.0
Root: j:\quakes
j:\quakes\0001\000102a.bhz.gumo.psn,01/02/2000 12:58:17,GUMO,Z,5.6,5489,33
j:\quakes\0001\000101a.gr2.psn,01/01/2000 01:20:23,GR2,Z,0,0,0
Notes: 1: Currently there is no way of aborting a direct search or database file creation except to stop the WinQuake process using the Task Manager.

2: The database file can contain the same event file more then once if the file contains more then one event report.

[Top]


[Top]


[Top]


[Top]


[Top]


[Top]


Event File Information Dialog Box - Time Tab

Dialog Box Image

This dialog box is used to adjust various time information in the event file. It can be used to adjust the start time, start time offset and the time reference information in the header section of the event file being displayed.

Adjust Start Time Button:

Opens the Time Correction dialog box. In this dialog box you enter the number of seconds to add or subtract to or from the start time of the event file. Offset time can also be entered in hour:minute:second format.

Start Time Offset Edit Box:

Used to change the Start Time Offset field in the PSN Type 4 event file header. See the PSN Type 4 documentation for more information.

Time Reference Select Box:

Used to select or clear the Time Reference type used for datalogger time keeping. Can be one of the following: None, GPS, WWV, WWVB or Other. 

Reference Status Select Box:

Used to select or clear the time reference status. Can be one of the following: Not Locked, Was Locked or Locked.

OK Button:

Close dialog box and update the event file with the new time information.

Cancel Button:

Close dialog box without updating the event file time information.

Help Button:

Opens this documentation.

[Top]


Magnitude Calculator Dialog Box

The Magnitude Calculator dialog box can be used to calculate the following information:

Sensor Information Group:

Peak Displacement Edit Box:

This edit box contains the Peak Displacement number. When the dialog box is first opened, and if the event window is displaying displacement data and the Sensor Sensitivity is known, WinQuake will fill in this field from the event window used to open the dialog box. The number is calculated based on the Sensor Sensitivity number in the event file header and the Peak A/D Counts.

This edit box will be updated if the Ml, Ms, or Mb magnitude is changed. The calculation will be based on the new magnitude and the current event to station distance. 

Peak A/D Counts Edit Box:

The A/D counts number is set to the peak counts in the event window view (not the whole event file) or the location of the Mb or Ml / Ms magnitude marker when the dialog box is first open. 

Sensor Sensitivity Edit Box:

This edit box contains the sensor sensitivity number, if available in the event file header. This number can be calculated based on peak displacement and A/D counts or event magnitude, peak displacement and peak A/D counts.

Magnitude Correction Edit Box:

This edit box contains the sensor Magnitude Correction number, if available in the event file header. This number can be calculated based on event magnitude and peak A/D counts.

Event Distance Information Group:

Then the dialog box is first opened, WinQuake will fill in these fields from the current event to station distance based on the location of the P and S markers in the event window used to open the dialog box. If one of the Event Distance edit boxes is modified the other edit boxes will be updated with the new distance information.

The Ml -log A0 Correction number displays the current Ml correction number based on the station to event distance. This is the formula used to calculate Ml magnitude:

Ml = log(A) + A0_Correction where A = displacement in millimeters.

Magnitude Information:

This group displays the Ml, Mb and Ms magnitudes based on the Sensor Sensitivity number, peak A/D counts and event to station distance or Magnitude Correction number, peak A/D Counts, and distance. The Ml, Mb and Ms edit boxes on the left are based on the Sensor Sensitivity number and the boxes on the right display the magnitudes based on the Magnitude Correction number.

Mb and Ms Period Edit Boxes and Buttons:

These edit boxes and corresponding buttons control the period used for MS and Mb magnitude calculation. The period can be enter manually using the edit boxes or calculated using the Ms or Mb Period button. See How WinQuake Calculates Magnitude  for more information.

Calculate Button:

When this button is pressed, WinQuake will recalculate any fields it can based on the information supplied by the user.

Clear Button:

Clears all of the edit boxes.

Reset Button:

Resets all of the fields to their initial value.

Close Button:

Closes the dialog box.

Help Button:

Opens the help page for the dialog box.

[Top]


[Top]


[Top]


[Top]


[Top]


[Top]


[Top]


[Top]


[Top]


[Top]


[Top]


[Top]


[Top]


[Top]


[Top]


[Top]


If checked, the new Y-Scale value will be applied to all of the records in the current selected Event Window. This check box will only be enabled if two or three event files are being displayed in the same Event Window. See Three Component Display documentation below for more information. 

If checked, the new Y-Scale value will be applied to all Event Windows. This check box will be enabled when there are two or more open Event Windows.

If checked, WinQuake will display the cm label when the Y-Scale or sensor data goes between 10.0 mm (millimeters) and 1 meter. If not checked, the label will remain mm until 1 meter is reached.

If checked, the current Y-Scale value will be used as the Y-Scale for any new event Window. The Use as Default switch and Y-Scale value are saved in the winquake.ini file and will be used again when WinQuake is restarted. 


[Top]


[Top]


[Top]


About WinQuake Dialog Box

This is WinQuake's About dialog box. It displays information like version number, release date and author contact information.