Skip to content

Commit

Permalink
Provide a default WCS for ramp fitting. (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
schlafly authored Jan 26, 2024
2 parents 1dc0501 + f91a3ff commit c3a7025
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ documentation

- added user documentation for ``roman_static_preview`` script [#1046]


ramp_fitting
------------

- Add default WCS when constructing image model from ramp model [#1072]


general
-------

Expand Down
2 changes: 1 addition & 1 deletion romancal/ramp_fitting/ramp_fit_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def create_image_model(input_model, image_info):

# Create output datamodel
# ... and add all keys from input
meta = {}
meta = dict(wcs=None) # default empty WCS
meta.update(input_model.meta)
meta["cal_step"]["ramp_fit"] = "INCOMPLETE"
meta["photometry"] = maker_utils.mk_photometry()
Expand Down

0 comments on commit c3a7025

Please sign in to comment.