OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
PacketUtils Namespace Reference

Functions

def getDict (structured_array)
 
def getbits (var, i=0)
 
def as_int (bitlist)
 
def pad_packet (data, length)
 

Function Documentation

◆ as_int()

def PacketUtils.as_int (   bitlist)

Definition at line 22 of file PacketUtils.py.

◆ getbits()

def PacketUtils.getbits (   var,
  i = 0 
)

Definition at line 19 of file PacketUtils.py.

◆ getDict()

def PacketUtils.getDict (   structured_array)
convert numpy structured array to dict of scalars and numpy arrays

Definition at line 4 of file PacketUtils.py.

◆ pad_packet()

def PacketUtils.pad_packet (   data,
  length 
)

Definition at line 29 of file PacketUtils.py.