% -----------------------------------------------------------------------
\newpage
\subsubsection{ENG TEST: test\_enclosure\_temperature}
\label{test_enclosure_temperature}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
EncloserTemperature = "HIERARCH ESO INS TEMP185 VAL"
EncloserTemperatureSetpoint = "HIERARCH ESO INS TEMP187 VAL"
RMS = np.nanstd(EncloserTemperature - EncloserTemperatureSetpoint) 
\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
RMS < 0.1
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Email: Gaspare Lo Curto*, Lison Malo, Neil Cook, Etienne Artigau
\end{lstlisting}
\end{bcodebox}


% -----------------------------------------------------------------------
\subsubsection{ENG TEST: test\_enclosure\_temperature\_setpoint}
\label{test_enclosure_temperature_setpoint}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
EncloserTemperature = "HIERARCH ESO INS TEMP185 VAL"
EncloserTemperatureSetpoint = "HIERARCH ESO INS TEMP187 VAL"
MEAN_DIFF = np.nanmean(EncloserTemperature - EncloserTemperatureSetpoint)

\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
ABS(MEAN_DIFF) < 0.1
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Email: Gaspare Lo curto*, Lison Malo, Neil Cook, Etienne Artigau
\end{lstlisting}
\end{bcodebox}


% -----------------------------------------------------------------------
\newpage
\subsubsection{ENG TEST: test\_vacuum\_gauge1}
\label{test_vacuum_gauge1}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
VacuumGauge1 = "HIERARCH ESO INS PRES104 VAL"
MAX = np.nanmax(VacuumGauge1)
\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
MAX < 1.0e-4
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Email: Etienne Artigau*, Lison Malo, Neil Cook
\end{lstlisting}
\end{bcodebox}

% -----------------------------------------------------------------------
\subsubsection{ENG TEST: test\_isolation\_valve}
\label{test_isolation_valve}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
IsolationValve = HIERARCH ESO INS SENS100 STAT
\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
IsolationValve = 0
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Email: Etienne Artigau*, Lison Malo, Neil Cook
\end{lstlisting}
\end{bcodebox}

% -----------------------------------------------------------------------
\newpage
\subsubsection{ENG TEST: test\_cryo1\_stat}
\label{test_cryo1_stat}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
Cryo1Status = "HIERARCH ESO INS SENS126"
\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
Cryo1Status = 0
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Do nothing if there are less than 3 instances of this error.

Email:  Lison Malo* ,Gaspare Lo curto, Philippe Vallee, 
        Neil Cook, Etienne Artigau
\end{lstlisting}
\end{bcodebox}


% -----------------------------------------------------------------------
\subsubsection{ENG TEST: test\_cryo2\_stat}
\label{test_cryo2_stat}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
Cryo2Status = "HIERARCH ESO INS SENS127"
\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
Cryo2Status = 0
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Do nothing if there are less than 3 instances of this error.

Email:  Lison Malo* ,Gaspare Lo curto, Philippe Vallee, 
        Neil Cook, Etienne Artigau
\end{lstlisting}
\end{bcodebox}

% -----------------------------------------------------------------------
\newpage
\subsubsection{ENG TEST: test\_turbo\_pump\_status}
\label{test_turbo_pump_status}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
TurboPumpStatus = "HIERARCH ESO INS SENS102 STAT"
TSUM = np.sum(TurboPumpStatus)
TMEAN = np.mean(TurboPumpStatus)
TPER = TMEAN * 100.0
\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
TurboPumpStatus = 0
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Email: Lison Malo*, Neil Cook, Etienne Artigau
\end{lstlisting}
\end{bcodebox}

% -----------------------------------------------------------------------
\subsubsection{ENG TEST: test\_warning\_cryo1}
\label{test_warning_cryo1}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
WarningCryo1 = "HIERARCH ESO INS SENS144 STAT"
SUM = sum(WarningCryo1)
\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
WarningCryo1 = 0
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Email:  Lison Malo*, Philippe Vallee, Neil Cook, Etienne Artigau
\end{lstlisting}
\end{bcodebox}

