diff --git a/404.html b/404.html index b012fc31..73c41761 100644 --- a/404.html +++ b/404.html @@ -143,6 +143,8 @@
On a KPF/KPF split night, before starting the second KPF program, run KPF Control Menu --> Set Program ID and Observers
from the background menu (or kpfSetObserverFromSchedule
from the command line on any KPF machine). Enter the program ID at the terminal prompt. The script will then set program ID and observers for the second KPF program, based on the telescope schedule.
If you wish to set the observer names and program ID manually (i.e. without querying the telescope schedule), you can use the kpfSetProgram
and kpfSetObserver
scripts from the command line. For example: kpfSetProgram K123
will set program ID "K123" and kpfSetObserver "E.E. Barnard, S.W. Burnham"
will set the observer name to "E.E. Barnard, S.W. Burnham". Note that observer names should be enclosed in quotes to handle spaces in the list of names.
If the weather is so bad that no observing is taking place and there doesn't seem to be an immediate likelihood of observing, then we recommend that the observer runs the end of night procedure (KPF Control Menu --> Run End of Night Script
). The main advantage of this is that running End of Night will re-enable the automatic scheduled calibrations which happen 4 times per night when KPF is not on sky. This means that the instrumental drift will be tracked with no action required by the observer (i.e. running slew cals). If one of these calibration scripts is in progress and observing should resume, use the "Request Script STOP" as described above. After that, run the Start of Night script just as you would at the beginning of the night (among other things it disables the autmatic scheduled calibrations).
SetLFCtoAstroComb
class SetLFCtoAstroComb(KPFTranslatorFunction):
+43
+44
+45
+46
class SetLFCtoAstroComb(KPFTranslatorFunction):
'''Set the Laser Frequency Comb (LFC) to "AstroComb" mode. This should
be used during operation of the LFC.
@@ -285,9 +290,12 @@ SetLFCtoAstroComb
@classmethod
def pre_condition(cls, args, logger, cfg):
heartbeat = ktl.cache('kpfmon', 'HB_MENLOSTA')
- success = heartbeat.waitFor('== "OK"', timeout=3)
- if success is False:
+ hb_success = heartbeat.waitFor('== "OK"', timeout=3)
+ if hb_success is False:
raise FailedPreCondition(f"Menlo heartbeat is not OK: {heartbeat.read()}")
+ lfc_mode = ktl.cache('kpfcal', 'OPERATIONMODE').read()
+ if lfc_mode not in ['AstroComb', 'StandbyHigh']:
+ raise FailedPreCondition(f"LFC must be in AstroComb or StandbyHigh: {lfc_mode}")
@classmethod
def perform(cls, args, logger, cfg):
diff --git a/scripts/SetLFCtoStandbyHigh/index.html b/scripts/SetLFCtoStandbyHigh/index.html
index 260f51bc..3e5ae04f 100644
--- a/scripts/SetLFCtoStandbyHigh/index.html
+++ b/scripts/SetLFCtoStandbyHigh/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetMasterBiasToDefault/index.html b/scripts/SetMasterBiasToDefault/index.html
index 0d4e637c..95c4c2bd 100644
--- a/scripts/SetMasterBiasToDefault/index.html
+++ b/scripts/SetMasterBiasToDefault/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetND/index.html b/scripts/SetND/index.html
index 910aa874..fce1aabc 100644
--- a/scripts/SetND/index.html
+++ b/scripts/SetND/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetND1/index.html b/scripts/SetND1/index.html
index a3c430a1..ddc6286f 100644
--- a/scripts/SetND1/index.html
+++ b/scripts/SetND1/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetND2/index.html b/scripts/SetND2/index.html
index 2234764f..1577198a 100644
--- a/scripts/SetND2/index.html
+++ b/scripts/SetND2/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetObject/index.html b/scripts/SetObject/index.html
index f0c07fc6..162afc0d 100644
--- a/scripts/SetObject/index.html
+++ b/scripts/SetObject/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetObserver/index.html b/scripts/SetObserver/index.html
index cb5caabf..50bc0007 100644
--- a/scripts/SetObserver/index.html
+++ b/scripts/SetObserver/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetObserverFromSchedule/index.html b/scripts/SetObserverFromSchedule/index.html
index 494733b3..ded5f219 100644
--- a/scripts/SetObserverFromSchedule/index.html
+++ b/scripts/SetObserverFromSchedule/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetOutdirs/index.html b/scripts/SetOutdirs/index.html
index 6541f117..aff087d4 100644
--- a/scripts/SetOutdirs/index.html
+++ b/scripts/SetOutdirs/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetProgram/index.html b/scripts/SetProgram/index.html
index 627f4062..484faaaf 100644
--- a/scripts/SetProgram/index.html
+++ b/scripts/SetProgram/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetReadModeFast/index.html b/scripts/SetReadModeFast/index.html
index f97093de..abd037d7 100644
--- a/scripts/SetReadModeFast/index.html
+++ b/scripts/SetReadModeFast/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetReadModeNormal/index.html b/scripts/SetReadModeNormal/index.html
index 718b8bda..1457fdef 100644
--- a/scripts/SetReadModeNormal/index.html
+++ b/scripts/SetReadModeNormal/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetSimulCalSource/index.html b/scripts/SetSimulCalSource/index.html
index f7026577..3f03b110 100644
--- a/scripts/SetSimulCalSource/index.html
+++ b/scripts/SetSimulCalSource/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetSourceSelectShutters/index.html b/scripts/SetSourceSelectShutters/index.html
index 1e10ad0f..d1e3f89d 100644
--- a/scripts/SetSourceSelectShutters/index.html
+++ b/scripts/SetSourceSelectShutters/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetTargetInfo/index.html b/scripts/SetTargetInfo/index.html
index 962015fb..d89d293a 100644
--- a/scripts/SetTargetInfo/index.html
+++ b/scripts/SetTargetInfo/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetTimedShutters/index.html b/scripts/SetTimedShutters/index.html
index fdf1ae1a..a105fb5f 100644
--- a/scripts/SetTimedShutters/index.html
+++ b/scripts/SetTimedShutters/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetTipTiltCalculations/index.html b/scripts/SetTipTiltCalculations/index.html
index 70432705..ee3b7a1b 100644
--- a/scripts/SetTipTiltCalculations/index.html
+++ b/scripts/SetTipTiltCalculations/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetTipTiltControl/index.html b/scripts/SetTipTiltControl/index.html
index 64816155..313b98f0 100644
--- a/scripts/SetTipTiltControl/index.html
+++ b/scripts/SetTipTiltControl/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetTipTiltGain/index.html b/scripts/SetTipTiltGain/index.html
index bfab0059..6d3c0070 100644
--- a/scripts/SetTipTiltGain/index.html
+++ b/scripts/SetTipTiltGain/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetTipTiltPosition/index.html b/scripts/SetTipTiltPosition/index.html
index e3afc1d0..eaaf3820 100644
--- a/scripts/SetTipTiltPosition/index.html
+++ b/scripts/SetTipTiltPosition/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetTipTiltTargetPixel/index.html b/scripts/SetTipTiltTargetPixel/index.html
index 2ca8e6f9..6d72fe2f 100644
--- a/scripts/SetTipTiltTargetPixel/index.html
+++ b/scripts/SetTipTiltTargetPixel/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetTriggeredDetectors/index.html b/scripts/SetTriggeredDetectors/index.html
index 43ab7a05..ed3fe579 100644
--- a/scripts/SetTriggeredDetectors/index.html
+++ b/scripts/SetTriggeredDetectors/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetupAOforACAM/index.html b/scripts/SetupAOforACAM/index.html
index cabd35ad..9b509189 100644
--- a/scripts/SetupAOforACAM/index.html
+++ b/scripts/SetupAOforACAM/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetupAOforKPF/index.html b/scripts/SetupAOforKPF/index.html
index e9b44303..40912076 100644
--- a/scripts/SetupAOforKPF/index.html
+++ b/scripts/SetupAOforKPF/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SetupExpMeter/index.html b/scripts/SetupExpMeter/index.html
index db78d462..cd910d73 100644
--- a/scripts/SetupExpMeter/index.html
+++ b/scripts/SetupExpMeter/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/ShutdownTipTilt/index.html b/scripts/ShutdownTipTilt/index.html
index cadd5e7a..79874ef9 100644
--- a/scripts/ShutdownTipTilt/index.html
+++ b/scripts/ShutdownTipTilt/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SoCalStartAutonomous/index.html b/scripts/SoCalStartAutonomous/index.html
index 7ce181a8..681f525e 100644
--- a/scripts/SoCalStartAutonomous/index.html
+++ b/scripts/SoCalStartAutonomous/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/SoCalStopAutonomous/index.html b/scripts/SoCalStopAutonomous/index.html
index 55b28311..161d610a 100644
--- a/scripts/SoCalStopAutonomous/index.html
+++ b/scripts/SoCalStopAutonomous/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/StartAgitator/index.html b/scripts/StartAgitator/index.html
index 82314855..bc267cec 100644
--- a/scripts/StartAgitator/index.html
+++ b/scripts/StartAgitator/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+ - ToO Interrupts
+
- Split Nights
- Remote Observing
diff --git a/scripts/StartExposure/index.html b/scripts/StartExposure/index.html
index c48217d9..05d18b80 100644
--- a/scripts/StartExposure/index.html
+++ b/scripts/StartExposure/index.html
@@ -150,6 +150,8 @@
- Keck Policies
+