PSN-L Email List Message

Subject: Re: WinQuake Timing of text file
From: Larry Cochrane lcochrane@..............
Date: Thu, 12 Mar 2009 16:08:40 -0700


All,

I found the problem, it has to do with the Start Time field. When WinQuake loads a 
PSN Text formated event file it treats the number after the decimal point as 
milliseconds.  So a number like 250000000 is not correct, it must be in the range of 
000 to 999. Also, there must be one or two leading or trailing zeros after the 
decimal point to get the correct time in milliseconds. Here's some examples:

2009/03/10 19:56:25.0 - First sample happened at the top of the second. This is OK.
2009/03/10 19:56:25.1 - WQ would treat this as 1 millisecond NOT 100 ms.
2009/03/10 19:56:25.100 - WQ would treat this as 100 millisecond as expected.

Since this is confusing, .1 should equal 100ms not 1ms, I released a new version of 
WQ to fix the problem. The new version can be downloaded from there:

http://www.seismicnet.com/software/wq314b_setup.exe

Randy, there is a problem with your text file besides the Start Time. The header info 
  has the number of A/D bits set to 8, but you are placing numbers in the data 
section above 127. An 8 bit number would have the range of +127 to - 128. I'm not 
sure what WinQuake will do with this discrepancy.

Regards,
Larry Cochrane
Redwood City, PSN


Randy Pratt wrote:
> Hello All,
> 
> I did a quick experiment on this and I would agree the timing is incorrect on the WinQuake display.  Here is my procedure:
> 
> Make text file from the "don't work header" submitted a few days back with some modification of data and sample rate for 100 sps and 1000 total samples decreasing linearly with time.  This should from the explanations given earlier begin to display at second number 26 given the start time of 19:56:25.25 and 75 samples into the data or at value 925 in theory.  In fact the display starts at second 25 which is before the data start time and at the first sample value giving a .25 second time offset error.  My test header and portion of data are here and the WinQuake display is posted at http:/mit.midco.net/rpratt.  I set the mean data to 950 to put the beginning portion expanded on the display.  I used WinQuake 2.9.8.  
> 
> Randy
> 
> ! PSN ASCII Event File Format 2.0
> Start Time: 2009/03/10 19:56:25.250000000
> Start Time Offset: 0.000
> Number of Samples:  1000
> SPS: 100
> Time Reference Type: Oth
> Comment:[GVA] 
> A/D Converter Bits: 8
> Data Minimum: 1
> Data Maximum:  1000
> Data Mean:  950
> ! Sensor Information:
> Sensor Location: GVA
> Sensor Description: HS10-1
> Sensor Latitude: 33.42138
> Sensor Longitude: -111.57477
> Sensor Elevation: 507.5
> Sensor Incident: 0
> Sensor Azimuth: 0
> Sensor Orientation: Z
> Sensor Type: Velocity
> Sensor Sensitivity:  7.100e-008
> Sensor ID: HS-10
> Magnitude Correction: 0.00235574
> Component Name: SPZ
> Network Affiliation: IRSS
> Pick Information:
> Pick Information:
> Data:
> 1000
> 999
> 998
> 997
> 996
> 995
> ...
> 2
> 1
> 
> 
__________________________________________________________

Public Seismic Network Mailing List (PSN-L)


[ Top ] [ Back ] [ Home Page ]