Skip to content

CoDICE l2 fix species GF modes #2707

Merged
lacoak21 merged 1 commit intoIMAP-Science-Operations-Center:devfrom
lacoak21:codice_l2_species_gf_update
Feb 17, 2026
Merged

CoDICE l2 fix species GF modes #2707
lacoak21 merged 1 commit intoIMAP-Science-Operations-Center:devfrom
lacoak21:codice_l2_species_gf_update

Conversation

@lacoak21
Copy link
Contributor

Change Summary

Used reduced modes where half_spin_per_esa_step > rgfo_half_spin and valid_half_spin only

File changes

  • imap_processing/codice/codice_l2.py
    Remove the logic that checks if rgfo_half_spin is > 0. We no longer need that check.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request removes an unnecessary check from the geometric factor computation logic in CoDICE L2 processing. The change ensures consistency between the angular and non-angular product processing paths.

Changes:

  • Removed the redundant & (rgfo_half_spin > 0) check from the modes calculation for non-angular products
  • Simplified the logic to match the angular product code path which doesn't have this check

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lacoak21 lacoak21 merged commit 59c3dd3 into IMAP-Science-Operations-Center:dev Feb 17, 2026
20 checks passed
@github-project-automation github-project-automation bot moved this to Done in IMAP Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants