Here is a script that I have written to automate my nightly observing run. I still have to add events and end of night actions. But before I do that I want to make sure the script is going to execute as needed.
The idea is a run the script and the software tests the first star (XX Pup) and if it is not in the hour angle range of -3 to +2 it then moves on to the next star (does not wait for XX Pup to rise). It then checks the next star and so forth. When it reaches the last star it will cycle back and try the firs
If a star is found to be in the range HA -3 to +2 then it will execute the assigned sequence. The sequence will run until the star reaches +3 hour angle and then finish. The stars are separated by 6 hours of RA and so when one star finishes it will move to the next star. If no star is within range then the script will continue cycling until one of the stars rises into position. It will then image that star for 6 hours.
Will the attached script do that?