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]#
Process IMAP-Hi L1C data into L2 CDF data products.
This is the main entry point for L2 processing. It orchestrates the entire processing pipeline from L1C pointing sets to L2 sky maps with intensities.
- 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. Required keys are: [“cal-prod”, “esa-energies”, “esa-eta-fit-factors”].
descriptor (str) – The map descriptor to be produced (e.g., “h90-ena-h-sf-nsp-full-hae-6deg-3mo”).
- Returns:
List containing the processed L2 dataset with rates, intensities, and uncertainties.
- Return type:
- Raises:
ValueError – If map_descriptor sensor attribute is invalid.
NotImplementedError – If HEALPix map output is requested (only rectangular maps supported).