process_file

hermes_eea.calibration.calibration.process_file(data_filename: Path) list[source]

This is the entry point for the pipeline processing. It runs all of the various processing steps required to create a L1A Hermes CDF File. calls:

calibrate_file(...)
    parse_science_filename(...)
    parse_l0_sci_packets(...)
    l0_sci_data_to_cdf(...)
        SkymapFactory(...)
        # Use HermesData to populate CDF output file
        Hermes_EEA_Data_Processor(...).build_HermesData()
        # Write the File
        hermes_eea_data.save(...)
# A Custom EEA SkymapFactory
# HermesData
Parameters:

data_filename (pathlib.Path) – Fully specificied filename of an input file. The file contents: Traditional binary packets in CCSDS format

Returns:

output_files (list[pathlib.Path]) – Fully specificied filenames for the output CDF files. The file contains CDF formatted file with n packets iincluding time and [41,4,32] skymap.