Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: obs_lsst
-
Labels:None
-
Story Points:0.5
-
Team:Architecture
-
Urgent?:No
Description
The obs_lsst LATISS metadata translator assumes that data after RASTART_IS_BAD is off by 37s, but in fact this was fixed on 2021-02-12. Please fix the metadata translator.
I'd do it myself, but I don't understand the comment
# RASTART/DECSTART/RAEND/DECEND used wrong telescope location before this
|
# 2020-02-01T00:00 we fixed the telescope location, but RASTART is still
|
# in mount coordinates, so off by pointing model.
|
RASTART_IS_BAD = Time("2020-05-01T00:00", format="isot", scale="utc")
|
and would prefer you to clarify that the problem being fixed is not this one.
There is a more serious problem too, namely that the correction of c. 0.154167 is applied multiple times. The RAEND in the header is 130.211695172908, but:
exposure.getMetadata().get("RAEND"), butler.get("raw_md", dataId).get("RAEND")
|
(130.82836183957568, 130.36586183957567)
|
Do I assume that after the 12th the RASTART/DECSTART are correct in the header and do not need any fixes?
I think for the double correction I'm going to have to finally bite the bullet and add a sentinel to the header indicating that it's been fixed. I've been wary of doing that because I didn't want to surprise people when something weird appears in their header. Maybe I should use something like HIERARCH ASTROMETADATA HEADER FIXED = TRUE.