Loading isis/src/newhorizons/apps/lorri2isis/tsts/badfile/Makefile 0 → 100644 +58 −0 Original line number Diff line number Diff line APPNAME = lorri2isis include $(ISISROOT)/make/isismake.tsts commands: if [ `$(APPNAME) \ from=$(INPUT)/lor_0034974380_0x630_sci_1_badimage.fit \ to=$(OUTPUT)/lor_0034974380_0x630_sci_1_Truth.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(lor_0034974380_0x630_sci_1_badimage.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_image.txt; $(RM) $(OUTPUT)/temp.txt; if [ `$(APPNAME) \ from=$(INPUT)/lor_0034974380_0x630_sci_1_baderror.fit \ to=$(OUTPUT)/lor_0034974380_0x630_sci_1_Truth.cub \ error=$(OUTPUT)/lor_0034974380_0x630_sci_1_Error.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(lor_0034974380_0x630_sci_1_baderror.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_error.txt; $(RM) $(OUTPUT)/temp.txt; if [ `$(APPNAME) \ from=$(INPUT)/lor_0034974380_0x630_sci_1_badquality.fit \ to=$(OUTPUT)/lor_0034974380_0x630_sci_1_Truth.cub \ quality=$(OUTPUT)/lor_0034974380_0x630_sci_1_Quality.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(lor_0034974380_0x630_sci_1_badquality.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_quality.txt; $(RM) $(OUTPUT)/temp.txt; if [ `$(APPNAME) \ from=$(INPUT)/lor_0034974380_0x630_sci_1_badimageinstr.fit \ to=$(OUTPUT)/lor_0034974380_0x630_sci_1_Truth.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(lor_0034974380_0x630_sci_1_badimageinstr.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_image_instr.txt; $(RM) $(OUTPUT)/temp.txt; if [ `$(APPNAME) \ from=$(INPUT)/lor_0034974380_0x630_sci_1_baderrorimage.fit \ to=$(OUTPUT)/lor_0034974380_0x630_sci_1_Truth.cub \ error=$(OUTPUT)/lor_0034974380_0x630_sci_1_Error.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(lor_0034974380_0x630_sci_1_baderrorimage.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_errorimage.txt; $(RM) $(OUTPUT)/temp.txt; if [ `$(APPNAME) \ from=$(INPUT)/lor_0034974380_0x630_sci_1_badqualityimage.fit \ to=$(OUTPUT)/lor_0034974380_0x630_sci_1_Truth.cub \ quality=$(OUTPUT)/lor_0034974380_0x630_sci_1_Quality.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(lor_0034974380_0x630_sci_1_badqualityimage.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_qualityimage.txt; $(RM) $(OUTPUT)/temp.txt; isis/src/newhorizons/apps/mvic2isis/tsts/badcal/Makefile 0 → 100644 +22 −0 Original line number Diff line number Diff line APPNAME = mvic2isis include $(ISISROOT)/make/isismake.tsts commands: # Tests for when a calibrated file does not have some of the expected keys $(SED) \ -e 's+PIXSIZE+PIX-IZE+' \ -e 's+PIXFOV+PIX-OV+' \ -e 's+GAIN+GA-N+' \ -e 's+READNOI+RE-DNOI+' \ -e 's+TDIRATE+TDIR-TE+' \ $(INPUT)/mp1_0035135818_0x530_sci_1.fit > $(OUTPUT)/temp.fit; $(APPNAME) from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/mp1_0035135818_0x530_sci_1_Truth.cub > /dev/null; catlab from=$(OUTPUT)/mp1_0035135818_0x530_sci_1_Truth.cub > \ $(OUTPUT)/mp1_0035135818_0x530_sci_1_Truth.pvl; $(RM) $(OUTPUT)/temp.fit; isis/src/newhorizons/apps/mvic2isis/tsts/badfiles/Makefile 0 → 100644 +135 −0 Original line number Diff line number Diff line APPNAME = mvic2isis include $(ISISROOT)/make/isismake.tsts commands: # Test for existance of the MISSION keyword in the main FITS image label $(SED) 's+MISSION = '"'"'New Horizons+MISSIOx = '"'"'New Horizons+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_mission-key.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for the value of the MISSION keyword in the main FITS image label $(SED) 's+MISSION = '"'"'New Horizons+MISSION = '"'"'NewXHorizons+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_mission-value.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for the existance of the INSTR keyword in the main FITS image label $(SED) 's+INSTRU = '"'"'mvi+INSTRz = '"'"'mvi+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_instru-key.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for the value of the INSTRU keyword in the main FITS image label $(SED) 's+INSTRU = '"'"'mvi+INSTRU = '"'"'mvY+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_instru-value.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for throwing if the undistorted extension is not what we are expecting $(SED) 's+COMMENT This is the bias-subtracted+COMzENT This is the bias-subtracted+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ undistorted=true \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_comment-undistorted-key.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for throwing if the undistorted extension is not what we are expecting $(SED) 's+COMMENT This is the bias-subtracted+COMMENT XYZs is the bias-subtracted+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ undistorted=true \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_comment-undistorted-value.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for throwing if the error extension is not what we are expecting $(SED) 's+COMMENT+CO-MENT+g' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ error=true \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_comment-error-key.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for throwing if the error extension is not what we are expecting $(SED) 's+COMMENT 1-sigma error per pixel for the image in extension 1+COMMENT 1-sigXY error per pixel for the image in extension 1+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ error=true \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_comment-error-value.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for throwing if the quality extension is not what we are expecting $(SED) 's+COMMENT+CO-MENT+g' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ quality=true \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_comment-quality-key.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for throwing if the quality extension is not what we are expecting $(SED) 's+COMMENT Data quality flag for the image in extension 1+COMMENT Data quality flag for the image in exXYZsion 1+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ quality=true \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_comment-quality-value.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for missing NAIF ID $(SED) 's+SPCSCID =+SPCxCID =+' $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_spcscid.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; Loading
isis/src/newhorizons/apps/lorri2isis/tsts/badfile/Makefile 0 → 100644 +58 −0 Original line number Diff line number Diff line APPNAME = lorri2isis include $(ISISROOT)/make/isismake.tsts commands: if [ `$(APPNAME) \ from=$(INPUT)/lor_0034974380_0x630_sci_1_badimage.fit \ to=$(OUTPUT)/lor_0034974380_0x630_sci_1_Truth.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(lor_0034974380_0x630_sci_1_badimage.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_image.txt; $(RM) $(OUTPUT)/temp.txt; if [ `$(APPNAME) \ from=$(INPUT)/lor_0034974380_0x630_sci_1_baderror.fit \ to=$(OUTPUT)/lor_0034974380_0x630_sci_1_Truth.cub \ error=$(OUTPUT)/lor_0034974380_0x630_sci_1_Error.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(lor_0034974380_0x630_sci_1_baderror.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_error.txt; $(RM) $(OUTPUT)/temp.txt; if [ `$(APPNAME) \ from=$(INPUT)/lor_0034974380_0x630_sci_1_badquality.fit \ to=$(OUTPUT)/lor_0034974380_0x630_sci_1_Truth.cub \ quality=$(OUTPUT)/lor_0034974380_0x630_sci_1_Quality.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(lor_0034974380_0x630_sci_1_badquality.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_quality.txt; $(RM) $(OUTPUT)/temp.txt; if [ `$(APPNAME) \ from=$(INPUT)/lor_0034974380_0x630_sci_1_badimageinstr.fit \ to=$(OUTPUT)/lor_0034974380_0x630_sci_1_Truth.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(lor_0034974380_0x630_sci_1_badimageinstr.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_image_instr.txt; $(RM) $(OUTPUT)/temp.txt; if [ `$(APPNAME) \ from=$(INPUT)/lor_0034974380_0x630_sci_1_baderrorimage.fit \ to=$(OUTPUT)/lor_0034974380_0x630_sci_1_Truth.cub \ error=$(OUTPUT)/lor_0034974380_0x630_sci_1_Error.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(lor_0034974380_0x630_sci_1_baderrorimage.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_errorimage.txt; $(RM) $(OUTPUT)/temp.txt; if [ `$(APPNAME) \ from=$(INPUT)/lor_0034974380_0x630_sci_1_badqualityimage.fit \ to=$(OUTPUT)/lor_0034974380_0x630_sci_1_Truth.cub \ quality=$(OUTPUT)/lor_0034974380_0x630_sci_1_Quality.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(lor_0034974380_0x630_sci_1_badqualityimage.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_qualityimage.txt; $(RM) $(OUTPUT)/temp.txt;
isis/src/newhorizons/apps/mvic2isis/tsts/badcal/Makefile 0 → 100644 +22 −0 Original line number Diff line number Diff line APPNAME = mvic2isis include $(ISISROOT)/make/isismake.tsts commands: # Tests for when a calibrated file does not have some of the expected keys $(SED) \ -e 's+PIXSIZE+PIX-IZE+' \ -e 's+PIXFOV+PIX-OV+' \ -e 's+GAIN+GA-N+' \ -e 's+READNOI+RE-DNOI+' \ -e 's+TDIRATE+TDIR-TE+' \ $(INPUT)/mp1_0035135818_0x530_sci_1.fit > $(OUTPUT)/temp.fit; $(APPNAME) from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/mp1_0035135818_0x530_sci_1_Truth.cub > /dev/null; catlab from=$(OUTPUT)/mp1_0035135818_0x530_sci_1_Truth.cub > \ $(OUTPUT)/mp1_0035135818_0x530_sci_1_Truth.pvl; $(RM) $(OUTPUT)/temp.fit;
isis/src/newhorizons/apps/mvic2isis/tsts/badfiles/Makefile 0 → 100644 +135 −0 Original line number Diff line number Diff line APPNAME = mvic2isis include $(ISISROOT)/make/isismake.tsts commands: # Test for existance of the MISSION keyword in the main FITS image label $(SED) 's+MISSION = '"'"'New Horizons+MISSIOx = '"'"'New Horizons+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_mission-key.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for the value of the MISSION keyword in the main FITS image label $(SED) 's+MISSION = '"'"'New Horizons+MISSION = '"'"'NewXHorizons+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_mission-value.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for the existance of the INSTR keyword in the main FITS image label $(SED) 's+INSTRU = '"'"'mvi+INSTRz = '"'"'mvi+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_instru-key.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for the value of the INSTRU keyword in the main FITS image label $(SED) 's+INSTRU = '"'"'mvi+INSTRU = '"'"'mvY+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_instru-value.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for throwing if the undistorted extension is not what we are expecting $(SED) 's+COMMENT This is the bias-subtracted+COMzENT This is the bias-subtracted+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ undistorted=true \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_comment-undistorted-key.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for throwing if the undistorted extension is not what we are expecting $(SED) 's+COMMENT This is the bias-subtracted+COMMENT XYZs is the bias-subtracted+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ undistorted=true \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_comment-undistorted-value.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for throwing if the error extension is not what we are expecting $(SED) 's+COMMENT+CO-MENT+g' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ error=true \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_comment-error-key.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for throwing if the error extension is not what we are expecting $(SED) 's+COMMENT 1-sigma error per pixel for the image in extension 1+COMMENT 1-sigXY error per pixel for the image in extension 1+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ error=true \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_comment-error-value.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for throwing if the quality extension is not what we are expecting $(SED) 's+COMMENT+CO-MENT+g' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ quality=true \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_comment-quality-key.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for throwing if the quality extension is not what we are expecting $(SED) 's+COMMENT Data quality flag for the image in extension 1+COMMENT Data quality flag for the image in exXYZsion 1+' \ $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ quality=true \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_comment-quality-value.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit; # Test for missing NAIF ID $(SED) 's+SPCSCID =+SPCxCID =+' $(INPUT)/mpf_0035126517_0x539_sci_1.fit > $(OUTPUT)/temp.fit if [ `$(APPNAME) \ from=$(OUTPUT)/temp.fit \ to=$(OUTPUT)/junk.cub \ >& $(OUTPUT)/temp.txt` ]; then \ true; \ fi; $(SED) 's/\[.*\/\(temp.fit\)\]/[\1]/' < $(OUTPUT)/temp.txt > $(OUTPUT)/error_spcscid.txt; $(RM) $(OUTPUT)/temp.txt $(OUTPUT)/temp.fit;