ocssw
V2022
|
l0info_utils.py
Go to the documentation of this file.
8 epoch_offset = (datetime(1958,1,1,0,0,0,tzinfo=timezone.utc) - datetime(1970,1,1,0,0,0,tzinfo=timezone.utc)).total_seconds()
15 # Reference PACE-SYS-ICD_0010, :Observatory to Ground Data Interface Requirements/Control Document:
21 ctime = (datetime.utcfromtimestamp(ftime+epoch_offset) - timedelta(seconds=get_leap_seconds(ftime))).isoformat(sep='T', timespec='microseconds')
46 # Reference PACE-SYS-ICD_0010, :Observatory to Ground Data Interface Requirements/Control Document:
52 etime = (datetime.utcfromtimestamp(ftime+epoch_offset) - timedelta(seconds=get_leap_seconds(ftime))).isoformat(sep='T', timespec='microseconds')
def read_cfe_header(filehandle, bVerbose=False)
Definition: l0info_utils.py:13
def get_anc_packet_time(apacket, toff, str_subsec)
Definition: l0info_utils.py:99
def read_dsb_header(filehandle, bVerbose=False)
Definition: l0info_utils.py:44
Definition: time_utils.py:1
def get_leap_seconds(taitime, epochyear=1958)
Definition: time_utils.py:17