From aa55d0ebc43e8114530e49795062aa2ec1ac546a Mon Sep 17 00:00:00 2001 From: Pierros Papadeas Date: Sat, 18 Nov 2017 21:02:50 +0200 Subject: [PATCH] Rename viewer to stviewer --- .gitignore | 2 +- makefile | 6 +++--- scripts/st_compress.sh | 4 ++-- scripts/st_compress_and_relaunch.sh | 4 ++-- viewer.c => stviewer.c | 0 5 files changed, 8 insertions(+), 8 deletions(-) rename viewer.c => stviewer.c (100%) diff --git a/.gitignore b/.gitignore index 11112af..e7cd54d 100644 --- a/.gitignore +++ b/.gitignore @@ -24,7 +24,7 @@ satorbit skymap tleinfo uk2iod -viewer +stviewer wcsfit faketle imgstat diff --git a/makefile b/makefile index 18fb221..7214732 100644 --- a/makefile +++ b/makefile @@ -11,7 +11,7 @@ CC = gcc F77 = gfortran all: - make addwcs angular calibrate dec2sex faketle fitsheader fitskey imgstat jpg2fits jpgstack measure pgm2fits plotfits pstrack rde2iod reduce residuals runsched satfit satid satmap satorbit sex2dec skymap tle2ole tleinfo uk2iod viewer wcsfit deproject slewto waitfor pass detect launchtle propagate fakeiod csv2tle normal posmatch posvel xyz2tle mvtle confirm allnight + make addwcs angular calibrate dec2sex faketle fitsheader fitskey imgstat jpg2fits jpgstack measure pgm2fits plotfits pstrack rde2iod reduce residuals runsched satfit satid satmap satorbit sex2dec skymap tle2ole tleinfo uk2iod stviewer wcsfit deproject slewto waitfor pass detect launchtle propagate fakeiod csv2tle normal posmatch posvel xyz2tle mvtle confirm allnight allnight: allnight.o $(CC) -o allnight allnight.o -lm @@ -115,8 +115,8 @@ uk2iod: uk2iod.o rde2iod: rde2iod.o $(CC) -o rde2iod rde2iod.o -lm -viewer: viewer.o - $(CC) -o viewer viewer.o -lm -L/usr/local/lib -lqfits +stviewer: stviewer.o + $(CC) -o stviewer stviewer.o -lm -L/usr/local/lib -lqfits residuals: residuals.o sgdp4.o satutl.o deep.o ferror.o $(CC) -o residuals residuals.o sgdp4.o satutl.o deep.o ferror.o -lm -lwcs_c diff --git a/scripts/st_compress.sh b/scripts/st_compress.sh index f7f93ea..d85a5b6 100644 --- a/scripts/st_compress.sh +++ b/scripts/st_compress.sh @@ -37,8 +37,8 @@ while true; do # Remove files ls -1 $PGMDIR/img*.pgm | head -n$N | awk '{printf("rm -rf %s\n",$1)}' | sh - # Run viewer - viewer `ls -1 2*.fits | tail -n1` + # Run stviewer + stviewer `ls -1 2*.fits | tail -n1` cp avg.pgm $ST_OBSDIR echo "Finished" fi diff --git a/scripts/st_compress_and_relaunch.sh b/scripts/st_compress_and_relaunch.sh index 2b51390..e4f7a11 100755 --- a/scripts/st_compress_and_relaunch.sh +++ b/scripts/st_compress_and_relaunch.sh @@ -89,8 +89,8 @@ while true; do # pgm2fits -p $PGMDIR/img -w 720 -h 576 -s $M -n $N pgm2fits -p $PGMDIR/img -w 720 -h 576 -s $M -n $N >/dev/null - # Run viewer - viewer `ls -1 2*.fits | tail -n1` + # Run stviewer + stviewer `ls -1 2*.fits | tail -n1` cp avg.pgm $ST_OBSDIR # Remove files diff --git a/viewer.c b/stviewer.c similarity index 100% rename from viewer.c rename to stviewer.c