spacetelescope / jwst

Python library for science observations from the James Webb Space Telescope
https://jwst-pipeline.readthedocs.io/en/latest/
Other
567 stars 167 forks source link

Target RA and DEC in FITS primary header not at the epoch of JWST exposure #7697

Closed stscijgbot-jp closed 1 year ago

stscijgbot-jp commented 1 year ago

Issue JP-3294 was created on JIRA by Megan Sosey:

Review or create a notebook that addresses the following issue, see the inital example here: 

https://github.com/spacetelescope/jwst-caveat-examples/blob/main/general_issues/target_coordinate_update.py

 

{}Symptom{}:

TARG_RA and TARG_DEC in FITS primary header are not at the epoch of the JWST exposure. This can cause the 1D spectral extraction aperture to be offset from the target location in the 2D extracted spectrum image (see relevant instrument modes below).

 

{}Cause{}:

Initially, science data processing (SDP) was not applying proper motion to the target coordinates specified by the user (PROP_RA, PROP_DEC). After DMS 9.2.1 was installed in operations on 23 May 2023, SDP began applying a proper motion correction that was too small be a factor of 0.36533.

{}Workaround{}:

Download uncalibrated data. Update TARG_RA and TARG_DEC. Rerun calibration pipeline. 

{}Mitigation{}:

Fix no later than DMS 10.0, scheduled for install in Nov 2023. Earlier, if possible.

stscijgbot-jp commented 1 year ago

Comment by Rosa Diaz on JIRA:

Jeff Valenti Megan created tickets for all the notebooks that needed to be submitted so we could track them. Unfortunately Alicia went on vacation and didn't get assigned.I think you are doing this one. Will close it when done. I believe the tentative date for completion of this notebook is 7/31/23

stscijgbot-jp commented 1 year ago

Comment by Jeff Valenti on JIRA:

Rosa Diaz - Thanks. I accept this assignment and will create this notebook.

stscijgbot-jp commented 1 year ago

Comment by Rosa Diaz on JIRA:

Jeff Valenti I think you completed this task, correct? Should it be tested by someone else besides you?

stscijgbot-jp commented 1 year ago

Comment by Jeff Valenti on JIRA:

Rosa Diaz - This task has been completed. I created a python notebook and submitted it in a pull request, which Nestor Espinoza reviewed and merged into main.