imap_processing.hit.l1a.hit_l1a.create_datasets#

imap_processing.hit.l1a.hit_l1a.create_datasets(data: dict, attr_mgr: ImapCdfAttributes) dict#

Create a dataset for each APID in the data.

Parameters:
  • data (dict) – A single dictionary containing data for all instances of an APID.

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

Returns:

processed_data – A dictionary containing xarray.Dataset for each APID. Each dataset in the dictionary will be converted to a CDF.

Return type:

dict