Uploaded image for project: 'Instrument control development'
  1. Instrument control development
  2. INSTRM-2840

Error in focus sweep cause AG guide loop to stop

    XMLWordPrintable

    Details

      Description

      (2.4142930510758496), peak=np.float64(2852.8762), flux=np.float64(837176.44), dry_run=False
      2026-01-09 06:09:25.713Z cmdr             20 CmdrConnection.py:218 queueing command mlp1(guide azel=-0.061219327744765906,-0.11043403252983808 ready=1 time=1767938961.7 delay=0 xy=-104.68926918159903,51.144689633143784 size=2.4142930510758496 intensity=2852.8762 flux=837176.44)
      2026-01-09 06:09:25.724Z actor            20 main.py:98 reply=ag.ag 132 mlp1 I guideerror=0.061219327744765906,0.11043403252983808
      2026-01-09 06:09:25.724Z actor            20 main.py:98 reply=ag.ag 132 mlp1 :
      2026-01-09 06:09:25.724Z actor            20 main.py:101 didFail=False
      2026-01-09 06:09:25.724Z ag               20 ag.py:498 AgThread.run: focus.focus for frame_id=972335
      2026-01-09 06:09:25.733Z agActor.utils.focus 20 focus.py:58 In focus with max_ellipticity=2.0, max_size=1000000000000.0, min_size=-1.0
      2026-01-09 06:09:25.740Z ag               40 ag.py:586 AgThread.run error: too many indices for array: array is 1-dimensional, but 2 were indexed
      2026-01-09 06:09:25.741Z ag               40 ag.py:587 AgThread.run: stopping run loop due to error
      2026-01-09 06:09:25.741Z actor            20 actorCalls.py:150 Calling gen2.sendAlert with alert_cmd='sendAlert id=\'AG.CONTROL_LOOP\' name=\'Autoguide Fatal Error\' severity=\'critical\' description=\'A fatal error occurred, autoguiding has been stopped.\' detail=\'"too many indices
      for array: array is 1-dimensional, but 2 were indexed"\''
      2026-01-09 06:09:25.741Z cmdr             20 CmdrConnection.py:218 queueing command gen2(sendAlert id='AG.CONTROL_LOOP' name='Autoguide Fatal Error' severity='critical' description='A fatal error occurred, autoguiding has been stopped.' detail='"too many indices for array: array is 1-
      dimensional, but 2 were indexed"')
      2026-01-09 06:09:25.749Z actor            20 main.py:98 reply=ag.ag 133 gen2 : alert=AG.CONTROL_LOOP,Autoguide;unparsedtext="Fatal Error,critical,1767938965.745,\"A fatal error occurred, autoguiding has been stopped.\",\"\\"too many indices for array: array is 1-dimensional, but 2 wer
      e indexed\\"\""
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wtgee Wilfred Gee
                Reporter:
                wtgee Wilfred Gee
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: