Before
starting any daytime checks, make sure that you contact the UKIRT
daywork leader first to get clearance to run WFCAM. You will also need to get
clearance to run the TCS in simulation mode if you are doing the full
check and nighttime darks as you will need the TCS running to get all
the necessary headers in the data files. Note that if ETS are running
the TCS you will not be able
to run TCS_SIM without causing the TCS running at the
summit to crash. The darks sequence will also require that the dome
lights are
off and the dome is closed.
Full daytime check with nighttime darks (needs TCS running)
log in to ohi as observer with ssh observer@ohi
launch WFCAM engineering interface with wfcamControlEng
start low level camera software for all cameras [0a]
run simulated tcs [1a]; wait for startup messages and launched windows
run ocs_up [2a]; wait for startup messages and launched windows
add wfcam instrument software to ocs [3]; confirm on sequence console
enable arrays for all four cameras [4]; confirm on sequence console
send WFCAM flush and readnoise measurements from query tool to ocs queue; start ocs queue
start wfcamReduce; confirm data directory presence and reduction started
start wfcamNoise; confirm nominal readnoise
start ompobslog; confirm data present and add readnoise results shift comment
send WFCAM darks from query tool to ocs queue; start ocs queue
wait for dark observations to finish; wait for dark reductions to finish
stop and exit wfcamReduce pipelines; run wfcamReduceNuke
disable arrays for all four cameras [5]; confirm disabled in log
remove wfcam instrument software from ocs [6]
type exit and ctrl-c in and close tcs_sim_cli window
run ocs_down [7]
run tcs_nuke [8a]
stop low level camera software for all cameras [9]; confirm stopped and ignore noticeboard in log
exit wfcamControlEng
log out of ohi
send ukirt_ops wfcam status e-mail report with instrument status, darks status, and final frame
still needed to be done separately (for the time being, still working on directory mount check script):
ssh kauwa, ompobslog; confirm data present
ssh hokulea, ompobslog; confirm data present
new wfcamControlEng features:
most routinely necessary features now incorporated
standard and engineering WFCAM software control both included
standard and engineering OCS/TCS software both included
various data tool access now included
ukirtmon functionality added in case of zero countdown
tcs_sim now runs on ohi
ocs_down and tcs_nuke must both be run if one is run due to software thread issues
canonical old version:
Full daytime
check with nighttime darks (needs TCS running)
Log into Hokulea as "telescope" (using
"ssh -Y telescope@hokulea") and type tcs_sim. Wait 30 seconds
for the TCS software to run up. Running the TCS will ensure that the
data files contain full headers, necessary for the database.
Log into Ohi as "observer" (using
"ssh -Y observer@ohi") and type "wfcamControl". This will
launch the WFCAM control GUI. Run up the low level software from the
GUI by hitting the "start" button and check that all four cameras are
running by clicking on "status". Ignore any beeps you get when hitting
buttons on the GUI, this behaviour is quite normal.
On Ohi, type "ocs_up" and wait for all the OCS screens to launch.
Back on the WFCAM control GUI, hit the "add inst" button, wait
for the sequence console to become "live", and then hit the "enable"
button to activate the arrays.
Send the "WFCAM flush" sequence to the queue and
start the queue, or send directly via "send for engineering" and start
the sequence in the sequence console. Follow this with the "WFCAM
readnoise measurement" sequence.
While the flush and read noise data are being taken, log onto
Kauwa as
"observer" (using "ssh -Y
observer@kauwa") and type wfcamObs. From this GUI, hit the
wfcamReduce button
to start the DRs on all four WFDR machines. Check that the DRs can see
the raw data and the read noise level as reported by the DRs (you can
use the "wfcamNoise" button on wfcamObs to see the read noise results
as well).
Run the the "WFCAM darks" sequence (takes about 20 minutes)
and make sure the DRs reduce the data.
Assuming all is well, quickly run ompobslog on both Kauwa and
Hokulea and ensure they see the data. Enter the results of the read
noise test as a shift log comment.
Disable the arrays from the WFCAM control GUI (NB. please make sure that you get
the response in the logging pane of the GUI that the cameras are
powered off).
Type "ocs_down" on Ohi, then "drama_nuke".
Run down the WFCAM low level software, check the status to make
sure the software has run down successfully, exit wfcamControl and log
out. You can ignore any messages in the wfcamControl logging pane that
say "Failed to unlink noticeboard file".
Run down the TCS by typing "exit" in the TCS terminal. You will
likely also have to do a ctrl-c afterwards. Type "tcs_nuke" on Hokulea,
close the top-end DM screen
and log out.
Exit the DRs and nuke them (with -nogaia). The nuke can also be
done using the "wfcamReduceNuke" button in the wfcamObs GUI. Log out.
Exit wfcamObs on Kauwa and log out.
Finally, send an email to ukirt_ops titled "WFCAM status" and
report the status of WFCAM. Include that darks were taken and report
the final frame number so the nighttime TSS is aware of this and can
inform the observers.
Full daytime
check without darks (TCS not necessary)
Log into Ohi as "observer" (using
"ssh -Y observer@ohi") and and type "wfcamControl". This will
launch the WFCAM control GUI. Run up the low level software from the
GUI by hitting the "start" button and check that all four cameras are
running by clicking on "status". Ignore any beeps you get when hitting
buttons on the GUI, this behaviour is quite normal.
On Ohi, type "ocs_up" and wait for all the OCS screens to launch.
Back on the WFCAM control GUI, hit the "add inst" button, wait
for
the sequence console to become "live", and then hit the "enable" button
to activate the arrays.
Send the "WFCAM flush" (optional) and then the "WFCAM readnoise
measurement" sequence to the queue and
start the queue, or send directly via "send for engineering" and start
the sequence in the sequence console.
While the read noise data are being taken, log onto Kauwa as
"observer" (using "ssh -Y
observer@kauwa") and type wfcamObs. From this GUI, hit the
wfcamReduce button
to start the DRs on all four WFDR machines. Check that the DRs can see
the raw data and the read noise level as reported by the DRs.
Assuming all is well, quickly run ompobslog on both Kauwa and
Hokulea and ensure they see the data.
Disable the arrays from the WFCAM control GUI (NB. please make sure
that you get the response in the GUI logging pane that the arrays are
powered off).
Type "ocs_down" on Ohi, then "drama_nuke".
Run down the WFCAM low level software, check the status to make
sure the software has run down successfully, exit wfcamControl and log
out. You can ignore any messages in the wfcamControl logging pane that
say "Failed to unlink noticeboard file".
Exit the DRs and nuke them (with -nogaia). The nuke can also be
done using the "wfcamReduceNuke" button in the wfcamObs GUI. Log out.
Exit wfcamObs on Kauwa and log out.
Log into each wfacq machine as root. cd to
/export/data/raw/wfcamN/<utdate> (where N is the number of the
wfacq machine you are logged into) and delete both the raw data and
the .*.ok files.
Log into Kauwa as observer, cd to
/ukirtdata/raw/wfcam/<utdate> and delete the .lastobs file.
Steps 12 and 13 ensure that the
nighttime observers will start with a blank slate and that their first
frame of the night will be frame 1, You do not need to carry out these steps, but
if you don't, you must in
form the TSS/observers or send email to ukirt_ops explaining that data
files already exist for tonight.
Regular
engineering tests (data in engineering directories)
Log into Ohi as "observer" (using
"ssh -Y observer@ohi") and and type "wfcamControlEng". This
will
launch the WFCAM control GUI. Run up the low level software from the
GUI by hitting the "start" button and check that all four cameras are
running by clicking on "status". Ignore any beeps you get when hitting
buttons on the GUI, this behaviour is quite normal.
From the GUI, hit the "ocs_up -simTel -eng" button which will
launch the OCS.
Again on the WFCAM control GUI, hit the "add inst" button, wait
for
the sequence console to become "live", and then hit the "enable" button
to activate the arrays.
Send the "WFCAM readnoise measurement" sequence to the queue and
start the queue, or send directly via "send for engineering" and start
the sequence in the sequence console.
Log in as observer to each of the four WFDR machines. In each
one, type "oracdr_wfcam_eng" followed by a nuke (-nogaia) and run the
DR with "oracdr -loop flag -log sf -nodisplay -skip" or with the
options you prefer.
When finished, disable the arrays from the WFCAM control GUI (NB. please make sure
that you get the response in the GUI logging pane that the cameras are
powered off). You can ignore any messages in the wfcamControl logging
pane that say "Failed to unlink noticeboard file".
Hit the ocs_down button in the GUI (also best to type drama_nuke
on Ohi afterwards as well) and then stop the low level software,
checking the status to make sure the software has run down
successfully. Exit the GUI and log out.
Exit the DRs and nuke them (with -nogaia), Log out.
Potential problems and fixes
Countdown stuck at zero or low
level software does not run
up successfully: Refer to flow chart in fault 20061106.003
"add inst" does not activate the
sequence console or the arrays won't enable: Usually a problem
with the OCS. Run down the low level software, do an ocs_down and then
drama_nuke on Ohi, run up the low level software, ocs_up and try again.
This will usually clear the problem. Refer to the flow chart in 20061106.003
if there are problems with the low level software.
Data are taken successfully, but
DR can't see the frames: One or more raw data disks are not
mounted. Log into Kauwa as yourself, type "/local/bin/remount wfcamN"
where N is the number of the camera that you need to remount" and when
prompted enter your password. You should make sure the DR for the
dismounted disk/s isn't running
when this is done. If the remounting stops at some point, ctrl-c will
get it to continue ands then repeat the command.
Ompobslog does not show data: the
raw data disk on wfacq1 is not mounted. Follow instructions above.
Arrays do not power off: When
disabling the arrays, you must make sure you get a response saying the
cameras are powered off in the wfcamControl logging pane. If not, run
down the low level software, fix
any problems with reference to the flowchart in 20061106.003,
run the low level software back up again, ocs_up, add inst, enable and
then disable arrays. If you cannot disable arrays, then get someone at
the summit to power off the arrays using the disable buttons on the
controllers.