Skip to content

Commit 59c3dd3

Browse files
authored
modes should be reduced where half_spin> rgfo_half_spin only (IMAP-Science-Operations-Center#2707)
1 parent 2dc3f49 commit 59c3dd3

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

imap_processing/codice/codice_l2.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -376,11 +376,7 @@ def compute_geometric_factors(
376376
elif (processing_date < date_switch) | (processing_date >= fsw_switch_date):
377377
# Modes will be true (reduced mode) anywhere half_spin > rgfo_half_spin
378378
# otherwise false (full mode)
379-
modes = (
380-
valid_half_spin
381-
& (half_spin_per_esa_step > rgfo_half_spin)
382-
& (rgfo_half_spin > 0)
383-
)
379+
modes = valid_half_spin & (half_spin_per_esa_step > rgfo_half_spin)
384380
else:
385381
# After November 24th, 2025, we no longer apply reduced geometric factors;
386382
# always use the full geometric factor lookup.

0 commit comments

Comments
 (0)