imap_processing.codice.codice_l1a.get_de_metadata#
- imap_processing.codice.codice_l1a.get_de_metadata(packets: Dataset, segment: int) bytes#
Gather and return packet metadata (From packet_version through byte_count).
Extract the metadata in the segmented direct event packet, which is then used to construct the full data of the group of segments.
- Parameters:
packets (xarray.Dataset) – The segmented direct event packet data.
segment (int) – The index of the segment of interest.
- Returns:
metadata – The compressed metadata for the segmented packet.
- Return type: