<div dir="ltr">Hi All,<div><br></div><div>For those who are still using K2's there is a new fix to the k2 gps rollover now in the Earthworm SVN repo. The code can be downloaded using the SVN instructions at:<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><a href="http://earthworm.isti.com/trac/earthworm/wiki#EarthwormSubversionRepository">http://earthworm.isti.com/trac/earthworm/wiki#EarthwormSubversionRepository</a></div></div></blockquote><div><div><br></div><div>The revision that fixed all issues was r7541 and this has been tested with 64-bit Earthworm against a K2.</div><div><br>Best regards,</div><div><br></div><div>Paul</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 3, 2018 at 12:13 PM, Meremonte, Mark <span dir="ltr"><<a href="mailto:mmeremonte@usbr.gov" target="_blank">mmeremonte@usbr.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Jon,<div><br></div><div>Think will set GPS power on and time length power on to 0,0 to keep GPS off & set manual time temporarily. Thank you very much for the fix!</div><div><br></div><div>Regards,</div><div>Mark</div></div><div class="gmail_extra"><br clear="all"><div><div class="m_-6763086176435516266gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(136,136,136);font-family:'Times New Roman',Times">******************************</span><span style="color:rgb(136,136,136);font-family:'Times New Roman',Times"><wbr>***************************</span><br style="color:rgb(136,136,136);font-family:'Times New Roman',Times"><span style="font-family:'Times New Roman',Times"><font color="#0000ff">Mark Meremonte</font><font color="#666666"> Geophysicist </font></span><br style="font-family:'Times New Roman',Times"><span style="color:rgb(102,102,102);font-family:'Times New Roman',Times">U.S. Bureau of Reclamation: </span><span style="font-family:tahoma,sans-serif;font-size:12.8000001907349px">Seismology, Geomorphology, and Geophysics Group</span><br><div><span style="font-family:'Times New Roman',Times"><font color="#666666"><span style="background-color:rgb(255,255,255)">Denver Federal Center</span> Work: 303-445-3298 Cell: 303-808-3894</font></span></div><div><font color="#666666"><span style="font-family:'Times New Roman',Times">POBox 25007, 85-833000</span><span style="font-family:'Times New Roman',Times"> Email: <a href="mailto:mmeremonte@usbr.gov" target="_blank">mmeremonte@usbr.gov</a></span><br style="font-family:'Times New Roman',Times"><span style="font-family:'Times New Roman',Times">Denver, CO 80225 </span><span style="font-family:'Times New Roman',Times"> </span><span style="font-family:'Times New Roman',Times"> Web: </span><font face="Times New Roman, Times"><a href="http://www.usbr.gov" target="_blank">http://www.usbr.gov</a></font></font></div><div><font color="#666666"><span style="font-family:'Times New Roman',Times">Ship: </span><span style="font-family:'Times New Roman',Times">U.S. Bureau of Reclamation, DFC, Bldg. 67-10th Floor, Denver, CO 80225</span></font></div><div><span style="color:rgb(136,136,136);font-family:'Times New Roman',Times">******************************</span><span style="color:rgb(136,136,136);font-family:'Times New Roman',Times"><wbr>**************</span><span style="color:rgb(136,136,136);font-family:'Times New Roman',Times">**************</span></div></div></div></div></div></div><div><div class="h5">
<br><div class="gmail_quote">On Tue, Jul 3, 2018 at 9:30 AM, Jon Rusho <span dir="ltr"><<a href="mailto:jon@seis.utah.edu" target="_blank">jon@seis.utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We've run into some glitches with getting the fix merged into the Earthworm svn repository. The fix is pretty simple--check to see if the data is timestamped between Nov 1998 and July 2018 and add an offset if it is. The code snippet for outptthrd.c is below, with the existing lines before and after. This has been tested in k2ew version 2.43, on Ubuntu 14 32-bit. We're still trying to get it to work with the latest & greatest 64-bit version of Earthworm.<br>
<br>
----------------<br>
starttime = (double)(timestamp + K2_TIME_CONV) + (double)msec * 0.001;<br>
<br>
/* check for 1024 week rollover glitch 2018/2019 jr 01jul2018 */<br>
if (starttime > 911143558 && starttime < 1530403744 )<br>
{<br>
starttime += 619315200; /* add 1024 weeks of seconds */<br>
<br>
}<br>
<br>
<br>
/* Check packet time; reject packets older than 1981, which would mean<br>
----------<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 7/2/18 2:49 PM, Jon Rusho wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We've done some testing with an impacted K2 using software-based time correction and a Nanometrics Centaur. Both were fed the same square-wave input signal and compared.<br>
Attached are two tracings from Swarm. The left one is from the K2 with software correction, the right from the Nanometrics. The red vertical line shows the same time in both windows.<br>
<br>
For Earthworm users, I'm working with ISTI to get the code change put into the svn repository.<br>
<br>
Note: the reason this rollover glitch hit early is based on the last firmware revision from Kinemetrics. The firmware fix for the 1999 rollover was put out 40 weeks before the actual rollover. That fix expired 40 weeks before the upcoming actual rollover in 2019. Also, this doesn't seem to impact all K2 and Etnas. 20 of our K2's were hit, but another 20+ are fine.<br>
<br>
<br>
--jon<br>
<br>
On 7/2/18 9:44 AM, Jon Rusho wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
UUSS experienced an early roll-over of the GPS 1024-week counter in many of our Kinemetrics K2 instruments this weekend. Looking at IRIS, this appears to have also impacted other networks. The problem manifested itself as waveform data being timestamped in 1998 instead of 2018.<br>
<br>
I'm testing a software fix in the k2ew Earthworm modules. For data that comes in timestamped between 1998 and 01-July-2018, I shifted the time by 1024 weeks (619315200 seconds).<br>
<br>
My question to all of you, is this the correct shift or am I missing something?<br>
<br>
<br>
More info on the GPS rollover: <a href="https://spectracom.com/resources/blog/lisa-perdue/2018/gps-2019-week-rollover-what-you-need-know" rel="noreferrer" target="_blank">https://spectracom.com/resourc<wbr>es/blog/lisa-perdue/2018/gps-2<wbr>019-week-rollover-what-you-nee<wbr>d-know</a><br>
<br>
<br>
<br>
Thanks<br>
--jon<br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
-- <br>
==============================<wbr>=====<br>
Jon Rusho<br>
Seismic Network Engineer<br>
University of Utah Seismograph Stations<br>
<br>
<a href="mailto:jon@seis.utah.edu" target="_blank">jon@seis.utah.edu</a><br>
801-585-5523<br>
<br>
______________________________<wbr>_________________<br>
ANSS-netops mailing list<br>
<a href="mailto:ANSS-netops@geohazards.usgs.gov" target="_blank">ANSS-netops@geohazards.usgs.go<wbr>v</a><br>
<a href="https://geohazards.usgs.gov/mailman/listinfo/anss-netops" rel="noreferrer" target="_blank">https://geohazards.usgs.gov/ma<wbr>ilman/listinfo/anss-netops</a><br>
</blockquote></div><br></div></div></div>
<br>______________________________<wbr>_________________<br>
ANSS-netops mailing list<br>
<a href="mailto:ANSS-netops@geohazards.usgs.gov">ANSS-netops@geohazards.usgs.<wbr>gov</a><br>
<a href="https://geohazards.usgs.gov/mailman/listinfo/anss-netops" rel="noreferrer" target="_blank">https://geohazards.usgs.gov/<wbr>mailman/listinfo/anss-netops</a><br>
<br></blockquote></div><br></div>