From f743778d011fd37590a389e63f039b082ab54cd1 Mon Sep 17 00:00:00 2001 From: Jean Connelly Date: Fri, 18 Aug 2023 13:42:40 -0400 Subject: [PATCH 1/2] Set warning over planning limit to critical --- starcheck/src/lib/Ska/Starcheck/Obsid.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starcheck/src/lib/Ska/Starcheck/Obsid.pm b/starcheck/src/lib/Ska/Starcheck/Obsid.pm index b76429fc..f0ffb9b2 100644 --- a/starcheck/src/lib/Ska/Starcheck/Obsid.pm +++ b/starcheck/src/lib/Ska/Starcheck/Obsid.pm @@ -2877,7 +2877,7 @@ sub set_ccd_temps { # Add info statement for limit violations if ($self->{ccd_temp} > $config{ccd_temp_red_limit}) { - push @{ $self->{fyi} }, + push @{ $self->{warn} }, sprintf("CCD temperature exceeds %.1f C\n", $config{ccd_temp_red_limit}); } From 1cc724d415daf8896ada7c2ac266889e3129b328 Mon Sep 17 00:00:00 2001 From: Jean Connelly Date: Sat, 19 Aug 2023 09:38:03 -0400 Subject: [PATCH 2/2] Update comment --- starcheck/src/lib/Ska/Starcheck/Obsid.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starcheck/src/lib/Ska/Starcheck/Obsid.pm b/starcheck/src/lib/Ska/Starcheck/Obsid.pm index f0ffb9b2..117f60a4 100644 --- a/starcheck/src/lib/Ska/Starcheck/Obsid.pm +++ b/starcheck/src/lib/Ska/Starcheck/Obsid.pm @@ -2875,7 +2875,7 @@ sub set_ccd_temps { $self->{ccd_temp_acq} = $obsid_temps->{ $self->{obsid} }->{ccd_temp_acq}; $self->{n100_warm_frac} = $obsid_temps->{ $self->{obsid} }->{n100_warm_frac}; - # Add info statement for limit violations + # Add critical warning for ACA planning limit violation if ($self->{ccd_temp} > $config{ccd_temp_red_limit}) { push @{ $self->{warn} }, sprintf("CCD temperature exceeds %.1f C\n", $config{ccd_temp_red_limit});