Skip to content

Add statistical uncertainty pointers to SWE L2 data variables - #3376

Open
bryan-harter with Copilot wants to merge 2 commits into
devfrom
copilot/add-swe-delta-uncertainty-pointers
Open

Add statistical uncertainty pointers to SWE L2 data variables#3376
bryan-harter with Copilot wants to merge 2 commits into
devfrom
copilot/add-swe-delta-uncertainty-pointers

Conversation

Copilot AI commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

The SWE L2 CDF configuration lacked DELTA_PLUS_VAR and DELTA_MINUS_VAR attributes for primary data arrays, which are necessary to link the original variables to their corresponding statistical uncertainties.

Configuration Updates

  • flux: Added DELTA_MINUS_VAR and DELTA_PLUS_VAR pointing to flux_stat_uncert.
  • phase_space_density: Added DELTA_MINUS_VAR and DELTA_PLUS_VAR pointing to psd_stat_uncert.
phase_space_density:
  CATDESC: Phase space density organized by energy (eV), spin angle, CEM angle
  DELTA_MINUS_VAR: psd_stat_uncert
  DELTA_PLUS_VAR: psd_stat_uncert
  DEPEND_0: epoch
  # ...

flux:
  CATDESC: Number flux organized by energy (eV), spin angle, CEM angle
  DELTA_MINUS_VAR: flux_stat_uncert
  DELTA_PLUS_VAR: flux_stat_uncert
  DEPEND_0: epoch
  # ...

Co-authored-by: bryan-harter <41062454+bryan-harter@users.noreply.github.com>
Copilot AI changed the title [WIP] Add SWE DELTA_* uncertainty pointers to metadata Add statistical uncertainty pointers to SWE L2 data variables Aug 10, 2026
Copilot AI requested a review from bryan-harter August 10, 2026 20:26
@bryan-harter
bryan-harter marked this pull request as ready for review August 10, 2026 20:28
@bryan-harter

Copy link
Copy Markdown
Member

I gave this ticket to AI, and it appears to have put things in the right place? 🤷 Anyone else with knowledge of SWE have insight?

@tech3371 tech3371 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.

yep, looks like it was that simple lol

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.

I don't understand this file updates though :)

@tech3371

Copy link
Copy Markdown
Contributor

Pinging @jtniehof and @pleasant-menlo for this change coming up. Hope this won't effect L3 pipeline :)

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.

BUG - Add SWE DELTA_* uncertainty pointers to metadata

3 participants