This is an OTW code that positionally cross-matches two cdfp files. The intersection of these sets (i.e. only the matched sources) are written out.
% cdfpmatI.sh Usage: cdfpmatI.sh f1.cdfp f2.cdfp 3.0 arg1 - name of input cdfp file 1 arg2 - name of input cdfp file 2 arg3 - match radius in arcsec units % cdfpmatI.sh sdss.cdfp usno.cdfp 4.0 Name of output (matched) file = cdfpmatI.cdfpThe combined quantities from the original two files are written to the output. In addition, the dRa,dDEC position residuals are also written to the output file. To generate a ds9 regions file for viewing the matched sources:
% cdfp2reg.sh cdfpmatI.cdfp 7 cyan In the example above, the output regions file will be named cdfpmatI.cdfp.reg.