Skip to content

GLOWS L2: Apply cps-to-Rayleigh calibration factor using ancillary calibration file #2886

@maxinelasp

Description

@maxinelasp

Summary

Overview

GLOWS L2 currently computes photon flux as raw counts / exposure time but does not apply the cps-to-Rayleigh calibration factor. The reference implementation in glows_example_code applies this conversion using imap_glows_l2-calibration_*.dat, a time-indexed file providing a calibration constant (cps/R) per observational day. This factor must be applied to both photon_flux and flux_uncertainties at L2.

Requirements

  • Using the dataset passed into HistogramL2, look up the cps/R value for the observation date (most recent entry ≤ observation date) and divide photon_flux and flux_uncertainties by this factor.
    • The calibration is assumed constant for an entire observational day.
  • Add a unit test covering the calibration lookup and application.

Related tickets

Reference implementation: toolkit/utils.py::calibration_factor() and toolkit/l2_data_histogram.py in glows_example_code.

Relates to #2880

Metadata

Metadata

Assignees

Labels

Ins: GLOWSRelated to the GLOWS instrumentenhancementNew feature or request

Type

No type

Projects

Status

Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions