From abd4078a0aa025a3c73aa0459404da6320ebc9fc Mon Sep 17 00:00:00 2001 From: Hsin-Fang Chiang Date: Wed, 9 Oct 2024 13:29:16 -0700 Subject: [PATCH] Query only on-sky science images can_see_sky falls back to True when the vingettting header is unknown, which should be rare, but it happens to all LATISS daytime checkout exposures currently. --- scripts/prompt_processing_summary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prompt_processing_summary.py b/scripts/prompt_processing_summary.py index 30efcde..9e02390 100644 --- a/scripts/prompt_processing_summary.py +++ b/scripts/prompt_processing_summary.py @@ -33,7 +33,7 @@ def make_summary_message(day_obs): raw_exposures = butler_nocollection.query_dimension_records( "exposure", instrument="LATISS", - where=f"day_obs={day_obs_int} AND exposure.can_see_sky", + where=f"day_obs={day_obs_int} AND exposure.can_see_sky AND exposure.observation_type='science'", explain=False, )