Skip to content

Commit

Permalink
Merge pull request #424 from sot/fid-acq-check
Browse files Browse the repository at this point in the history
Set 'too cold for fid placement' check to use acq t_ccd
  • Loading branch information
jeanconn authored Aug 31, 2023
2 parents 6893377 + fb04ae2 commit 44c7c1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions starcheck/src/lib/Ska/Starcheck/Obsid.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2880,10 +2880,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
Expand Down

0 comments on commit 44c7c1f

Please sign in to comment.