gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] ntpshmviz


From: Gary E. Miller
Subject: [gpsd-dev] ntpshmviz
Date: Fri, 8 May 2015 11:27:12 -0700

Yo All!

I wass going to go in and fix the precision in ntpshmviz, but I can't
seem get it to not crash as it is now in git head.  Not being a python
guy, maybe someone can tell me what is wrong?

Here is the error I get:

spidey contrib # ntpshmviz <  ntpshmmon.date
Traceback (most recent call last):
  File "./ntpshmviz", line 158, in <module>
    ntpOffset(sys.stdin)
  File "./ntpshmviz", line 28, in __init__
    self.display_StripTableau()
  File "./ntpshmviz", line 99, in display_StripTableau
    1 / spread,                       # step_incr
ZeroDivisionError: float division by zero

The dataset (ntpshmmn.data) is below my sig.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
        address@hidden  Tel:+1(541)382-8588

sample NTP0 1431109215.836261654 1431109215.293039265 1431109215.703999996 0  -1
sample NTP2 1431109215.836287845 1431109215.596394772 1431109164.329204599 0 -30
sample NTP1 1431109216.000974848 1431109215.999997894 1431109216.000000000 0 -20
sample NTP0 1431109216.836418621 1431109216.297689119 1431109216.703999996 0  -1
sample NTP2 1431109216.836427841 1431109216.596606076 1431109165.329304295 0 -30
sample NTP1 1431109217.001930951 1431109216.999997995 1431109217.000000000 0 -20
sample NTP0 1431109217.837411462 1431109217.334515748 1431109217.703999996 0  -1
sample NTP2 1431109217.837420611 1431109217.596566717 1431109166.329443984 0 -30
sample NTP1 1431109218.002310925 1431109218.000003754 1431109218.000000000 0 -20
sample NTP0 1431109218.838051808 1431109218.293839613 1431109218.703999996 0  -1
sample NTP2 1431109218.838066125 1431109218.596773342 1431109167.329539632 0 -30
sample NTP1 1431109219.003150322 1431109219.000000224 1431109219.000000000 0 -20
sample NTP0 1431109219.838607157 1431109219.293490852 1431109219.703999996 0  -1
sample NTP2 1431109219.838617005 1431109219.596730002 1431109168.329591403 0 -30
sample NTP1 1431109220.003351431 1431109220.000001164 1431109220.000000000 0 -20
sample NTP0 1431109220.839476238 1431109220.351995841 1431109220.703999996 0  -1
sample NTP2 1431109220.839483222 1431109220.596938445 1431109169.329705019 0 -30
sample NTP1 1431109221.004388063 1431109220.999999521 1431109221.000000000 0 -20
sample NTP0 1431109221.839660864 1431109221.291903751 1431109221.703999996 0  -1
sample NTP2 1431109221.839668896 1431109221.596903557 1431109170.329776159 0 -30
sample NTP1 1431109222.004725854 1431109221.999999764 1431109222.000000000 0 -20
sample NTP0 1431109222.839784168 1431109222.291897778 1431109222.703999996 0  -1
sample NTP2 1431109222.839793876 1431109222.596866363 1431109171.329871327 0 -30
sample NTP1 1431109223.005717717 1431109222.999999517 1431109223.000000000 0 -20
sample NTP0 1431109223.840465723 1431109223.328651354 1431109223.703999996 0  -1
sample NTP2 1431109223.840476339 1431109223.597075225 1431109172.329969647 0 -30
sample NTP1 1431109224.006477704 1431109224.000000528 1431109224.000000000 0 -20
sample NTP0 1431109224.840685968 1431109224.293082300 1431109224.703999996 0  -1
sample NTP2 1431109224.840693791 1431109224.597284924 1431109173.330080876 0 -30
sample NTP1 1431109225.006669245 1431109225.000000281 1431109225.000000000 0 -20
sample NTP0 1431109225.841456362 1431109225.294670477 1431109225.703999996 0  -1
sample NTP2 1431109225.841468934 1431109225.597245287 1431109174.330204780 0 -30
sample NTP1 1431109226.007468065 1431109225.999999825 1431109226.000000000 0 -20
sample NTP0 1431109226.842208806 1431109226.352191876 1431109226.703999996 0  -1
sample NTP2 1431109226.842216768 1431109226.597194614 1431109175.330231340 0 -30
sample NTP1 1431109227.008290630 1431109227.000000976 1431109227.000000000 0 -20
sample NTP0 1431109227.842736638 1431109227.293184927 1431109227.703999996 0  -1
sample NTP2 1431109227.842745019 1431109227.597418841 1431109176.330324810 0 -30
sample NTP1 1431109228.009230462 1431109228.000000450 1431109228.000000000 0 -20
sample NTP0 1431109228.843291847 1431109228.292323804 1431109228.703999996 0  -1
sample NTP2 1431109228.843302393 1431109228.597375083 1431109177.330422173 0 -30
sample NTP1 1431109229.010292656 1431109229.000003975 1431109229.000000000 0 -20
sample NTP0 1431109229.843654431 1431109229.329365479 1431109229.703999996 0  -1
sample NTP2 1431109229.843663371 1431109229.597584852 1431109178.330517515 0 -30
sample NTP1 1431109230.010548941 1431109230.000001354 1431109230.000000000 0 -20
sample NTP0 1431109230.844303439 1431109230.291387284 1431109230.703999996 0  -1
sample NTP2 1431109230.844314893 1431109230.597545843 1431109179.330584513 0 -30
sample NTP1 1431109231.011597516 1431109231.000000898 1431109231.000000000 0 -20
sample NTP0 1431109231.844303472 1431109231.292259438 1431109231.703999996 0  -1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]