diff --git a/python/lsst/obs/lsst/script/write_non_linear_crosstalk_coeffs.py b/python/lsst/obs/lsst/script/write_non_linear_crosstalk_coeffs.py index 2144c6413..a7a0b25c7 100644 --- a/python/lsst/obs/lsst/script/write_non_linear_crosstalk_coeffs.py +++ b/python/lsst/obs/lsst/script/write_non_linear_crosstalk_coeffs.py @@ -311,6 +311,9 @@ detector=detector, setCalibId=True, setCalibInfo=True, - setDate=False, + setDate=True, ) + cc.metadata["CALIBDATE"] = valid_start + if os.path.isfile(out_file): + os.remove(out_file) cc.writeText(out_file)