Skip to content

Align/fix all logical source descriptors - #3449

Open
lacoak21 wants to merge 5 commits into
IMAP-Science-Operations-Center:devfrom
lacoak21:missing_dataset_names_for_spdf
Open

Align/fix all logical source descriptors #3449
lacoak21 wants to merge 5 commits into
IMAP-Science-Operations-Center:devfrom
lacoak21:missing_dataset_names_for_spdf

Conversation

@lacoak21

Copy link
Copy Markdown
Contributor

Change Summary

Does not fully close #3438

I am not able to access the l3 attributes from imap_processing so the SWAPI and SWE l3 issues are still present.

Overview

  • I confirmed that the MAG logical source descriptors now contain "MAG". I checked that all other instrument logical source descriptors have both "IMAP" and the instrument name.
  • I removed "." from all logical source descriptors. There should not be any according to the ISTP global attr examples

File changes

Remove "." from all logical source descriptors. There should not be any according to the ISTP global attr examples

https://istp-metadata.readthedocs.io/en/v1.0.0/source/03_metadata-global-attributes.html

Screenshot 2026-09-11 at 9 20 00 AM

@lacoak21
lacoak21 requested review from bryan-harter and jtniehof and a balanced review from Copilot September 11, 2026 15:23
@lacoak21 lacoak21 self-assigned this Sep 11, 2026
@lacoak21 lacoak21 added this to IMAP Sep 11, 2026

Copilot AI left a comment

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.

🟡 Changes recommended

The I-ALiRT description retains a trailing period, and two updated Ultra descriptions contain a spelling error.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Aligns CDF logical-source descriptions with ISTP metadata conventions by removing trailing periods.

Changes:

  • Removes terminal periods from instrument and spacecraft metadata.
  • Updates affected HIT and Ultra test expectations.
File summaries
File Description
imap_processing/tests/ultra/unit/test_ultra_l1b.py Updates Ultra metadata assertion.
imap_processing/tests/hit/test_hit_utils.py Updates HIT metadata assertion.
imap_processing/cdf/config/imap_ultra_global_cdf_attrs.yaml Revises Ultra descriptions.
imap_processing/cdf/config/imap_spacecraft_global_cdf_attrs.yaml Revises spacecraft descriptions.
imap_processing/cdf/config/imap_mag_global_cdf_attrs.yaml Revises MAG descriptions.
imap_processing/cdf/config/imap_idex_global_cdf_attrs.yaml Revises IDEX descriptions.
imap_processing/cdf/config/imap_hit_global_cdf_attrs.yaml Revises HIT descriptions.
imap_processing/cdf/config/imap_hi_global_cdf_attrs.yaml Revises Hi descriptions.
imap_processing/cdf/config/imap_glows_global_cdf_attrs.yaml Revises GLOWS descriptions.
imap_processing/cdf/config/imap_codice_global_cdf_attrs.yaml Revises CoDICE descriptions.
Review details

Suppressed comments (1)

imap_processing/cdf/config/imap_ultra_global_cdf_attrs.yaml:22

  • Auxilliary is misspelled in this updated metadata value; use Auxiliary, consistent with the Data_type immediately above.
    Logical_source_description: IMAP-Ultra Instrument Level-1A Auxilliary Data
  • Files reviewed: 10/10 changed files
  • Comments generated: 2
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread imap_processing/cdf/config/imap_glows_global_cdf_attrs.yaml
Comment thread imap_processing/cdf/config/imap_ultra_global_cdf_attrs.yaml Outdated
@bryan-harter

Copy link
Copy Markdown
Member

Ah good find about the periods!

Also I realized I was totally unclear, but for the SWAPI and SWE changes, I meant SWAPI (all-levels) and SWE (only L3). So there should still be a few things to change with SWAPI in this repo.

I think we can also close the ticket (or move it to "validating") if you wouldn't mind adding a ticket for the L3 changes to the imap_l3_processing repo

Per review feedback, apply the same period cleanup to I-ALiRT for
consistency with every other instrument.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@lacoak21

Copy link
Copy Markdown
Contributor Author

Great. Looks like all of SWAPI's levels look fine in the global yaml file. I think this may have been fixed already?

@bryan-harter

Copy link
Copy Markdown
Member

Oh gotcha! In that case, looks good to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Missing dataset names for L2, L3 data noticed by SPDF

4 participants