Skip to content

SWE: L1B to L2 flag addition #2950

@tech3371

Description

@tech3371

Based on discussion of SWE L1b in-flight calibration file naming in #2609. We need to implement some updates to the L1b and L2 code.

We need to add flag variable in l1b that says that we used last line data to extrapolate. Then add note in the metadata description to "be cautious" message to user. and carry flag variable that over in L2 for L3 use.

Next to the last line, which is the last calibration point, we want to flag from that onward.

Eg.

class ImapSWEFlags(FlagNameMixin):
"""IMAP SWE flags."""

NONE = CommonFlags.NONE
INF = CommonFlags.INF  # bit 0
NEG = CommonFlags.NEG  # bit 1
# This flag means that we used extrapolation instead of actual calibration
# data.
FALLBACK_CALIBRATION_EXTRAPOLATED = 2**2  # bit 2

Use and update this function as needed, https://github.com/IMAP-Science-Operations-Center/imap_processing/blob/dev/imap_processing/swe/l1b/swe_l1b.py#L189.

Metadata

Metadata

Assignees

Labels

Data Release 1Deadline: June 15, 2026Ins: SWERelated to the SWE instrumentPhase E: Parent IssuePhase E major task indicatorPlannedTasks originally committed for the monthRelease BlockerNeeds to be addressed before (next) public releaseenhancementNew feature or request
No fields configured for Feature.

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions