From fb04ae2fc5525d7a579441588e6b0a4c0d495cdc Mon Sep 17 00:00:00 2001 From: Jean Connelly Date: Fri, 28 Jul 2023 12:34:33 -0400 Subject: [PATCH] Set 'too cold for fid placement' check to use acq t_ccd --- starcheck/src/lib/Ska/Starcheck/Obsid.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/starcheck/src/lib/Ska/Starcheck/Obsid.pm b/starcheck/src/lib/Ska/Starcheck/Obsid.pm index b76429fc..816dcb54 100644 --- a/starcheck/src/lib/Ska/Starcheck/Obsid.pm +++ b/starcheck/src/lib/Ska/Starcheck/Obsid.pm @@ -2882,10 +2882,10 @@ sub set_ccd_temps { } # Add CRITICAL if OR and too cold as fid lights may be out of boxes - if (($self->{obsid} < 38000) and ($self->{ccd_temp_min} < -14.0)) { + if (($self->{obsid} < 38000) and ($self->{ccd_temp_acq} < -14.0)) { push @{ $self->{warn} }, - sprintf("OR with min(t_ccd) %.1f < -14. Fid lights may not be tracked\n", - $self->{ccd_temp_min}); + sprintf("OR with acq t_ccd %.1f < -14. Fid lights may not be tracked\n", + $self->{ccd_temp_acq}); } # Add info for having a penalty temperature too