Lo: replace EsaCalibration class with an xarray Dataset - #3385
Merged
jaredclaypoole merged 2 commits intoAug 13, 2026
Conversation
* EsaCalibration was used only in lo_l2 processing
tmplummer
reviewed
Aug 12, 2026
tmplummer
left a comment
Contributor
There was a problem hiding this comment.
LGTM. I appreciate the effort to centralize on using xarray objects. I approve but will let Vineet be the gatekeeper by not actually hitting approve.
vineetbansal
approved these changes
Aug 13, 2026
vineetbansal
left a comment
Collaborator
There was a problem hiding this comment.
Thanks @jaredclaypoole, @tmplummer - looks much cleaner now. I see why we'd want to stick to this pattern in the future.
jaredclaypoole
merged commit Aug 13, 2026
5df1485
into
IMAP-Science-Operations-Center:dev
14 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3366
Change Summary
Overview
Lo: replace EsaCalibration class with an xarray Dataset
File changes
imap_processing/lo/l2/lo_l2.py_esa_calibration_calculate_rates_and_intensities_build_map_datasetimap_processing/lo/constants.pyEsaCalibrationclassTesting
No change to tests. This code change is exercised by various test functions that call
lo_l2inimap_processing/tests/lo/test_lo_l2.py.