imap_processing.idex.idex_packet_parser.PacketParser#
- class imap_processing.idex.idex_packet_parser.PacketParser(packet_file: str, data_version: str)#
IDEX packet parsing class.
Encapsulates the decom work needed to decom a daily file of IDEX data received from the POC. The class is instantiated with a reference to a L0 file as it exists on the local file system.
TODO: Add method to generate quicklook plots
Examples
from imap_processing.idex.idex_packet_parser import PacketParser l0_file = "imap_processing/tests/idex/imap_idex_l0_sci_20230725_v001.pkts" l1_data = PacketParser(l0_file) l1_data.write_l1_cdf()
- __init__(packet_file: str, data_version: str)#
Read a l0 pkts file and perform all of the decom work.
- Parameters:
Notes
Currently assumes one L0 file will generate exactly one l1a file
Methods
__init__(packet_file, data_version)Read a l0 pkts file and perform all of the decom work.