Skip to content

3210 bug lo l1b processing jobs failing due to cdf attributes#3212

Merged
tmplummer merged 2 commits into
IMAP-Science-Operations-Center:devfrom
tmplummer:3210-bug---lo-l1b-processing-jobs-failing-due-to-cdf-attributes
May 18, 2026
Merged

3210 bug lo l1b processing jobs failing due to cdf attributes#3212
tmplummer merged 2 commits into
IMAP-Science-Operations-Center:devfrom
tmplummer:3210-bug---lo-l1b-processing-jobs-failing-due-to-cdf-attributes

Conversation

@tmplummer
Copy link
Copy Markdown
Contributor

Change Summary

Overview

There were some problems with Lo L1B product attributes that were causing failures when writing to CDF. This PR fixes those issues.

Note that the bgrates product may need additional work. Variables in the cdf don't depend on the epoch dimension as I believe that they should. In fact, I think that none of the variables in the dataset depend on epoch. It seems like it is just thrown in just to have an epoch variable.

Closes: #3210

@tmplummer tmplummer self-assigned this May 18, 2026
@tmplummer tmplummer added this to IMAP May 18, 2026
Copy link
Copy Markdown
Contributor

@lacoak21 lacoak21 left a comment

Choose a reason for hiding this comment

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

LGTM! Just a couple of questions.

@@ -218,6 +218,7 @@ gt_end_met:

h_background_rates:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Since these are non time varying variables should these be labeled as support_data instead of data?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think that these should be dependent on epoch. This code was written by Vineet. I wrote a new issue to capture this: #3213


l1b_bgrates_ds = l1b_backgrounds_and_goodtimes_ds[background_rate_fields]
l1b_bgrates_ds["epoch"] = l1b_backgrounds_and_goodtimes_ds["epoch"]
l1b_bgrates_ds = l1b_backgrounds_and_goodtimes_ds[background_rate_fields]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why is this getting removed?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Oh wait i see now its a duplicate 👍

@tmplummer
Copy link
Copy Markdown
Contributor Author

@vineetbansal,
Tagging you here for your visibility.

@tmplummer tmplummer merged commit 37945af into IMAP-Science-Operations-Center:dev May 18, 2026
14 checks passed
@tmplummer tmplummer deleted the 3210-bug---lo-l1b-processing-jobs-failing-due-to-cdf-attributes branch May 18, 2026 19:00
@github-project-automation github-project-automation Bot moved this to Done in IMAP May 18, 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.

BUG - Lo L1B processing jobs failing due to cdf attributes

2 participants