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

[WIP] TA Monitor #1278

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions jwql/database/database_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
- Misty Cracraft
- Sara Ogaz
- Maria Pena-Guerrero
- Mike Engesser


Use
---
Expand Down Expand Up @@ -509,6 +511,8 @@ class : obj
NIRSpecCosmicRayStats = monitor_orm_factory('nirspec_cosmic_ray_stats')
NIRSpecTAQueryHistory = monitor_orm_factory('nirspec_ta_query_history')
NIRSpecTAStats = monitor_orm_factory('nirspec_ta_stats')
MIRITAHistory = monitor_orm_factory('miri_ta_query_history')
MIRITAStats = monitor_orm_factory('miri_ta_stats')

INSTRUMENT_TABLES = {
'nircam': [NIRCamDarkQueryHistory, NIRCamDarkPixelStats, NIRCamDarkDarkCurrent,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
INSTRUMENT, string
EXP_TYPE, string
START_TIME_MJD, float
END_TIME_MJD, float
ENTRIES_FOUND, integer
FILES_FOUND, integer
RUN_MONITOR, bool
ENTRY_DATE, datetime
10 changes: 10 additions & 0 deletions jwql/database/monitor_table_definitions/miri/miri_ta_stats.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CAL_FILE_NAME, string
OBS_END_TIME, datetime
EXP_TYPE, string
APERTURE, string
DETECTOR, string
TARGX, float
TARGY, float
OFFSET, float
FULL_IM_PATH, string
ZOOM_IM_PATH, string
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
INSTRUMENT, string
EXP_TYPE, string
START_TIME_MJD, float
END_TIME_MJD, float
ENTRIES_FOUND, integer
FILES_FOUND, integer
RUN_MONITOR, bool
ENTRY_DATE, datetime
10 changes: 10 additions & 0 deletions jwql/database/monitor_table_definitions/nircam/nircam_ta_stats.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CAL_FILE_NAME, string
OBS_END_TIME, datetime
EXP_TYPE, string
APERTURE, string
DETECTOR, string
TARGX, float
TARGY, float
OFFSET, float
FULL_IM_PATH, string
ZOOM_IM_PATH, string
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
INSTRUMENT, string
EXP_TYPE, string
START_TIME_MJD, float
END_TIME_MJD, float
ENTRIES_FOUND, integer
FILES_FOUND, integer
RUN_MONITOR, bool
ENTRY_DATE, datetime
10 changes: 10 additions & 0 deletions jwql/database/monitor_table_definitions/niriss/niriss_ta_stats.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CAL_FILE_NAME, string
OBS_END_TIME, datetime
EXP_TYPE, string
APERTURE, string
DETECTOR, string
TARGX, float
TARGY, float
OFFSET, float
FULL_IM_PATH, string
ZOOM_IM_PATH, string
Loading