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-3248: Add ref file data model and step keywords for new MIRI EMI correction #200

Merged
merged 15 commits into from
Dec 7, 2023

Conversation

penaguerrero
Copy link
Collaborator

@penaguerrero penaguerrero commented Aug 29, 2023

Resolves JP-3248
Resolves RCAL-nnnn

Closes #

This PR addresses the creation of a new step to correct MIRI images for EMI contamination.

Checklist

  • added entry in CHANGES.rst (either in Bug Fixes or Changes to API)
  • updated relevant tests
  • updated relevant documentation
  • updated relevant milestone(s)
  • added relevant label(s)

@penaguerrero penaguerrero requested a review from a team as a code owner August 29, 2023 14:29
@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (e1d435d) 64.75% compared to head (1a45eed) 64.77%.

Files Patch % Lines
src/stdatamodels/jwst/datamodels/emi.py 75.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #200      +/-   ##
==========================================
+ Coverage   64.75%   64.77%   +0.02%     
==========================================
  Files         102      103       +1     
  Lines        5674     5687      +13     
==========================================
+ Hits         3674     3684      +10     
- Misses       2000     2003       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@hbushouse hbushouse left a comment

Choose a reason for hiding this comment

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

Needs a schema file to go along with the python module.

@penaguerrero
Copy link
Collaborator Author

Needs a schema file to go along with the python module.

I have not opened a PR in data models for this yet because I thought I needed a reference file example to see what needs to be read/written and how, is this correct?

Copy link
Contributor

@hbushouse hbushouse left a comment

Choose a reason for hiding this comment

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

Looks good overall. Just a few minor formatting/syntax issues.

CHANGES.rst Outdated Show resolved Hide resolved
src/stdatamodels/jwst/datamodels/emi.py Outdated Show resolved Hide resolved
src/stdatamodels/jwst/datamodels/schemas/core.schema.yaml Outdated Show resolved Hide resolved
@hbushouse
Copy link
Contributor

@mwregan2 If you concur that the ref file schema has all the appropriate entries/definitions for what's needed in the ref file, I think we can go ahead and merge this (once the few formatting issues are fixed) and hence make it available in master branch of stdatamodels.

.gitignore Outdated Show resolved Hide resolved
@hbushouse hbushouse added this to the 1.8.4 milestone Nov 21, 2023
Copy link
Contributor

@hbushouse hbushouse left a comment

Choose a reason for hiding this comment

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

Are we expecting any further changes yet to the format/content of this model? Has agreement been reached with the MIRI team folks?

CHANGES.rst Outdated Show resolved Hide resolved
src/stdatamodels/jwst/datamodels/emi.py Outdated Show resolved Hide resolved
src/stdatamodels/jwst/datamodels/schemas/core.schema.yaml Outdated Show resolved Hide resolved
@hbushouse hbushouse changed the title WIP: JP-3248 MIRI Subarrays 390 Hz EMI JP-3248: Add ref file data model and step keywords for new MIRI EMI correction Dec 6, 2023
@hbushouse hbushouse modified the milestones: 1.8.4, 1.8.5 Dec 6, 2023
Copy link
Contributor

@hbushouse hbushouse left a comment

Choose a reason for hiding this comment

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

Looks good.

@hbushouse hbushouse merged commit 1180473 into spacetelescope:master Dec 7, 2023
20 of 21 checks passed
@braingram braingram mentioned this pull request Dec 7, 2023
5 tasks
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.

3 participants