% -----------------------------------------------------------------------
\newpage
\subsubsection{ENG TEST: test\_warning\_cryo2}
\label{test_warning_cryo2}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
WarningCryo2 = "HIERARCH ESO INS SENS146 STAT"
SUM = sum(WarningCryo2)
\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
WarningCryo2 = 0
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Email:  Lison Malo*, Philippe Vallee, Neil Cook, Etienne Artigau
\end{lstlisting}
\end{bcodebox}

% -----------------------------------------------------------------------
\subsubsection{ENG TEST: test\_fp\_temperature}
\label{test_fp_temperature}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
FPtemperature_interior = "HIERARCH ESO INS TEMP14 VAL"
RMS = std(FPtemperature_interior)

\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
RMS < 1.0e-2
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Email:  Lison Malo*, Philippe Vallee, Neil Cook, Etienne Artigau
\end{lstlisting}
\end{bcodebox}

% -----------------------------------------------------------------------
\newpage
\subsubsection{ENG TEST: test\_fp\_temperature\_ext}
\label{test_fp_temperature_ext}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
FPtemperature_exterior = "HIERARCH ESO INS TEMP13 VAL"
NANMIN = np.nanmin(FPtemperature_exterior)
NANMAX = np.nanmin(FPtemperature_exterior)
\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
NANMIN > 23.496
NANMAX < 24.504
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Email: Lison Malo*, Lison Malo, Neil Cook, Etienne Artigau
\end{lstlisting}
\end{bcodebox}

% -----------------------------------------------------------------------
\subsubsection{ENG TEST: test\_fp\_temperature\_setpoint}
\label{test_fp_temperature_setpoint}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
FPtemperature_interior = "HIERARCH ESO INS TEMP14 VAL"
FPtemperature_setpoint = "HIERARCH ESO INS TEMP188 VAL"
RMS = std(FPtemperature_interior - FPtemperature_setpoint)

\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
RMS < 0.005
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Email: Etienne Artigau*, Lison Malo, Neil Cook
\end{lstlisting}
\end{bcodebox}

% -----------------------------------------------------------------------
\newpage
\subsubsection{ENG TEST: test\_encloser\_heater\_power}
\label{test_encloser_heater_power}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
EncloserHeaterPower = "HIERARCH ESO INS SENS121 VAL"
MAX = np.nanmax(EncloserHeaterPower)
\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
MAX < 98.0
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Email: Gaspare Lo Curto*, Lison Malo, Neil Cook, Etienne Artigau
\end{lstlisting}
\end{bcodebox}

% -----------------------------------------------------------------------
\subsubsection{ENG TEST: ScramblingStatus}
\label{ScramblingStatus}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
ScramblingStatus = "HIERARCH ESO INS2 AOS SCRAMB ST"
\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
ScramblingStatus = True
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Email: Lison Malo*, Gaspare Lo curto, Neil Cook, Etienne Artigau
\end{lstlisting}
\end{bcodebox}

% -----------------------------------------------------------------------
\newpage
\subsubsection{ENG TEST: StretcherStatus}
\label{StretcherStatus}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
StretcherStatus = "HIERARCH ESO INS OPTI10 STAT"
\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
StretcherStatus = ON
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Email: Lison Malo*, Gaspare Lo curto, Neil Cook, Etienne Artigau
\end{lstlisting}
\end{bcodebox}

% -----------------------------------------------------------------------
\subsubsection{ENG TEST: BackEnd\_DeviceError}
\label{BackEnd_DeviceError}
% -----------------------------------------------------------------------

Variables:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
BackEndDeviceError = "HIERARCH ESO INS SENS129 STAT"
\end{lstlisting}
\end{bcodebox}

Tests:

\begin{bcodebox}[]{Python}
\begin{lstlisting}[language=Python, style=nonumbering]
BackEndDeviceError != NOK
\end{lstlisting}
\end{bcodebox}

Actions:

\begin{bcodebox}[]{Bash}
\begin{lstlisting}[style=nonumbering]
Email: Lison Malo*, La Silla Day and Night Staff, 
       NIRPS Support, Etienne Artigau, Neil Cook
\end{lstlisting}
\end{bcodebox}
