imap_processing.idex.idex_l1b.unpack_instrument_settings#

imap_processing.idex.idex_l1b.unpack_instrument_settings(l1a_dataset: Dataset, var_information_df: DataFrame, idex_attrs: ImapCdfAttributes) dict[str, DataArray]#

Unpack raw telemetry data from the l1a dataset into individual variables.

Parameters:
  • l1a_dataset (xarray.Dataset) – IDEX L1a dataset containing the 6 waveform arrays.

  • var_information_df (pandas.DataFrame) – Pandas data frame that contains information about each variable (e.g., bit-size, starting bit, and padding). This is used to unpack raw telemetry data from the input dataset (l1a_dataset).

  • idex_attrs (ImapCdfAttributes) – CDF attribute manager object.

Returns:

telemetry_data – A dictionary where the keys are the instrument setting array names and the values are the unpacked xr.DataArrays.

Return type:

dict