imap_processing.codice.codice_l1a.create_ialirt_dataset#
- imap_processing.codice.codice_l1a.create_ialirt_dataset(apid: int, packets: Dataset) Dataset#
Create dataset for lo- and hi-ialirt data.
I-ALiRT data are packed identically to regular science data (
lo-sw-speciesfor CoDICE-lo, andhi-omnifor CoDICE-hi), except for some slight differences in the metadata that are transmitted. Additionally, data are transmitted in separate, individual single-byte fields (there are 15 of these for CoDICE-lo and 6 for CoDICE-hi).This function will process these I-ALiRT data while using some of the same code used for processing the
lo-sw-speciesandhi-omniL1a data products.- Parameters:
apid (int) – The APID of the packet.
packets (xarray.Dataset) – The packets to process.
- Returns:
dataset – Xarray dataset containing the direct event data.
- Return type:
References
See section 9.4 of the CoDICE algorithm document for further details.