The Lo L1C Pointing Set algorithm is using the goodtimes ancillary CSV file, but the Lo pipeline is now producing an L1B Goodtimes product that should be used instead. The code should be updated to switch from using the CSV to the CDF.
An example of a goodtimes L1B product imap_lo_l1b_good-times_20260121_v001.cdf.zip
<xarray.Dataset> Size: 440B
Dimensions: (dim0: 5, dim1: 7)
Dimensions without coordinates: dim0, dim1
Data variables:
start_met (dim0) int64 40B 506692022 506704628 ... 506763272
end_met (dim0) int64 40B 506700946 506713552 ... 506767993
bin_start (dim0) int64 40B 0 0 0 0 0
bin_end (dim0) int64 40B 59 59 59 59 59
esa_goodtime_flags (dim0, dim1) int64 280B 1 1 1 1 1 1 1 ... 1 1 1 1 1 1 1
And an example of the goodtimes CSV: imap_lo_good-times_20250101_20270101_v003.csv
The main functions to look at for this change are lo_l1c.filter_goodtimes and lo_l1c.set_bad_or_goodtimes in imap_processing/lo/lo_l1c.py
The data being used should be the same between the CSV and CDF, the main change is accessing a different structure in the algorithm code and updating tests.
Lo also uses a badtimes ancillary file, but we now have a badtimes CDF. I haven't heard anything about using the badtimes CDF instead of the ancillary CSV, but it could be worth asking the Lo team and keeping in mind.
Note: When this change is done, the Lo dependency file will need to be updated to switch from triggering processing with the ancillary file to triggering with the CDF. See this issue: IMAP-Science-Operations-Center/sds-data-manager#1272
The Lo L1C Pointing Set algorithm is using the goodtimes ancillary CSV file, but the Lo pipeline is now producing an L1B Goodtimes product that should be used instead. The code should be updated to switch from using the CSV to the CDF.
An example of a goodtimes L1B product imap_lo_l1b_good-times_20260121_v001.cdf.zip
And an example of the goodtimes CSV: imap_lo_good-times_20250101_20270101_v003.csv
The main functions to look at for this change are
lo_l1c.filter_goodtimesandlo_l1c.set_bad_or_goodtimesinimap_processing/lo/lo_l1c.pyThe data being used should be the same between the CSV and CDF, the main change is accessing a different structure in the algorithm code and updating tests.
Lo also uses a badtimes ancillary file, but we now have a badtimes CDF. I haven't heard anything about using the badtimes CDF instead of the ancillary CSV, but it could be worth asking the Lo team and keeping in mind.
Note: When this change is done, the Lo dependency file will need to be updated to switch from triggering processing with the ancillary file to triggering with the CDF. See this issue: IMAP-Science-Operations-Center/sds-data-manager#1272