Skip to content

GLOWS L1A Attributes: Merge updates from Marek#2848

Merged
maxinelasp merged 4 commits intoIMAP-Science-Operations-Center:devfrom
maxinelasp:glows-l1a-attributes-update
Mar 19, 2026
Merged

GLOWS L1A Attributes: Merge updates from Marek#2848
maxinelasp merged 4 commits intoIMAP-Science-Operations-Center:devfrom
maxinelasp:glows-l1a-attributes-update

Conversation

@maxinelasp
Copy link
Contributor

Change Summary

This is an AI-generated change which updates the L1A attributes according to the file sent by Marek. We discussed these changes in a meeting, so they were reviewed by both of us already. This change does NOT touch any of the attribute names, so it should only affect the metadata.

@maxinelasp maxinelasp added this to the March 2026 milestone Mar 17, 2026
@maxinelasp maxinelasp requested review from Copilot and sdhoyt March 17, 2026 16:04
@maxinelasp maxinelasp self-assigned this Mar 17, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the GLOWS L1A CDF variable-attribute configuration to reflect revised metadata values (descriptions, fill values, formats, plot/display hints) based on an updated attributes file discussed with Marek.

Changes:

  • Adjusts multiple variable metadata fields (e.g., CATDESC/FIELDNAM/LABLAXIS/FORMAT/UNITS) for GLOWS L1A products.
  • Updates several fill values and valid ranges (notably for flags/support-data and spin/bin related fields).
  • Changes display intent for the histogram variable (time_series → spectrogram).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@maxinelasp maxinelasp requested a review from ahotasu March 17, 2026 16:12
maxinelasp and others added 2 commits March 17, 2026 10:15
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@maxinelasp
Copy link
Contributor Author

pre-commit.ci autofix

@maxinelasp
Copy link
Contributor Author

pre-commit.ci run

@maxinelasp maxinelasp changed the title Merge updates from Marek GLOWS L1A Attributes: Merge updates from Marek Mar 17, 2026
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.

I reviewed this Since Sean and David are both helping with Lo this month.

LABLAXIS: Counts
FILLVAL: *max_uint16
FORMAT: I4
LABLAXIS: Bin no.
Copy link
Contributor

Choose a reason for hiding this comment

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

. at the end may be intentional by you but can you spell it out instead? Eg. Bin Number? Same comment for all other label axis fields.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

LABLAXIS has to be < 7 characters, I believe. That was why it is not spelled out.

LABLAXIS: Counts
VALIDMAX: *max_uint32
LABLAXIS: Direct events
VALIDMAX: *max_uint32_min_one
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for making alphabetic order!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That was all Sean!

CATDESC: Histogram start time, IMAP-clock seconds
FIELDNAM: Histogram start time, IMAP-clock seconds
CATDESC: Histogram start time (IMAP clock)
FIELDNAM: Start time (IMAP clock)
Copy link
Contributor

Choose a reason for hiding this comment

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

Does all these (IMAP clock) mean Spacecraft clock? If so, should we call it that? Eg. (IMAP Spacecraft Clock)

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 the spacecraft clock. I think IMAP clock is clear - are there other instruments that use IMAP Spacecraft Clock?

LABLAXIS: Duration
UNITS: seconds
VALIDMAX: 4000.0 # 15.38 s per spin x 256 spins = 3937.3 s, then rounded up
CATDESC: Accumulation time for histogram (GLOWS clock)
Copy link
Contributor

Choose a reason for hiding this comment

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

What is GLOWS clock?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

GLOWS instrument has an internal clock

FORMAT: F10.6
LABLAXIS: Accum. time
UNITS: s
VALIDMAX: 999.0 # 15.38 s per spin x 64 spins = 984.32 s, then rounded up
Copy link
Contributor

Choose a reason for hiding this comment

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

helpful comment

Comment on lines +324 to +326
CATDESC: Latest PPS arrival time (GLOWS clock, seconds)
DISPLAY_TYPE: no_plot
FIELDNAM: GLOWS-clock seconds for last PPS
FIELDNAM: Latest PPS time (GLOWS seconds)
Copy link
Contributor

Choose a reason for hiding this comment

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

These (GLOWS clock, seconds) or (GLOWS seconds) can cause confusion later. Can you keep same since you are below character limits and have room to spell out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The GLOWS team requested these changes, so I think they prefer it with the parentheses.

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.

sounds good since it seems like it's thought through.

LGTM. You can merge once pre-commit is fixed!

@maxinelasp maxinelasp merged commit ac62cdd into IMAP-Science-Operations-Center:dev Mar 19, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants