imap_processing.hi.hi_l2.hi_l2#

imap_processing.hi.hi_l2.hi_l2(psets: list[str | Path], l2_ancillary_path_dict: dict[str, Path], descriptor: str) list[Dataset]#

High level IMAP-Hi L2 processing function.

Parameters:
  • psets (list of str or pathlib.Path) – List of input PSETs to make a map from.

  • l2_ancillary_path_dict (dict[str, pathlib.Path]) – Mapping containing ancillary file descriptors as keys and file paths as values. Require keys are: [“cal-prod”, “esa-energies”, “esa-eta-fit-factors”].

  • descriptor (str) – Output filename descriptor. Contains full configuration for the options of how to generate the map.

Returns:

l2_dataset – Level 2 IMAP-Hi dataset ready to be written to a CDF file.

Return type:

list[xarray.Dataset]