Table of Contents |
---|
General Principles
DO NOT use
control-c
to stop a script, this can leave the instrument in an unsafe state. Usekpfconfig.SCRIPTSTOP
to request a stop (also available as a button in the KPF OB GUI).
...
Services and dispatchers write their logs to the
/usr/local/kroot/var/log
directory on the server on which they run. Most services run onkpfserver
, but FIU related services run onkpffiuserver
for example.A shortcut to that directory is available on the command line:
cdlog
The KPF Translator writes logs to the data disk:
/s/sdata1701/KPFTranslator_logs
A shortcut to that directory is available on the command line:
cdtlog
Within that directory, all KPF translator log lines are written to:
KPFTranslator.log
Also within that directory are date directories such as
2023jul01
which contain logs which are written by high level scripts such asRunCalOB
. The log lines in these files are duplicates of what is in theKPFTranslator.log
file in the directory above, but are duplicated here for easier searching and examination. It is also an easy way to see what high level scripts were run on a particular night.
The command line interface for all of the translators writes to the date directories in
/s/sdata1701/KPFTranslator_logs
in acli_logs
subdirectory of the date. For example:/s/sdata1701/KPFTranslator_logs/2023jul01/cli_logs/cli_interface.log
The KPF OB GUI writes logs to the data disk in
/s/sdata1701/KPFTranslator_logs/OB_GUI.log
Scripts
Existing script is running
...
Setting SCRIPTSTOP to “Yes” will request that the running script terminate in an orderly fashion. This may take several minutes depending on when the running script reaches a sensible breakpoint. It is important to use SCRIPTSTOP to halt a script (instead of hitting ctrl-c
) because cleanup actions will be performed after a SCRIPTSTOP (e.g. turning off laps to preserve their lifetime).
...
The agitator can be reenabled by simply setting the keyword to “Yes”. This should only be done by WMKO staff and should only be done if the agitator is fully functional. A broken or misbehaving agitator mechanism presents a significant danger to the science fibers.
...
The cal source has likely been disabled for a reason. Reenabling it should only be done by WMKO staff with knowledge of why it was disabled in the first place.
SlewCal or Simultaneous Calibration Source is Wrong
...
These two sources are set from the same place and are always kept to the same value using the kpfconfig.SIMULCALSOURCE
keyword.
Solution
This value should only be changed by WMKO staff. The choice of calibration source is influenced by our desire to maintain the lifetime of the various lamps and calibration sources and by the need for warmup times on certain sources. This is not something the user should adjust, contact a WMKO Staff Astronomer if you feel it is set incorrectly.
...
The detector has likely been disabled for a reason. Reenabling it should only be done by WMKO staff with knowledge of why it was disabled in the first place.
Detector Fails to Trigger Without Error
...