David's Astronomy Pages
Notes - Session 683 (2019-08-22)

 
Bullet Session Aims & Highlights
 - Observing Result
 - Night Summary Plot
 - Session Event Log
 
Bullet Operational Issues
  - Critical Issues (0),  Major Issues (0),  Minor Issues (10),  Continuous Improvement (4)
 
Bullet Investigation -  Session Suspension Issues
 
Bullet Images from 2019-08-22  >>
 
 

Session Aims & Highlights (2019-08-22)

Main aims

  1. Mixed Targets - Image selection of targets including Variable Stars, Comets and Deep Sky Targets
  2. Confidence in Automated Operations - Check for correct and safe Automated Operations through an entire night of variable cloud conditions.. Confirm correct Observatory Shutdown from Suspended Mode
  3. Software & Systems  - Check stability of software and presence of any side effects following ongoing enhancements to AstroMain and associated support programs.

 
Equipment & Software

Highlights

Lowlights

Summary Plots & Logs

Observing Plan
Image
 
Observing Result
Image
   
Night Sky Summary Plot
Top axis: Sky Brightness at Zenith (in ADU/s)
Lefthand axis: Local Time (hh LT). Righthand axis: Sun Altitude (degs)
Image   
   
Pre-Session Weather Forecast (AstroWeather 1.7.1)
(cloud forecast from ~ 01:00 onwards with 43% initial cover building to 100% by 04:00
However in the event cloud arrived at 23:00 with 90% cover building to 100% cover at 01:30,
before reducing to 30% cover from 02:30 onwards, but still with poor clarity)
 
Image   
Session Event Log
Time   Event Detail
21:35 Session Created Live Session Created (2019-08-22 S00683, ImageSaveNum: 683001)
21:37 Obs.Manager Started Obs.Manager started
21:37 Services Started Observatory Services started
21:38 Observatory (Auto) Observatory placed in Fully-Automated Mode
21:38 Session Pending Session pending (2019-08-22)
21:39 Session Initiating Session initiating (2019-08-22)
21:39   Plan Requested Observing Plan requested from AstroPlan ()
21:42   Plan Loaded Observing Plan loaded to queue (2019-08-22 V1 BEST PLAN, Plan ID: 321)
21:43   Camera1 Connected SBIG Camera Connected (set point -10°C)
21:43   Telescope Connected Telescope Connected (TheSky6)
21:54 Shutter Opened Shutter opened (opening time 45s)
21:54 Equilibration Started Dome Equilibration started
22:01 Equilibration Ended Dome Equilibration ended (7.3 mins total)
22:01 Session Running Session running
22:01   Queue Started Observing Queue started (28 targets selected)
22:01     Target Started (1/28) Target started (1/28, Kn 61)
22:04   Focusing Started (Foc1) Foc1 Focusing Started (TCF-S)
22:06   Focusing Completed Foc1 AutoFocus Completed (Profile No 1)
22:22     Target Completed Target completed (1/28, Kn 61)
22:22     Target Started (2/28) Target started (2/28, GCVS FG Sge)
22:23   Focusing Started (Foc1) Foc1 Focusing Started (TCF-S)
22:25   Focusing Completed Foc1 AutoFocus Completed (Profile No 2)
22:28     Target Completed Target completed (2/28, GCVS FG Sge)
22:28     Target Started (3/28) Target started (3/28, Pal 13)
22:30   Focusing Started (Foc1) Foc1 Focusing Started (TCF-S)
22:32   Focusing Completed Foc1 AutoFocus Completed (Profile No 3)
22:39     Target Completed Target completed (3/28, Pal 13)
22:39     Target Started (4/28) Target started (4/28, NGC 6756)
22:42   Focusing Started (Foc1) Foc1 Focusing Started (TCF-S)
22:47     Target Completed Target completed (4/28, NGC 6756)
22:48     Target Started (5/28) Target started (5/28, Abell 55)
22:51   Focusing Started (Foc1) Foc1 Focusing Started (TCF-S)
22:52 Critical Cloud Alert Critical Cloud Alert (Obs.Manager will close the Shutter
22:52     Target Aborted (5/28) Target aborted (5/28, Abell 55) due to Unknown Reason
22:52 Session Suspended Session suspended
22:52 Shutter Closed Shutter closed (closing time 48s)
02:31 Session Resuming Session resuming
02:32 Shutter Opened Shutter opened (opening time 45s)
02:32 Queue Resumed Observing Queue resumed
02:35 Critical Cloud Alert Critical Cloud Alert (Obs.Manager will close the Shutter
02:35 Session Suspended Session suspended
02:36 Shutter Closed Shutter closed (closing time 48s)
02:51 Session Resuming Session resuming
02:51 Shutter Opened Shutter opened (opening time 45s)
02:51 Queue Resumed Observing Queue resumed
02:51     Target Started (22/28) Target started (22/28, NGC 6885)
02:54   Focusing Started (Foc1) Foc1 Focusing Started (TCF-S)
02:56   Focusing Completed Foc1 AutoFocus Completed (Profile No 4)
03:01     Target Completed Target completed (22/28, NGC 6885)
03:01     Target Started (23/28) Target started (23/28, GCVS EV Lac)
03:01 Session Suspended Session suspended
03:02 Shutter Closed Shutter closed (closing time 48s)
03:07   Focusing Started (Foc1) Foc1 Focusing Started (TCF-S)
03:09     Target Completed Target completed (23/28, GCVS EV Lac)
03:13 Session Resuming Session resuming
03:14 Shutter Opened Shutter opened (opening time 45s)
03:14 Queue Resumed Observing Queue resumed
03:16     Target Started (25/28) Target started (25/28, GCVS U And)
03:18   Focusing Started (Foc1) Foc1 Focusing Started (TCF-S)
03:20   Focusing Completed Foc1 AutoFocus Completed (Profile No 5)
03:26 Critical Cloud Alert Critical Cloud Alert (Obs.Manager will close the Shutter
03:26 Critical Cloud Alert Critical Cloud Alert (Obs.Manager will close the Shutter
03:26     Target Aborted (25/28) Target aborted (25/28, GCVS U And) due to Unknown Reason
03:26 Session Suspended Session suspended
03:26 Critical Cloud Alert Critical Cloud Alert (Obs.Manager will close the Shutter
03:27 Shutter Closed Shutter closed (closing time 48s)
03:56 Queue Completed Job Queue completed
03:56 Session Closing Session closing
03:57 Dome Parked Dome parked (parking time 33s)
03:58 Telescope Parked Telescope parked (parking time 42s)
03:59 Session Finished Session Finished
 

Back to Top


Operational Issues (2019-08-22, S683)

[ Prev | Next ]

Critical Issues

Major Issues

Minor Issues

Continuous Improvement

[ Prev | Next ]

Back to Top


Investigation - Session Suspension Issues

There are a number of issues related to reporting / logging during Session Suspension.
Here we investigate two specific issues that occured around the time of session suspension at 03:26

Issues:
- Three Critical Cloud Alert events reported and sent to Database at around 03:26
- Event line "Target aborted (25/28, GCVS U And) due to Unknown Reason" should be more specific.  

Report File:

GCVS U And  (25/28)                     2019-08-23 03:13  (Local)
  Target:                     Ok        GCVS U And        (ID: 21)

  Taking 10s image (R)...     Ok        [00683069] 02:26:27 (UT)  Full 3x3 10s R

    Guide Stats  rms error    5.5"      2.1", 5.1", SNR:308.5, SM: 564778, Guide: 100% (Lost: 0%), n:9 (0)
  Taking 8s image (I)...      

Observatory Alert                       2019-08-23 03:26  (Local)
Critical Cloud Conditions:    Alert     Observatory Manager will close the Dome Shutter
Reason To Suspend             Info      FailureState.0

Observatory Alert                       2019-08-23 03:26  (Local)
Critical Cloud Conditions:    Alert     Observatory Manager will close the Dome Shutter
Reason To Suspend             Info      FailureState.0
Failed    ()

  Target Aborting ...         OK        Target aborting due to Unknown Reason

GCVS SS Cyg  (26/28)                    2019-08-23 03:26  (Local)
  Target:                     Ok        GCVS SS Cyg       (ID: 13)
  Type:                       Ok        Variable
  Program:                    Ok        Main Variables    (ID: 12)

  Planned Start..             Ok        2019-08-23 03:34  (Scheduled)
  Planned End..               Ok        2019-08-23 03:49  (Scheduled) Duration : 14.4 mins
  Waiting to start...         Hold      Wait for 3.1 mins

Session Suspended                       2019-08-23 03:26  (Local)
  Session: 2019-08-22         Info      Session suspended

Observatory Alert                       2019-08-23 03:26  (Local)
Critical Cloud Conditions:    Alert     Observatory Manager will close the Dome Shutter
Reason To Suspend             Info      FailureState.0
  Close Shutter...            Closing   
  Close Shutter...            Ok        Shutter is Closed (48s)

  Continue..                  Ok        2019-08-23 03:34  (Local)
  Current AllSky Meas...      Ok        Clear             (33)
  Session Status:             Fail      Session is suspended due to cloud
  Target Result:              Fail      Failed (cloud)

GCVS HH And  (27/28)                    2019-08-23 03:34  (Local)
  Target:                     Ok        GCVS HH And       (ID: 19)
  Type:                       Ok        Nearby Star
  Program:                    Ok        Nearby Stars      (ID: 11)

  Planned Start..             Ok        2019-08-23 03:49  (Scheduled)
  Planned End..               Ok        2019-08-23 03:56  (Scheduled) Duration : 7.4 mins
  Session Status:             Hold      Session is suspended due to non-defined reason
  Waiting on weather...       Hold      Wait for conditions to improve
  Turn Off Tracking..         Ok        Telescope Tracking is OFF

  Continue..                  Ok        2019-08-23 03:49  (Local)
  Target:                     Ok        GCVS HH And       (ID: 19)
  Current AllSky Meas...      Ok        Clear             (49)
  Session Status:             Fail      Session is suspended due to cloud
  Target Result:              Fail      Failed (cloud)

Log File

Image

Analysis

Time Obs. Manager   Job Executor  
03:13:24     Target opened (U And, Target 25/28)  
03:13:29 Changed Session State to Resuming      
03:13:34 Shutter is Opening      
03:14:14 Shutter is Open (45s)
Changed Session State to Running (again)
03:16:19 Target started (U And)
03:23:50
  Image Group 2/3 Started  
03:26:27
  10s Image taken  (R Filter)  
03:26:40     Changing to I filter  
03:26:45
Cloud
Alert
Obs. Manager detects cloud conditions have become critical.
Situation reported to Report file, Log file and Event table.
Obs. Manager knows that Session needs to be suspended.
Calls the routine 'UpdateReasonToSuspend()'
 [ This failed to set  the global variable   'ReasonToSuspend' to FailureState.Cloud due to an incorrect threshold for Clarity ]
bHardSuspend set to True.
HardSuspendStartTime set to Now()
AbortTargetExplicit() called
jobAbortTarget set to True.
( Camera.Abort called
     
03:26:49
  8s Image started (I filter)  
03:26:50 Next cycle (5s after 1st Cloud Alert)
Again: Obs. Manager again detects critical cloud conditions
Again: Situation reported to Report file, Log file and Event table
     
  Camera.Abort called from AbortTargetExplicit   Error during TakeImage  
      Target aborted (U And)
 
03:26:51      Target opened (SS Cyg, Target 26/28 )  
03:26:57 Changed Session State to Suspended
ScopeMode set to ScopeMode.Suspended
CloseShutter command sent to Dome (twice?)
03:26:50 Next cycle
Again: Obs. Manager again detects critical cloud conditions
Again: Situation reported to Report file, Log file and Event table
     
03:27:00 Shutter is Closing      
03:27:45 Shutter is Closed (48s)      
03:34:59     Target cancelled (SS Cyg)  
03:35:00     Target opened (HH  And, Target 27/28)
ScopeMode set to ScopeMode.Waiting
 
       

Issue: Target aborting due to Unknown Reason

During Target Execution the AbortTarget function is tested to see if JobAbortTarget is set of not
If it is set (which will have happened when AbortTargetExplicit() is called slightly beforehand by the Obs.Manager) it will run the line

ReportComment2B(Tab2 + "Target Aborting ...", "OK", "Target aborting due to " + GetAbortReason())

The "GetAbortReason()"  function returns a suitable string based on the value of the global variable "ReasonToAbort"
But if it hasn't been explicitly set and has the value AbortReason.Undefined (0) the function returns "Unknown Reason"

which explains the report line

Target Aborting ...         OK        Target aborting due to Unknown Reason

To fix the issue  Obs.Manager calls  to set  "ReasonToAbort" to  AbortReason.CriticalConditions before calling AbortTargetExplicit

The code did do this but the line was commented out in the mistaken view that a preceding call to UpdateReasonToSuspend() accomplished the same thing - but it doesn't.

Back to Top