The description below assumes that the experiment is called ds001 and that it's running on the Katherine 12m (station ID Katherine). It is also assumed that the Dynamic Observing Scripts are installed in /home/oper/bin/dysched
It's recommended that this software is run from a VNC session but it can also be run on the desktop. For the example given here, a VNC session is shown.
Start the PC field system software as usual.
In a terminal window, start
ds_redbutton.pl and test that you can communicate with the server and send an antenna available/not available status.
-
In a new terminal window, start the main dynamic observing script
dysched.pl with the name of the experiment and the station ID:
cd ~/bin/dysched
./dysched.pl ds001 ke
You will be asked if you want to continue as any current schedule will be stopped.
The software will copy the default schedule ds.snp
to ds001ke.snp
The software will then copy the default procedure file ds.prc
to ds001ke.prc
The schedule file is then appended with two lines. The first one sets a wait time 70 seconds into the future, and the last one tells the schedule to call itself starting on the next line (which will be the first line of the first piece of new schedule to be downloaded from the server).
dysched.pl
then starts the schedule from line 1.
The software will now go into a loop, executing the following steps every minute:
Check the override status (as written by
ds_redbutton.pl) in
override.txt.
If the antenna is available, then the following steps are taken:
The web page containing the name of the current new schedule is checked and it's start time is read.
If the new schedule piece occurs after the end of the current schedule, then the new piece is downloaded from the server, and
DynamicSnap.sh is run to call Drudg and append a new piece of SNP file onto the schedule.
If the antenna is available or not,
dysched.pl now checks to see if the schedule is about to expire or not. If it is, a
halt
command is sent, otherwise a
cont
.
dysched.pl can be stopped at any time by typing Control-C in the terminal window or by killing the process
By default, the station status information is available from the Dynamic Observing station status page and the schedule status is available at the dynamic scheduling status page (the last line lists the most recent schedule).
Below is a screenshot of a dynamic scheduling session running at Katherine.