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

JP-3005: Update core schema for new step status keyword in metadata #149

Merged
merged 7 commits into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Other

- Add units to BARTDELT and HELIDELT jwst keywords in datamodels schema. [#147]

- Add pixel replacement step keyword to jwst core schema, and edit DQ
bit 28 from ``UNRELIABLE_RESET`` to ``FLUX_ESTIMATED``. [#149]

1.3.0 (2023-03-13)
==================

Expand Down
2 changes: 1 addition & 1 deletion src/stdatamodels/jwst/datamodels/dqflags.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
'UNRELIABLE_FLAT': 2**25, # Flat variance large
'OPEN': 2**26, # Open pixel (counts move to adjacent pixels)
'ADJ_OPEN': 2**27, # Adjacent to open pixel
'UNRELIABLE_RESET': 2**28, # Sensitive to reset anomaly
'FLUX_ESTIMATED': 2**28, # Pixel flux estimated due to missing/bad data
'MSA_FAILED_OPEN': 2**29, # Pixel sees light from failed-open shutter
'OTHER_BAD_PIXEL': 2**30, # A catch-all flag
'REFERENCE_PIXEL': 2**31, # Pixel is a reference pixel
Expand Down
5 changes: 5 additions & 0 deletions src/stdatamodels/jwst/datamodels/schemas/core.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2402,6 +2402,11 @@ properties:
type: string
fits_keyword: S_PHOTOM
blend_table: True
pixel_replace:
tapastro marked this conversation as resolved.
Show resolved Hide resolved
title: Pixel Replacment
type: string
fits_keyword: S_PXREPL
blend_table: True
ramp_fit:
title: Ramp Fitting
type: string
Expand Down