Skip to content

fixes stdatamodels updates that broke use_ta plus plot routine fixes - #308

Merged
kglidic merged 3 commits into
developfrom
use_ta_issues
Sep 23, 2026
Merged

kglidic merged 3 commits into
developfrom
use_ta_issues

Conversation

@kglidic

@kglidic kglidic commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

Update TA data handling for compatibility with newer versions of stdatamodels(>=6.0.0), which is required when using jwst pipeline version 3.0.0. This version of stdatamodels no longer support passing an astropy.io.fits.HDUList directly to datamodels.open() (stdatamodels changelog)

This issue could cause a crash when using use_ta=True during the recentering/alignment steps.
The spaceKLIP code now uses datamodels.ImageModel(), which accepts an astropy.io.fits.HDUList.

datamodels.ImageModel() was also used in the TA analysis tutorial notebook.

I also fixed a few static plotting routines/saving routines that caused the MIRI tutorial to fail during plotting.

@kglidic
kglidic marked this pull request as ready for review September 22, 2026 01:11
@kglidic
kglidic merged commit 15a8e04 into develop Sep 23, 2026
4 checks passed
@kglidic
kglidic deleted the use_ta_issues branch September 23, 2026 19:52
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.

1 participant