OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l0info_utils Namespace Reference

Functions

def print_utils_version ()
 
def read_cfe_header (filehandle, bVerbose=False)
 
def read_dsb_header (filehandle, bVerbose=False)
 
def read_packet (filehandle, bSPW=True)
 
def read_apid (fpacket)
 
def get_anc_packet_time (apacket, toff, str_subsec)
 
def is_bad_packet (packetLength, fh)
 

Variables

tuple epoch_offset = (datetime(1958,1,1,0,0,0,tzinfo=timezone.utc) - datetime(1970,1,1,0,0,0,tzinfo=timezone.utc)).total_seconds()
 

Function Documentation

◆ get_anc_packet_time()

def l0info_utils.get_anc_packet_time (   apacket,
  toff,
  str_subsec 
)

Definition at line 99 of file l0info_utils.py.

◆ is_bad_packet()

def l0info_utils.is_bad_packet (   packetLength,
  fh 
)

Definition at line 126 of file l0info_utils.py.

◆ print_utils_version()

def l0info_utils.print_utils_version ( )

Definition at line 10 of file l0info_utils.py.

◆ read_apid()

def l0info_utils.read_apid (   fpacket)

Definition at line 93 of file l0info_utils.py.

◆ read_cfe_header()

def l0info_utils.read_cfe_header (   filehandle,
  bVerbose = False 
)

Definition at line 13 of file l0info_utils.py.

◆ read_dsb_header()

def l0info_utils.read_dsb_header (   filehandle,
  bVerbose = False 
)

Definition at line 44 of file l0info_utils.py.

◆ read_packet()

def l0info_utils.read_packet (   filehandle,
  bSPW = True 
)

Definition at line 59 of file l0info_utils.py.

Variable Documentation

◆ epoch_offset

tuple epoch_offset = (datetime(1958,1,1,0,0,0,tzinfo=timezone.utc) - datetime(1970,1,1,0,0,0,tzinfo=timezone.utc)).total_seconds()

Definition at line 8 of file l0info_utils.py.