From 3beefec87653fe953cf075f3a516d54fe3ab3b46 Mon Sep 17 00:00:00 2001 From: Hsin-Fang Chiang Date: Tue, 25 Nov 2025 17:22:01 -0800 Subject: [PATCH] Replace lossyBasic with lossy16 The calexp quantities are updated for the compression recipe change. --- configs/butler-seed.yaml | 2 +- tests/test_validate_outputs.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configs/butler-seed.yaml b/configs/butler-seed.yaml index 00c4765..fa9786b 100644 --- a/configs/butler-seed.yaml +++ b/configs/butler-seed.yaml @@ -10,4 +10,4 @@ datastore: calexp: formatter: lsst.obs.base.formatters.fitsExposure.FitsExposureFormatter parameters: - recipe: lossyBasic + recipe: lossy16 diff --git a/tests/test_validate_outputs.py b/tests/test_validate_outputs.py index 47f790f..01503dc 100644 --- a/tests/test_validate_outputs.py +++ b/tests/test_validate_outputs.py @@ -79,10 +79,10 @@ def test_calexp(self): # TODO: Find a way to tighten psf-related atol in DM-46415. psf_atol = 3e-5 for name, var, val, atol in [ - ("im_mean", im_mean, 4.45269697581625, standard_atol), - ("im_std", im_std, 163.47350818645234, standard_atol), - ("var_mean", var_mean, 51.76494665879407, standard_atol), - ("var_std", var_std, 48.19509860934283, standard_atol), + ("im_mean", im_mean, 4.452631054227751, standard_atol), + ("im_std", im_std, 163.4734053610175, standard_atol), + ("var_mean", var_mean, 51.76499345997559, standard_atol), + ("var_std", var_std, 48.195043744459134, standard_atol), ("num_good_pix", num_good_pix, 7731814, 0), ("psf_ixx", psf_ixx, 4.25089264118243, psf_atol), ("psf_iyy", psf_iyy, 4.67312079513306, psf_atol),