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

Exclude ASIC tuning data from MAST search results #800

Closed
bhilbert4 opened this issue Sep 23, 2021 · 0 comments · Fixed by #804
Closed

Exclude ASIC tuning data from MAST search results #800

bhilbert4 opened this issue Sep 23, 2021 · 0 comments · Fixed by #804

Comments

@bhilbert4
Copy link
Collaborator

Currently the dark current monitor (and possibly other monitors) query MAST for dark current exposures and perform analyses on these exposures. One subset of data that are included in these queries are ASIC tuning data. These files are labeled with an EXP_TYPE of e.g. NRC_DARK, so they are indistinguishable from normal dark current exposures. However, the readout details can change during ASIC tuning, which can result in a change to the measured dark current signal. Therefore, ASIC tuning data should be ignored in terms of instrument monitor analyses.

After some investigation, it turns out that there is a TEMPLATE keyword in the primary header of the science files. For ASIC tuning data, this keyword is set to be 'ISIM ASIC Tuning'. Knowing this, we can now adapt the instrument monitors to filter out the ASIC data by examining this keyword in the list of files returned by MAST queries. In the jwst datamodels, the TEMPLATE keyword corresponds to the model.meta.observation.template entry in the schema. I'm not sure how/if it is stored in the metadata returned by a MAST query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants