David's Astronomy Pages
Notes - Session 813 (2020-09-26)

 
Bullet Session Aims & Highlights
 - Observing Result
 - Night Summary Plot
 - Session Event Log
 
Bullet Operational Issues
  - Critical Issues (0),  Major Issues (2),  Minor Issues (8),  Continuous Improvement (4)
Bullet Images from 2020-09-26 >>
Bullet Earliest Plan Start Time
Bullet Dome Data Stalled (S813)
 

Session Aims & Highlights (2020-09-26)

Main aims

  1. Targets. Acquire images of a selection of deep sky targets
  2.  StartingMins. Test new 'Earliest Queue Start Time' functionality which involves calculating and passing StartingMins from AstroMain to AstroPlan so that Plan Start Time is defined at a point when observatory will be ready and resolve the recent issue that 1st target is being missed. See Earliest Plan Start Time

Equipment & Software

Lowlights

Summary Plots & Logs

Observing Plan
Image
  
Observing Result
Image
   
Dome & Scope Slewing Performance
Image
  
Slew/Centering Performance
Image
  
Guiding Performance
Image
Image
  
Sky Conditions (Locate Frames)
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 (API data from darksky.net)
Pre-Session Weather forecast showed dry and clear conditons for the entire night ( 0-16% cloud cover)
with temperature falling to minimum temperature of 8 °C by dawn but fairly windy (22mph dropping to 14mph by dawn)

In the event conditions were dry but with a lot of fast moving cloud causing problems for imaging and guiding.
 Wind was moderate for most of the night and temperatures were around 8°C (min).
Image   
  
Session Event Log
Time     Event Detail
19:19:53 Session Monitoring AutoStart monitoring for Live Session opportunity starting between 19:48 & 05:10
19:48:53   AutoStart Waiting AutoStart waiting till earliest start time at 19:48
19:48:55   AutoStart Delayed Session delayed due to cloud
20:16:11 Session AutoStarting Session autostarting (20:16)
20:16:52   Camera1 Connected SBIG Camera Connected (set point -10°C)
20:16:54 Session Created Live Session Created (2020-09-26 S00813, ImageSaveNum: 813001)
20:18:41   Services Started Observatory Services started
20:18:49 Observatory (Auto) Observatory placed in Fully-Automated Mode
20:18:51 Session Pending Session pending (2020-09-26)
20:18:51   Plan Requested Observing Plan requested from AstroPlan (1.16.2)
20:18:53 Session Initiating Session initiating (2020-09-26)
20:19:21   Plan Loaded Observing Plan loaded to queue (2020-09-26 V1 BEST PLAN, Plan ID: 548)
20:19:24   Camera1 Connected SBIG Camera Connected (set point -15°C)
20:19:29   Telescope Connected Telescope Connected (TheSky6)
20:19:41 Session Equilibration Session ready for dome & camera equilibration
20:22:36   Dome Opened Dome opened (opening time 45s)
20:22:40   Equilibration Started Dome Equilibration started
20:26:52   Equilibration Ended Dome Equilibration ended (4.3 mins total)
20:26:53   Queue Started Observing Queue started (36 targets selected)
20:26:54 Session Running Session running
20:28:30       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
20:30:02   SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
20:33:41       Focusing Completed Foc1 AutoFocus Completed (Profile No 1)
20:38:18   SoftSuspend Cancelled Soft Suspend is cancelled due to Improved Conditions
20:38:36       Focusing Failed Foc1 Focusing Failed - failed QC check (Ambiguous)
20:38:39       Focusing Started-Foc2 Foc2 Focusing Started (Secondary Scope, using ShCap)
20:41:15       Focusing Completed Foc2 AutoFocus Completed (Profile No 2, wide)
20:43:20       Focusing Failed Foc2 Focusing Failed - failed QC check (Quadratic)
20:43:22     Target Started (1/36) Target started (1/36, GCVS U Her)
20:45:54       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
20:49:09   SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
20:50:42       Focusing Completed Foc1 AutoFocus Completed (Profile No 3)
20:53:20       Focusing Completed Foc1 AutoFocus Completed (Profile No 3)
20:55:11     Target Completed Target partially completed (1/36, GCVS U Her)
20:55:13   Queue Paused Queue paused for SoftSuspend
20:55:15 Session Suspended Session suspended
20:56:04   Dome Closed Dome closed (closing time 49s)
20:59:30 Session Resuming Session resuming
21:00:15   Dome Opened Dome opened (opening time 45s)
21:00:17 Session Running Session running
21:01:15       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
21:04:33       Focusing Completed Foc1 AutoFocus Completed (Profile No 4)
21:04:35       Focusing Started-Foc2 Foc2 Focusing Started (Secondary Scope, using ShCap)
21:07:12       Focusing Completed Foc2 AutoFocus Completed (Profile No 5, wide)
21:08:54       Focusing Failed Foc2 Focusing Failed - star lost
21:08:56     Target Started (2/36) Target started (2/36, IC 1222)
21:15:56     Target Completed Target partially completed (2/36, IC 1222)
21:15:59     Target Started (3/36) Target started (3/36, GCVS R CrB)
21:18:37       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
21:21:15       Focusing Completed Foc1 AutoFocus Completed (Profile No 6)
21:24:35     Target Completed Target completed (3/36, GCVS R CrB)
21:24:37     Target Started (4/36) Target started (4/36, UGC 6930)
21:36:38   SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
21:37:23   SoftSuspend Cancelled Soft Suspend is cancelled due to Improved Conditions
21:42:23     Target Completed Target completed (4/36, UGC 6930)
21:42:25     Target Started (5/36) Target started (5/36, GCVS AM Her)
21:44:01       Focusing Started-Foc2 Foc2 Focusing Started (Secondary Scope, using ShCap)
21:45:02       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
21:47:53       Focusing Completed Foc1 AutoFocus Completed (Profile No 7)
21:52:45     Target Completed Target completed (5/36, GCVS AM Her)
21:52:47     Target Started (6/36) Target started (6/36, GCVS S Cyg)
21:53:46   DeviceHub.Dome Froze DeviceHub.Dome stopped updating with fresh information from Dome
21:54:55       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
21:57:53       Focusing Completed Foc1 AutoFocus Completed (Profile No 8)
22:00:30   SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
22:01:25   SoftSuspend Cancelled Soft Suspend is cancelled due to Improved Conditions
22:05:20   SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (reducing clarity)
22:05:22 Critical Cloud Alert Critical Cloud Alert (Obs.Manager will close the Shutter)
22:05:23     Target Aborted (6/36) Target aborted (6/36, GCVS S Cyg) due to cloud
22:05:26   Queue Paused Queue paused for SoftSuspend
22:05:28 Session Suspended Session suspended
22:05:30 Program Hung Job Queue froze whilst waiting for HardSuspend to be cancelled
22:29:31     Target Missed (7/36) Target's time slot was missed (7/36, GCVS BL Lac)
22:29:32   Queue Paused Queue pausing for HardSuspend
22:29:33   Queue Paused Queue pausing for HardSuspend
22:29:35   Services Stopped Observatory Services stopped
22:29:36   Queue Paused Queue pausing for HardSuspend
22:29:37   Queue Paused Queue pausing for HardSuspend
22:29:38   Queue Paused Queue pausing for HardSuspend
22:29:40   Queue Paused Queue pausing for HardSuspend
22:29:41   Queue Paused Queue pausing for HardSuspend
22:29:42   Queue Paused Queue pausing for HardSuspend
22:29:43   Queue Paused Queue pausing for HardSuspend
22:29:44 User Intervention User Intervention to abort Job Queue and end session
22:29:46   Queue Aborted Job Queue aborted
22:30:20   Obs.Manager Started Obs.Manager started
22:30:22   Obs.Overseer Started Obs.Overseer started
22:30:26   Services Started Observatory Services started
22:30:41   Telescope Switched Off Telescope Power has been switched off via UPB Powerbox.
22:31:37   Dome Parked Dome moved to Az 90 deg (Park Position)
22:31:52   Services Stopped Observatory Services stopped
22:31:56 Program Closed Program closed by User
22:31:58 Program Closed Program closed by User
22:45:00 Session Resumed Live Session Resumed (2020-09-26 S00813, ImageSaveNum: 813041)
22:45:16   Obs.Manager Started Obs.Manager started
22:45:18   Obs.Overseer Started Obs.Overseer started
22:45:22   Services Started Observatory Services started
00:55:23 User Intervention User request to close and finish session
00:55:23   Dome Closed Dome already closed (closure time is unknown)
00:55:24   Dome Parked Dome already parked (parking time is unknown)
00:55:25 Session Closing Session closing
   
Session Alerts
Time     Alert Detail
-- No Alerts                --                              

Back to Top


Operational Issues (2020-09-26 S813)

[ Prev | Next ]

Critical Issues

Major Issues

Minor Issues

Continuous Improvement

[ Prev | Next ]

Back to Top


Earliest Plan Start Time

An issue has arisen in recent sessions following introduction of extended Near Zenith Focusing (including precursive Wide Focus Search) and the new AutoStart mode, whereby the 1st target in the Observing Plan normally ends up being missed.   A solution has been developed in AstroMain 3.29.1 and AstroPlan 1.16.2 to try to ensure that Observing Plan Start Time corresponds better with the time that the Observatory is ready including near zenith auto-focusing of both main LX200 Scope and the TS-80 GuideScope.

A new routine ObservatoryManager.GetPreQueueActivityMins() has been written in AstroMain to compile the minimum reasonable time that is needed before Obs.Manager will be ready to begin an observing plan. This takes into account the time needed to open the dome (1 min), equilibrate the camera & dome (5 mins), perform near zenith focusing of main scope and guide scope (up to 14 mins), and add contingency (2 mins).   Timings are based on those used for determining Open Dome time and reporting pre-queue activities in the ObservatoryManager.SetState_Equilibrating() routine.  At the moment the timings are set separately in the two routines, such that for the time being any changes need to be made in both routines)

There is no point in creating a new observing plan with a Start Time that is before time that the observatory will be ready to commence the plan., and therefore the InitiateNewPlan() routine has been modified to set the overall StartingMins required (from 2.0 + GetPreQueueActivityMins()) and include this time as an additional line in the CreatePlanFlag.dat file that is used to trigger AstroPlan program to make a new plan.

AstroPlan's AutoBuildSchedule() routine has been modified to read the required StartingMins and copy it to the ScheduleBuilder's txtStartingMins.text field
After reading the CreatePlanFlag.dat this routine goes on to execute the following commands 
   checkboxStartTimeFromNow.Checked = True
   txtNightDate.Text = GetNightDateNow()
   ResetNightDetails()     
   AutoSelectStartAlt()
   RunBuilder()

Note:  ResetNightDetails() gets run 3 times (once in AutoBuildSchedule(), once in AutoSelectStartAlt and once in RunBuilder). This is overkill but ensure that night details are definately set before a New Plan is created.

ResetNightDetails() is modified to read the StartingMins from txtStartingMins.text field and use it to define the EarliestQueueStartTime (from Now().AddMinutes(StartingMins)

S813 Results

StartingMins passed to AstroPlan = 25
(from AstroPlan 2 min, Open Dome 1 min, Equilibration 5 min, NearZenithFocusing 14 min, Contingency 2 min = 24 mins)

SunAlt -12   20.18

Create Observing Plan            2020-09-26 20:18 (Local)
Starting Minutes           Info  25 minutes required
Request Observing Plan...  Ok
Generate Night Plan...     Ok    Schedule Builder has completed
Selecting Plan...          Ok    2020-09-26 V1 BEST PLAN (Plan ID: 548)
Retrieving Targets ...     Ok    36 Targets.
Reading Start Time...      Ok    2020-09-26 20:43 (Scheduled StartTime, Local)

Session Equilibration
            2020-09-26 20:19 (Local)
Now                        Info  2020-09-26 20:19 ( -24 mins )
Expected Shutter Opening   Info  2020-09-26 20:20 ( -23 mins )
Expected Equilbrat'n Start Info  2020-09-26 20:21 ( -22 mins )
Expected Run Start         Info  2020-09-26 20:26 ( -17 mins )
Expected Near-Zenith Foc1  Info  2020-09-26 20:27 ( -16 mins )
Expected Near-Zenith Foc2  Info  2020-09-26 20:35 ( -8 mins )
Expected Queue Start       Info  2020-09-26 20:41 ( -2 mins )
Plan Queue Start           Info  2020-09-26 20:43 ( On Track )


Session Running                  2020-09-26 20:26 (Local)

GCVS U Her (1/36)                2020-09-26 20:43 (Local)
Target:                    Ok    GCVS U Her (ID: 107)
Type:                      Ok    Mira variable
Program:                   Ok    Main Variables (ID: 12)

Planned Start..            Ok    2020-09-26 20:43 (Scheduled)
Planned End..              Ok    2020-09-26 20:55 (Scheduled) Duration : 11.4 mins
Start
Actual Start               Ok    2020-09-26 20:43 (Local)

Due to focusing failures on Near Zenith Focus Field, extra focusing was conducted as part of Target 1/36 (U Her) which unfortunately led to Image Sets 2 and 3 being cancelled in order to prevent the observation from over-runnng its time slot.    This does not take away from the fact that code changes to ensure that the 1st Target isn't missed did work as per design.

Back to Top


Dome Data Stalled (S813)

After two successful 8 hour sessions (using DeviceHub 6.4.1.11 which I’ve now upgraded to) session S813 was operating for around 1.5 hours  when there was a repeat of the issue that I described in a Posting made to ASCOM Talk Forum  "DeviceHub problem - dome information stops refreshing"  2020-09-18  https://ascomtalk.groups.io/g/Help/topic/76935263#42838

DeviceHub's Activity Log (DeviceHub.DomeActivityLog_2020-09-26.txt) shows everything working ok until 21:53:46.340 when after getting Dome-Statuses okay (ShutterStatus, Azimuth etc ) Dome-Commands show Dome Slaving calculation starting but apparently not finishing.

21:53:41.223: Dome - Statuses: Get ShutterStatus: shutterOpen
21:53:41.223: Dome - Statuses: Get AtHome: False
21:53:41.223: Dome - Statuses: Get AtPark: False
21:53:41.223: Dome - Statuses: Get Azimuth: 265.5
21:53:41.223: Dome - Others: Get Connected flag - True
21:53:41.223: Dome - Statuses: Get Slewing: False
21:53:41.223: Dome - Commands: Dome position recalculation due to telescope slew-in-progress.
21:53:41.332: Dome - Commands: Slaving the dome to telescope Az: 280.78, Alt: 81.24, HA: 1.08741, SOP: pierEast.
21:53:41.332: Dome - Commands: The calculated dome position is Az: 265.78, Alt: 84.06.
21:53:41.332: Dome - Commands: The dome azimuth is close to the target azimuth...no slew is needed.
21:53:46.340: Dome - Statuses: Get ShutterStatus: shutterOpen
21:53:46.340: Dome - Statuses: Get AtHome: False
21:53:46.340: Dome - Statuses: Get AtPark: False
21:53:46.340: Dome - Statuses: Get Azimuth: 265.5
21:53:46.340: Dome - Others: Get Connected flag - True
21:53:46.340: Dome - Statuses: Get Slewing: False
21:53:46.340: Dome - Commands: Dome position recalculation due to telescope slew-in-progress.
22:05:26.427: Dome - Others: Get Connected flag - True
22:05:26.427: Dome - Commands: CloseShutter: (done)

At the time (21:53:46) my client program (AstroMain) was under automated control and was actively undertaking imaging of S Cyg whilst monitoring sky conditions which were deteriorating. Finally at 22:05:22 there was a critical cloud alert and the dome shutter was commanded to close (via DeviceHub.Dome.CloseShutter). The activity log shows the CloseShutter Command at 22:05:26.427. After this DeviceHub.Dome reported to my two clients (AstroMain & AstroGuard) that ShutterStatus was 'shutterClosing'. My main client program (AstroMain) waited in vain for the status to change to shutterClosed but it never reached the Closed state, whilst an oversight client program also recorded that shutter closure operation had overrun its normal closing time. I went outside to visually check the Observatory and found the Shutter was physically closed. (i.e. the Command to CloseShutter had operated successfully)

Even though DeviceHub was telling my clients that the ShutterStatus was Closing, a screen capture of the DeviceHub at 22:15 shows Shutter Position as Open (the position it was in before DeviceHub's dome data refreshing stopped at 21:53:46). Both are wrong as the Shutter was proven to be physically closed.

The Pulsar Dome Ascom Log (ASCOM.Pulsar_Observatories_Dome.1918.437520.txt) shows the Dome Driver receiving the CloseShutter command at 22:05:26.552, and the ShutterStatus progressing from Open (0) to Closing (3) to become Closed (1) at 22:06:10.622. The same log shows that the regular 5s interrogations of ShutterStatus, Park State, Slew State, Azimuth stop at 21:53:46.340, which is the same time that the DeviceHub activity log stops refreshing.

Separate to the Activity Log which I captured via the clipboard there was an ASCOM log file (ASCOM.DeviceHubDome.1918.437050.txt) that was being written to disk which I also attach (In fact there was a second file (ASCOM.DeviceHubDome.2019.465710.txt) that was also being written concurrently to disk. Not sure if there are two because I had two clients using the DeviceHub.Dome. These show reporting of Dome Statuses (ShutterStatus, dome Azimuth) every 5s but continuing on past the 21:53:46 time when the Activity Log show things stalling.

They show ShutterStatus switching from Open to Closing at 22:05:31.263, but the logs still report shutter is Closing at 22:22:58 (18 minutes later) when the logs end.

[ One thing I notice is in the ASCOM.DeviceHubDome.1918.437050.txt log (assume these are messages associated with my main program client which starts earlier) there are repeating sets of multiple (20) GetShutterStatus lines listed with the same or very similar ms time, i can’t think why my client program would be making 20 requests at a time (I will check for some accidental/unintended loop in my code). These sets stop at around the time the observatory is commanded to close. Checking backs show there were the same sets of 20 GetShutterStatus lines at a time throughout the previous two sessions which both operated without any problem ]

At the time the screen captures where made (22:15) skies had cleared and automated operations would normally have reopened the shutter, but with the DeviceHub.Dome stalled on ‘Closing’ my clients couldn’t track /confirm any reopening of the dome even though an OpenShutter command would have still worked (as shown in previous sessions using Pulsar Dome Trace Logs)

Again, as part of disconnecting Clients from DeviceHub to restart things ,  DeviceHub produced a fatal exception that was reported/detailed in  original posting to ASCOM Talk Forum. It seems to be more an artefact of the problem rather than highlighting anything useful about the original cause of the problem.

Examining the session logs shows that at the time the DeviceHub.Dome appears to have stalled (21:53:46) the imaging of S Cyg target hadn’t yet started, the observatory was instead performing a small jog (1.05 arc min) jog to centre the telescope onto the required target following a plate solution on initial post-slew locate frame. This explains the messages ‘Dome position recalculation due to telescope slew-in-progress’ and ‘The dome azimuth is close to the target azimuth...no slew is needed’ shown on Activity Log directly before the stall.
( Jog was performed using the TheSky6.Telescope.Jog command (ie via TeleApi to Ascom.DeviceHub.Telescope to Meade LX200 GPS/R ) )

Back to Top