# run spiceinit with nadir ck allowed to fill in gaps
APPNAME = spiceinit

error.txt.IGNORELINES = LeapSecond

include $(ISISROOT)/make/isismake.tsts

commands:
	cp $(INPUT)/m1301260.cub $(OUTPUT)/nadirTruth.cub;
	$(APPNAME) from=$(OUTPUT)/nadirTruth.cub \
	attach=no \
	cknadir=yes \
	tspk='$$base/kernels/spk/de405.bsp' > /dev/null;
	catlab from=$(OUTPUT)/nadirTruth.cub to=$(OUTPUT)/labels.pvl > /dev/null;
	$(APPNAME) from=$(OUTPUT)/nadirTruth.cub attach=no \
	tspk='$$base/kernels/spk/de405.bsp' >& $(OUTPUT)/error.txt || true;
	rm $(OUTPUT)/nadirTruth.cub;
