Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mag l1b CDF cleanup #1173

Merged
merged 6 commits into from
Nov 21, 2024

Conversation

maxinelasp
Copy link
Contributor

Change Summary

Fixing some ISTP and write_cdf bugs in MAG, shoring up the label variables, and generally making it so the code actually runs again.

Overview

Lots of fiddly CDF changes.

@maxinelasp maxinelasp added the Ins: MAG Related to the MAG instrument label Nov 20, 2024
@maxinelasp maxinelasp added this to the Nov 2024 milestone Nov 20, 2024
@maxinelasp maxinelasp requested review from tech3371 and a team November 20, 2024 22:50
@maxinelasp maxinelasp self-assigned this Nov 20, 2024
@maxinelasp maxinelasp requested review from bourque, sdhoyt and subagonsouth and removed request for a team November 20, 2024 22:50
Copy link
Contributor

@tech3371 tech3371 left a comment

Choose a reason for hiding this comment

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

minor comments

imap_processing/cdf/config/imap_mag_l1_variable_attrs.yaml Outdated Show resolved Hide resolved
@@ -129,7 +129,7 @@ def generate_dataset(
direction.astype(str),
name="direction_label",
dims=["direction_label"],
attrs=attribute_manager.get_variable_attributes("direction_label"),
attrs=attribute_manager.get_variable_attributes("direction_label", check_schema=False),
Copy link
Contributor

Choose a reason for hiding this comment

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

cool. Glad that is an option in SAMMI!

Do you think this special case of metadata type for LABL_PTR_i attribute will be added to SAMMI in the near future? Because I think that's a standard from SPDF and we use it heavily and new mission may need to in the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's next up on my list to add, just have some other priorities to finish first! Long term I definitely want to fix up LABL_PTR_i.

@maxinelasp maxinelasp merged commit 8d1ad62 into IMAP-Science-Operations-Center:dev Nov 21, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ins: MAG Related to the MAG instrument
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants