Due to the lapse in federal government funding, NASA is not updating this website. We sincerely regret this inconvenience.
NASA Logo
Ocean Color Science Software

ocssw V2022
PacketUtils.py File Reference

Go to the source code of this file.

Namespaces

 PacketUtils
 

Functions

def decode_timestamp (seconds, subseconds)
 
def parse_CCSDS_timestamp (timestr)
 
def readTimestamp (data)
 
def tai58_as_datetime (tai58)
 
def seconds_since (tai58, basetime=None)
 
def datetime_repr (dt)
 
def getDict (structured_array)
 
def pad_packet (data, length)
 

Variables

 TAI58_OFFSET = datetime.datetime(1970, 1, 1) - datetime.datetime(1958, 1, 1)
 
int LEAPSEC = 37
 
 CCSDS_timestamp