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

Monitors may not be properly reading or populating database tables #1147

Closed
bhilbert4 opened this issue Jan 7, 2023 · 2 comments
Closed

Comments

@bhilbert4
Copy link
Collaborator

Recent runs of the monitors all seem to indicate that there is no query history for some common instrument/aperture pairs. It's highly unlikely that these apertures haven't before been used by the monitors, which makes me suspicious that there is some issue with either updating or reading database tables. Could be helpful to look into the database tables manually and see what's in them.

Logs from Jan 7, 2023 for the dark, bias, readnoise, and bad pixel monitors suggest that this may be a common problem.

@bhilbert4
Copy link
Collaborator Author

A check of the NIRCam dark monitor tables seems to show that things are ok. The monitor has only run with data once, spanning the date range of Jan 28, 2022 to Oct 23, 2022. Since that time, not enough new data has piled up in order to trigger the monitor. The Jan 7 log mentioned above supports this. So maybe we want to lower the threshold number of files for kicking off a monitor run?

@bhilbert4
Copy link
Collaborator Author

Database interactions are correct. More importantly, we have now switched to Django models for db interactions. The dark monitor is being switched over to use models in #1493

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

No branches or pull requests

1 participant