I've tried using this but I haven't been able to get this to work. I want it to match the closest coordinates between two files and be able to extract the ID number with the coordinates from the .coo file compared to my projected coordinate file.A sample .coo file is:#K IRAF = NOAO/IRAFV2.12.2-EXPORT version %-23s
#K USER = aaron name %-23s
#K HOST = bastet computer %-23s
#K DATE = 2008-07-28 yyy-mm-dd %-23s
#K TIME = 17:33:23 hh:mm:ss %-23s
#K PACKAGE = apphot name %-23s
#K TASK = daofind name %-23s
#
#K SCALE = 1. units %-23.7g
#K FWHMPSF = 3. scaleunit %-23.7g
#K EMISSION = yes switch %-23b
#K DATAMIN = -1000. counts %-23.7g
#K DATAMAX = 15000. counts %-23.7g
#K EXPOSURE = EXPTIME keyword %-23s
#K AIRMASS = AIRMASS keyword %-23s
#K FILTER = FILTER keyword %-23s
#K OBSTIME = OBSTIME keyword %-23s
#
#K NOISE = poisson model %-23s
#K SIGMA = 5. counts %-23.7g
#K GAIN = GAIN keyword %-23s
#K EPADU = 72. e-/adu %-23.7g
#K CCDREAD = RDNOISE keyword %-23s
#K READNOISE = 45. e- %-23.7g
#
#K IMAGE = shiftrir040619.ADDEDK.5 imagename %-23s
#K FWHMPSF = 3. scaleunit %-23.7g
#K THRESHOLD = 3. sigma %-23.7g
#K NSIGMA = 1.5 sigma %-23.7g
#K RATIO = 1. number %-23.7g
#K THETA = 0. degrees %-23.7g
#
#K SHARPLO = 0.2 number %-23.7g
#K SHARPHI = 1. number %-23.7g
#K ROUNDLO = -1. number %-23.7g
#K ROUNDHI = 1. number %-23.7g
#
#N XCENTER YCENTER MAG SHARPNESS SROUND GROUND ID \
#U pixels pixels # # # # # \
#F %-13.3f %-10.3f %-9.3f %-12.3f %-12.3f %-12.3f %-6d \
#
85.116 1.355 -0.090 0.648 -0.184 0.772 1
179.550 2.022 -2.092 0.627 -0.197 0.030 2
405.077 1.484 -0.038 0.439 0.517 0.594 3
30.037 3.520 -0.398 0.455 -0.490 0.163 4
277.604 4.387 -2.058 0.533 -0.609 -0.128 5
365.135 4.555 -1.538 0.621 0.094 0.226 6
46.164 4.775 -1.436 0.492 -0.723 0.297 7
74.530 4.899 -1.058 0.585 -0.716 -0.440 8
.
.
.My projected coordinate file just looks like:XCENTER YCENTER
229.928 201.95
228.872 150.846
248.529 120.13
216.788 94.575
193.332 72.62
185.077 100.108
195.423 118.306
155.593 109.959
151.278 115.364
149.784 132.46
156.931 155.596
196.464 176.343
155.079 208.354
108.679 169.288
99.912 187.125
111.891 68.061
77.417 45.543
47.076 67.575
55.299 85.614
74.166 87.163When I use tmatch, it says:tt> tmatch
First input table: shiftrir040619.ADDEDK.5.coo
Second input table: result2.txt
Output table: zresult.txt
Columns to match in first table: XCENTER,YCENTER
Columns to match in second table: XCENTER,YCENTER
Maximum distance for allowed match (0.
: 2
ERROR: Match columns not found in tableDo you know how I can get this to work?Thanks again,
Aaron