Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all make_stars stuff #361

Merged
merged 1 commit into from
Jan 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions starcheck/src/aca_load_review_cl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ Observing

- CRddd_hhvv.tlr.html

- make_stars.txt

- make_stars.txt.html

- mdddd:hhvv.dot.html

- mgddd:hhvv.sum.html
Expand All @@ -138,10 +134,6 @@ Vehicle

- VRddd_hhvv.tlr.html

- make_stars.txt

- make_stars.txt.html

- mdddd:hhvv.dot.html

- mgddd:hhvv.sum.html
Expand Down
1 change: 0 additions & 1 deletion starcheck/src/lib/Ska/Starcheck/Obsid.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2155,7 +2155,6 @@ sub print_report {
if ($self->{or_file});
$o .= sprintf("<A HREF=\"%s/%s.html#%s\">MANVR</A> ", $self->{STARCHECK}, basename($self->{mm_file}), $self->{dot_obsid});
$o .= sprintf("<A HREF=\"%s/%s.html#%s\">DOT</A> ", $self->{STARCHECK}, basename($self->{dot_file}), $self->{obsid});
$o .= sprintf("<A HREF=\"%s/%s.html#%s\">MAKE_STARS</A> ", $self->{STARCHECK}, "make_stars.txt" , $self->{obsid});
$o .= sprintf("<A HREF=\"%s/%s.html#%s\">TLR</A> ", $self->{STARCHECK}, basename($self->{tlr_file}) , $self->{obsid});
$o .= sprintf "\n\n";
for my $n (1 .. 10) { # Allow for multiple TARGQUAT cmds, though 2 is the typical limit
Expand Down
17 changes: 0 additions & 17 deletions starcheck/src/starcheck.pl
Original file line number Diff line number Diff line change
Expand Up @@ -801,22 +801,6 @@ sub json_obsids{

my $ptf = PoorTextFormat->new();

# Write make_stars file
my $make_stars = "$STARCHECK/make_stars.txt";
open (my $OUT, "> $make_stars") or die "Couldn't open $make_stars for writing\n";
foreach my $obsid (@obsid_id) {
my $c = $obs{$obsid};
my $format = ($c->{obsid} =~ /^[0-9]+$/) ? "%05d" : "%s";
if ( (defined $c->{ra}) and (defined $c->{dec}) and (defined $c->{roll})){
printf $OUT "../make_stars.pl -starcat starcat.dat.$format", $c->{obsid};
print $OUT " -ra $c->{ra} -dec $c->{dec} -roll $c->{roll} ";
print $OUT "-sim_z $c->{SIM_OFFSET_Z} " if ($c->{SIM_OFFSET_Z});
print $OUT "-si $c->{SI} " if ($c->{SI});
print $OUT "\n";
}
}
close($OUT);

# Write the HTML

if ($par{html}) {
Expand All @@ -832,7 +816,6 @@ sub json_obsids{
print STDERR "Wrote HTML report to $STARCHECK.html\n";

my $guide_summ_start = 'PROCESSING SOCKET REQUESTS';
make_annotated_file('', 'starcat.dat.', ' -ra ', $make_stars);
make_annotated_file('', ' ID=\s+', ', ', $backstop);
make_annotated_file($guide_summ_start, '^\s+ID:\s+', '\S\S', $guide_summ);
make_annotated_file('', '^ ID=', ', ', $or_file) if ($or_file);
Expand Down