winter-telescope / observatory

0 stars 0 forks source link

[Draft] new fits keywords TARGRA, TARGDEC, POINTRA, POINTDEC #139

Closed nlourie closed 1 week ago

nlourie commented 1 month ago

Going to test this on the telescope, but this should bring in the behavior requested by @robertdstein to better track the actual requested target RA/Dec, eg straight from the schedule.

It should produce header entries like this:

TARGRA             238.472663           Target RA 15:53:53.4 (J2000)
TARGDEC          -78.15795               Target DEC -78:09:28.6 (J2000)

POINTRA           238.472663           Target RA 15:53:53.4 (J2000)
POINTDEC         -78.15795              Target DEC -78:09:28.6 (J2000)

Where TARGRA/TARGDEC are the scheduled target coordinates in degrees, and POINTRA/POINTDEC are the pointing center RA/Dec in deg. The pointing center coordinates are what the telescope is commanded to, which includes any calculated offset to recenter the field (eg on the best detector), and are what the dithers are with respect to.

Going to test this out on the telescope and then merge when confirmed it works.

NOTE: OBJRA and OBJDEC are still hanging around, but are just empty:

OBJRA           None                           DEPRECATED - Object RA
OBJDEC        None                           DEPRECATED - Object DEC

Closes #138

nlourie commented 1 week ago

this branch got weird. moved this into the image-daemon-missing-sensors branch and PR #148