Documentation
¶
Overview ¶
Package ccsds implements part of The Consultative Committee for Space Data Systems (CCSDS) "Time Code Formats" (CCSDS 301.0-B-2 - CCSDS 301.0-B-4).
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Specification string = "ECSS-E-70-41A"
Specification describes what version the current implementation follows
TAI is the CCSDS recommended epoch for unsegmented time
Functions ¶
func UnsegmentedTimeDate ¶
UnsegmentedTimeDate iterprets CCSDS Unsegmented time Code (CUC) and returns the time in UTC.
It assumes the CUC Time follows the recommendation of having seconds as units and follows the CCSDS 301.0-B-2 - CCSDS 301.0-B-4 specification in the specification.
* coarseTime is time since epoch in seconds * fineTime is subseconds is a binary division of a second * epoch is the reference time, such as e.g. TAI
func UnsegmentedTimeNanoseconds ¶
UnsegmentedTimeNanoseconds interprets CCSDS Unsegmented time Code (CUC) and returns the nanoseconds since epoch.
It assumes the CUC Time follows the recommendation of having seconds as units and follows the CCSDS 301.0-B-2 - CCSDS 301.0-B-4 specification in the specification.
* coarseTime is time since epoch in seconds * fineTime is subseconds is a binary division of a second
Types ¶
This section is empty.