Skip to content
Snippets Groups Projects
  1. Jan 18, 2018
  2. Jan 12, 2018
  3. Jan 11, 2018
  4. Jan 10, 2018
  5. Jan 09, 2018
  6. Jan 04, 2018
  7. Dec 21, 2017
  8. Dec 19, 2017
  9. Dec 08, 2017
  10. Dec 05, 2017
  11. Dec 01, 2017
  12. Nov 28, 2017
  13. Nov 27, 2017
  14. Nov 20, 2017
  15. Nov 18, 2017
    • Jonathan Hanks's avatar
      Adding a program to calculate gps offsets · 0ae4d1e5
      Jonathan Hanks authored
      Added a python program (and tests) to be used to calculate
      the proper gps offset to use with the symmetricom/gpstime driver.
      
      The program needs access to a gps leap second file as provied by
      the ietf-leap-seconds package.  Then it can be queried to determine
      what the offset should be.
      
      To calculate the offset for a spectricom card that does not get the year
      in the IRIG-B signal
      
      calc_gps_offset.py -y -l leap-seconds.list
      
      To calculate the offset for a system with NO timing card:
      
      calc_gps_offset.py -s -l leap-seconds.list
      
      Optionally you can specify a day for which you want the offset to be
      calculated (defaults to today).  It is specified with the '-t' option
      with the date in the YYYY-MM-DD form, ie '-t 2017-1-1'.
      
      The idea is that this command can be put in startup scripts to calculate
      the offset that needs to be written to /proc/gps_offset.
      
      git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4555 6dcd42c9-f523-4c6d-aada-af552506706e
      0ae4d1e5
Loading