
FILE=barnard-calibrated.fits

cp astrometry/${FILE} ${AUTOPKGTEST_TMP}
cd ${AUTOPKGTEST_TMP}

munipack find -f 5 $FILE
munipack aphot $FILE
munipack cone -r 0.2 -- 269.5 4.6
munipack astrometry $FILE
munipack phcal --photsys-ref Johnson --area 0.3 \
	 --col-ra RAJ2000 --col-dec DEJ2000 \
	 -f V --col-mag Vmag --col-magerr e_Vmag -c cone.fits \
	 -O --mask '\!\1_phcal.\2' $FILE
