libera_utils.packets.parse_packets_to_dataset#
- libera_utils.packets.parse_packets_to_dataset(packet_files: list[PathLike | str], packet_definition: str | PathLike, apid: int, **generator_kwargs) Dataset#
Parse packets from files into an xarray Dataset using specified packet definition.
This function does not make any changes to the packet data other than filtering by a single APID.
- Parameters:
- Returns:
xarray Dataset containing parsed packet data.
- Return type:
xr.Dataset