imap_processing.hit.l1a.hit_l1a.process_housekeeping#

imap_processing.hit.l1a.hit_l1a.process_housekeeping(dataset: Dataset, attr_mgr: ImapCdfAttributes) Dataset#

Will process housekeeping dataset for CDF product.

Updates the housekeeping dataset to replace with a single leak_i variable as a 2D array. Also updates the dataset attributes and coordinates and data variable dimensions according to specifications in a cdf yaml file.

Parameters:
  • dataset (xarray.Dataset) – Dataset containing HIT housekeeping data.

  • attr_mgr (ImapCdfAttributes) – Attribute manager used to get the data product field’s attributes.

Returns:

dataset – An updated dataset ready for CDF conversion.

Return type:

xarray.Dataset