8000 Make calwebb_tso3 more robust by hbushouse · Pull Request #5107 · spacetelescope/jwst · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Make calwebb_tso3 more robust #5107

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

Merged
merged 3 commits into from
Jun 29, 2020
Merged

Conversation

hbushouse
Copy link
Collaborator

A user recently reported that MIRI imaging TSO data were going through the spectroscopic branch of the calwebb_tso3 pipeline, which turned out to be due to the fact that the TSOVISIT keyword was missing. These updates make the calwebb_tso3 pipeline more robust to that kind of obvious problem with the input data and causes it to issue an error message and abort. Also needed to update the is_tso helper function, because it was assuming that any CubeModel data were TSO, which is not correct: coronagraphy data is also CubeModel. Also just did a little general clean-up and addition of comments, etc. to the modules involved, as well as adding a description of the keyword logic to the docs.

At some point we should probably also try to figure out how to update the extract_1d and white_light steps to have them figure out if they've actually been given spectroscopic data as input and if not, then abort. Before the updates here, MIRI imaging data actually somehow made it through both of those steps, which is crazy.

@hbushouse
Copy link
Collaborator Author

For some unknown reason github thinks the Travis runs haven't completed yet, but they have (successfully). Some I'm merging.

@hbushouse hbushouse merged commit 603d115 into spacetelescope:master Jun 29, 2020
@hbushouse hbushouse deleted the robust branch June 29, 2020 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0