imap_processing.hit.l1a.hit_l1a.concatenate_leak_variables#

imap_processing.hit.l1a.hit_l1a.concatenate_leak_variables(dataset: Dataset, adc_channels: DataArray) Dataset#

Concatenate leak variables in the dataset.

Updates the housekeeping dataset to replace the individual leak_i_00, leak_i_01, …, leak_i_63 variables with a single leak_i variable as a 2D array. “i” here represents current in the leakage current [Voltage] data.

Parameters:
  • dataset (xarray.Dataset) – Dataset containing 64 leak variables.

  • adc_channels (xarray.DataArray) – DataArray to be used as a dimension for the concatenated leak variables.

Returns:

dataset – Updated dataset with concatenated leak variables.

Return type:

xarray.Dataset