ymdhms2gps: Convert a ymdhms date to the date format used by the GPS...

Description Usage Arguments Details Value Author(s) References

Description

Inputs are currently assumed to be in UTC

Usage

1
ymdhms2gps(year, month, mday, hour, minute, second)

Arguments

year

integer year as YYYY

month

integer month

mday

integer day of month

hour

integer hour 0-24

minute

integer minute

second

integer second

Details

The GPS week number or almanac reference number is the number of weeks since 1980-01-06 modulo 1024. The GPS time of applicability is the number of seconds since the beginning of the almanac reference week. See ICD-GPS-240A for further details.

Value

a list with the elements gps_week, the GPS week number, and sec_of_week, the GPS time of applicability.

Author(s)

Benjamin W. Remondi (original Fortran code), Philipp Boersch-Supan (R translation)

References

Global Positioning Systems Directorate (2018). Systems Engineering and Integration Interface Specification IS-GPS-200J NAVSTAR GPS Space Segment/Navigation User Segment Interfaces. https://www.gps.gov/technical/icwg/IS-GPS-200J.pdf


pboesu/dopcalc documentation built on May 4, 2019, 9:51 a.m.