From c42d98722a0424670ac5d67ad13c9f50f30701a0 Mon Sep 17 00:00:00 2001 From: Geoffrey Mo <geoffrey.mo@ligo.org> Date: Thu, 27 Feb 2025 13:53:09 -0500 Subject: [PATCH] Add warning to note why LL cache data finding didn't work --- gwcelery/tasks/detchar.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gwcelery/tasks/detchar.py b/gwcelery/tasks/detchar.py index 1ca76a797..eced22923 100644 --- a/gwcelery/tasks/detchar.py +++ b/gwcelery/tasks/detchar.py @@ -85,6 +85,10 @@ def create_cache(ifo, start, end): if (cache_starttime <= start) and (end <= cache_endtime): # required data is in llhoft return cache + else: + log.warning('Requested data [%s, %s] not in low-latency cache ' + '[%s, %s]. Trying gwdatafind.', + start, end, cache_starttime, cache_endtime) # otherwise, required data is not in the low latency cache high_latency = app.conf['high_latency_frame_types'][ifo] -- GitLab