Skip to content

Commit 03b86fa

Browse files
sdhoytahotasu
andauthored
Lo L1C - Automatic Goodtimes (#2896)
* Initial stab at converting Lo Instrument Team auto-good-times into SDC compatible CDF production code. * goodtimes and unit tests * reverted DE rates * added test for better coverage * increased test coverage * comment fixes * Updated bgrates creation to create a single rate and variance per species for the entire pointing, consistent with the current Ancillary file. Also added logic to handle creation of output files with 0 start and end times when no GoodTimes are detected. Added test case to cover no goodtimes detected and updated other test cases as needed per the other change. Validated output against current ancillary files using flight data for 2026-02-21 through 02-28. * test coverage * added print statements for pipeline debug * potential fix added * another fix for modifying array * epoch metadata print statements * temp fix for epoch meta * skipping ruff branching temporarily --------- Co-authored-by: David Gathright <david.gathright@lasp.colorado.edu>
1 parent ec8864b commit 03b86fa

4 files changed

Lines changed: 1225 additions & 8 deletions

File tree

imap_processing/cdf/config/imap_lo_global_cdf_attrs.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,18 @@ imap_lo_l1b_instrument-status-summary:
101101
Logical_source: imap_lo_l1b_instrument-status-summary
102102
Logical_source_description: IMAP Mission IMAP-Lo Instrument Level-1B Data
103103

104+
imap_lo_l1b_bgrates:
105+
<<: *instrument_base
106+
Data_type: L1B_goodtimes>Level-1B Background Rates List
107+
Logical_source: imap_lo_l1b_bgrates
108+
Logical_source_description: IMAP Mission IMAP-Lo Instrument Level-1B Data
109+
110+
imap_lo_l1b_goodtimes:
111+
<<: *instrument_base
112+
Data_type: L1B_goodtimes>Level-1B Goodtimes List
113+
Logical_source: imap_lo_l1b_good-times
114+
Logical_source_description: IMAP Mission IMAP-Lo Instrument Level-1B Data
115+
104116
imap_lo_l1c_goodtimes:
105117
<<: *instrument_base
106118
Data_type: L1C_goodtimes>Level-1C Goodtimes List

0 commit comments

Comments
 (0)