Martin,
Thank you for your prompt reply clarifying gps_time in LiDAR files. Also, I just saw your article “Please use Adjusted Standard GPS time stamps” and agree with you that “GPS seconds of the week” makes no sense if the date of the referenced Sunday is not also stored.
As I understand it, there is no way to store the referenced Sunday, so it is never known without some other metadata file, correct?
Additionally, we can assert the following:
· The units of gps_time must be “Adjusted Standard GPS time” (not “GPS time of the week”), if gps_time > 604,800
· gps_time > 604,800 for all acquisition times after Sep 21, 2011 01:46:25 UTC (GPS Standard time = 1,000,604,800)
It’s unfortunate that “gps_time” can have two different units, and that such an algorithm is required to infer which of the two it is, and that algorithm doesn’t always work (for gps_time <= 604800).
However, I believe there are two ways that lasinfo can help disambiguate this:
1. Provide a GPS standard time when it can be calculated (and omit it when it can’t be determined). For instance,
gps_time: 174915136 174917088
gps standard time: 2017-03-30Z13:18:38 2017-03-30Z13:51:10
2. Provide the “gps time units” with a value of either “adjusted standard GPS time”, or “ambiguous”. For example:
gps_time: 174915136 174917088
gps time units: adjusted standard GPS time
Tom Jordan, MSCS
Software Engineer
Geospatial data processing and visualization
Space and intelligence systems / HARRIS CORPORATION
Melbourne, FL / HTC-C3014