Skip to content

Commit 6bc2d8e

Browse files
committed
Merge branch 'tickets/DM-47455'
2 parents 8499180 + d578877 commit 6bc2d8e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

etc/tester/LATISS.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
instrument: LATISS
22
query:
33
collections: LATISS/raw/all
4-
where: "exposure.science_program='AUXTEL_PHOTO_IMAGING' and exposure.day_obs=20240403"
5-
repo: /repo/embargo
4+
# Observations before 2024-04-09 are not compatible with calibs in dev repo
5+
where: "exposure.science_program in ('AUXTEL_PHOTO_IMAGING', 'BLOCK-306') and exposure.day_obs in (20240409..20241001)"
6+
repo: embargo_old

python/activator/raw.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ def _query_microservice(
274274
"""
275275
detector_name = _DETECTOR_FROM_INT[instrument][detector]
276276
uri = f"{microservice}/{instrument}/{group}/{snap}/{detector_name}"
277+
_log.debug("Querying %s for raws...", uri)
277278
try:
278279
response = requests.get(uri, timeout=1.0)
279280
response.raise_for_status()
@@ -283,6 +284,7 @@ def _query_microservice(
283284
except requests.RequestException as e:
284285
raise RuntimeError("Could not query raw microservice.") from e
285286

287+
_log.debug("Microservice sent: %s", unpacked)
286288
if unpacked["error"]:
287289
raise RuntimeError(f"Raw microservice had an internal error: {unpacked['message']}")
288290
if unpacked["present"]:

0 commit comments

Comments
 (0)