imap_processing.hit.l0.hit_l1a_decom.decom_hit_packets#

imap_processing.hit.l0.hit_l1a_decom.decom_hit_packets(packet_file: str, xtce: str)#

Unpack and decode HIT packets using CCSDS format and XTCE packet definitions.

Parameters:
  • packet_file (str) – Path to the CCSDS data packet file.

  • xtce (str) – Path to the XTCE packet definition file.

Returns:

A dictionary containing xr.Dataset for each APID. each dataset in the dictionary will be converted to a CDF.

Return type:

dict