Skip to content

Commit

Permalink
Set yellow warns when acq or guide dither set to defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanconn committed Jan 14, 2019
1 parent 164eadf commit 0951be5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions starcheck/src/lib/Ska/Starcheck/Obsid.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1169,6 +1169,8 @@ sub check_star_catalog {
$dither_acq_y = $self->{dither_acq}->{ampl_y};
$dither_acq_z = $self->{dither_acq}->{ampl_p};
} else {
push @{$self->{yellow_warn}},
"$alarm Acquisition dither could not be determined, using 20\"x20\" for checking.\n";
$dither_acq_y = 20.0;
$dither_acq_z = 20.0;
}
Expand All @@ -1177,6 +1179,8 @@ sub check_star_catalog {
$dither_guide_y = $self->{dither_guide}->{ampl_y_max};
$dither_guide_z = $self->{dither_guide}->{ampl_p_max};
} else {
push @{$self->{yellow_warn}},
"$alarm Guide dither could not be determined, using 20\"x20\" for checking.\n";
$dither_guide_y = 20.0;
$dither_guide_z = 20.0;
}
Expand Down

0 comments on commit 0951be5

Please sign in to comment.