[Git][NTPsec/ntpsec][master] 4 commits: Capitalize more instances of TDOP

Gary E. Miller gitlab at mg.gitlab.com
Tue Dec 13 01:17:31 UTC 2016


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
205ab91f by Richard Laager at 2016-12-12T19:05:27-06:00
Capitalize more instances of TDOP

I missed these previously.

- - - - -
21ca604c by Richard Laager at 2016-12-12T19:05:27-06:00
Add a missing period

- - - - -
99a47b9f by Richard Laager at 2016-12-12T19:05:27-06:00
Remove unnecessary parentheses

This is more consistent with the other items.

- - - - -
26fe5ea0 by Richard Laager at 2016-12-12T19:05:27-06:00
Fix a reference to gps-log

The name is gps-log, not gps-log.py.

- - - - -


3 changed files:

- contrib/gps-log
- docs/includes/ntpviz-body.txt
- ntpclients/ntpviz


Changes:

=====================================
contrib/gps-log
=====================================
--- a/contrib/gps-log
+++ b/contrib/gps-log
@@ -28,7 +28,7 @@ if __name__ == '__main__':
     try:
         gpsp.start() # start it up
         last_time = 0
-        print("# Time       Device     tdop     nSat")
+        print("# Time       Device     TDOP     nSat")
         while True:
             #It may take a second or two to get good data
             #print(gpsd.fix.latitude,', ',gpsd.fix.longitude,'  Time: ',gpsd.utc)


=====================================
docs/includes/ntpviz-body.txt
=====================================
--- a/docs/includes/ntpviz-body.txt
+++ b/docs/includes/ntpviz-body.txt
@@ -123,7 +123,7 @@ The following plots are available:
    Clock time-jitter plot from the loop statistics (field 5).
 
 --local-gps::
-   Plot GPS Time Dilution of Precision (tdop) and Number of Sats Used
+   Plot GPS Time Dilution of Precision (TDOP) and Number of Sats Used
    (nSats).  This plot is only generated if there is a log file named
    gpsd in the log file directory.
 


=====================================
ntpclients/ntpviz
=====================================
--- a/ntpclients/ntpviz
+++ b/ntpclients/ntpviz
@@ -588,7 +588,7 @@ component of frequency drift.</p>
         gps_data = ()
         plot_data = ""
         for key in gpslist:
-            # fields: time, tdop, nSats
+            # fields: time, TDOP, nSats
             plot_data += self.plot_slice( gpsmap[key], 3, 4)
 
         out = {}
@@ -598,7 +598,7 @@ component of frequency drift.</p>
         plot_template = NTPViz.Common + """\
 set terminal png size %(size)s
 set title "%(sitename)s: Local GPS
-set ytics format "%%1.1f tdop" nomirror textcolor rgb '#0060ad'
+set ytics format "%%1.1f TDOP" nomirror textcolor rgb '#0060ad'
 set y2tics format "%%2.0f nSat"  nomirror textcolor rgb '#dd181f'
 set style line 1 lc rgb '#0060ad' lt 1 lw 1 pt 7 ps 0   # --- blue
 set style line 2 lc rgb '#dd181f' lt 1 lw 1 pt 5 ps 0   # --- red
@@ -607,17 +607,17 @@ plot \\
 
         for key in gpslist:
             plot_template += """\
-'-' using 1:2 title '%(key)s tdop' with line ls 1, \\
+'-' using 1:2 title '%(key)s TDOP' with line ls 1, \\
 '-' using 1:3 title '%(key)s nSat' with line ls 2 axis x1y2, \\
 """ % locals()
 
         # strip the trailing ", \\n"
         plot_template = plot_template[:-4] + "\n"
         exp = """\
-<p>Local GPS.  The Time Dilution of Precision (tdop) is plotted in blue.
+<p>Local GPS.  The Time Dilution of Precision (TDOP) is plotted in blue.
 The number of visible satellites (nSat) is plotted in red.</p>
-<p>tdop is field 3, and nSats is field 4, from the gpsd log file.  The
-gpsd log file is created by the gps-log.py program.</p>
+<p>TDOP is field 3, and nSats is field 4, from the gpsd log file.  The
+gpsd log file is created by the gps-log program.</p>
 """
         ret = {'html' : exp, 'stats' : stats }
         ret['title'] = "Local GPS"
@@ -805,7 +805,7 @@ useful to see how the measured offset is behaving.</p>
 
 <p>Closer to 0s is better.  An ideal system would be a horizontal line
 at 0s. Typical 90%% ranges may be: local serial GPS 200 ms; local PPS
-20µs</p>
+20µs.</p>
 
 <p>Clock Offset is field 5 in the peerstats log file.</p>
 """
@@ -1573,7 +1573,7 @@ or server.</dd>
 
 <dt>time offset:</dt>
 <dd>The difference between the ntpd calculated time and the local system
- clock's time.  (Also can be called phase offset)</dd>
+ clock's time.  Also called phase offset.</dd>
 
 <dt>upstream clock:</dt>
 <dd>Any remote clock or reference clock used as a source of time.</dd>



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/3c4d3d81113fa9c22522905040047dfb958fcfb7...26fe5ea0908baab12f8a6456d7cb843665056097
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161213/b6922d30/attachment.html>


More information about the vc mailing list