From be57407b23dbe6367eeca835ca9b85da2b7c3c4f Mon Sep 17 00:00:00 2001 From: Tim Jenness Date: Tue, 26 Sep 2023 15:12:52 -0700 Subject: [PATCH] Fudge a test to verify that CCS exposure_id no longer gets adjusted --- .../headers/lsstCam-MC_C_20190319_000001_R10_S02.yaml | 2 +- tests/test_translator.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/headers/lsstCam-MC_C_20190319_000001_R10_S02.yaml b/tests/headers/lsstCam-MC_C_20190319_000001_R10_S02.yaml index b9c599d0a..49222bd51 100644 --- a/tests/headers/lsstCam-MC_C_20190319_000001_R10_S02.yaml +++ b/tests/headers/lsstCam-MC_C_20190319_000001_R10_S02.yaml @@ -32,7 +32,7 @@ TELESCOP: LSST OBSID: MC_C_20190319_000001 TELCODE: MC CONTRLLR: C -DAYOBS: '20190319' +DAYOBS: '20290319' TSEQNUM: 0 TEMPLED1: 20.600147112211552 TEMPLED2: 20.18183822135534 diff --git a/tests/test_translator.py b/tests/test_translator.py index e3ef456a3..ff5373720 100644 --- a/tests/test_translator.py +++ b/tests/test_translator.py @@ -45,13 +45,13 @@ def test_lsstCam_translator(self): instrument="LSSTCam", boresight_rotation_coord="unknown", dark_time=0.0*u.s, - detector_exposure_id=0x269200011d, + detector_exposure_id=0xdb480011d, detector_group="R10", detector_name="S02", detector_num=29, detector_serial="ITL-3800C-041", - exposure_id=3019031900001, - exposure_group="3019031900001", + exposure_id=2029031900001, + exposure_group="2029031900001", exposure_time=0.0*u.s, focus_z=0.0*u.mm, group_counter_end=1, @@ -62,13 +62,13 @@ def test_lsstCam_translator(self): observation_id="MC_C_20190319_000001", observation_type="bias", observation_reason="bias", - observing_day=20190319, + observing_day=20290319, physical_filter="unknown", pressure=None, relative_humidity=None, science_program="unknown", temperature=None, - visit_id=3019031900001)), + visit_id=2029031900001)), ("lsstCam-MC_C_20190319_000001_R22_S21.yaml", dict(telescope="Simonyi Survey Telescope", instrument="LSSTCam",