winter-telescope / observatory

0 stars 0 forks source link

Add a new FITS header field for the requested target RA/Dec #138

Closed nlourie closed 1 week ago

nlourie commented 1 month ago

The plan is to:

  1. add new keywords TARGRA and TARGDEC which are directly pulled from the schedule/commanded pointing center
  2. rename the keywords currently holding the pointing center, OBJRA and OBJDEC, to POINTRA and POINTDEC
  3. for now populate OBJRA and OBJDEC with None, and then deprecate/remove when confirmed it's safe to do so.
nlourie commented 1 month ago

It starts out behaving like you'd expect, but within roboOperator.do_observation the passed in target is set to self.target_ra_j2000_hours and self.target_dec_j2000_deg, which is what is turned into state["robo_target_ra_j2000"] and state["robo_target_dec_j2000"].