RGSC Example 4. Batch search from input catalog

rgsc decides that the input file specified on the command line is a catalog instead of a list of Guide Star numbers if the first character of the file is not a number or a space.

Sample Input Catalog

$ cat input.catalog
input
ROSAT X-Ray sources selected as candidate WTTS
51   03:51:20.2   +31:54:14  11.85  NTTS 035120+3154SW
62   04:00:12.2   +25:44:44  12.91  NTTS 040012+2545
64   04:00:46.9   +26:02:42  14.52  NTTS 040047+2603W
70   04:01:42.1   +21:50:11  14.97  NTTS 040142+2150SW
91   04:11:07.8   +28:05:18  14.22  FM Tau (Haro6-1)
99   04:11:42.8   +27:45:05  12.07  LkCa 3

Sample Search

$ rgsc @input.catalog -b -box .01 -col
HST Guide Stars B1950

NTTS 03512  3:51:20.200   31:54:14.00  0d02' x 0d02'
2361.2489   3:51:20.568   31:54:14.41 10.10 2 1    4.72
2361.2497   3:51:22.756   31:54:33.02 14.76 0 1   37.75
2361.2504   3:51:20.975   31:54:16.20 12.13 2 1   10.13

NTTS 04001  4:00:12.200   25:44:44.00  0d02' x 0d02'
1818.0139   4:00:12.124   25:44:45.88 12.34 0 1    2.25
1818.0145   4:00:15.111   25:44:46.47 15.32 0 1   39.38
1818.0159   4:00:15.815   25:43:52.22 14.52 0 1   71.10

NTTS 04004  4:00:46.900   26:02:42.00  0d02' x 0d02'
1818.0034   4:00:48.611   26:02:41.69 13.45 3 1   23.05
1818.0035   4:00:47.018   26:02:40.58 13.71 0 1    2.05

NTTS 04014  4:01:42.100   21:50:11.00  0d02' x 0d02'
1262.0560   4:01:42.189   21:50:09.39 13.85 3 1    1.93
1262.0563   4:01:42.632   21:50:12.22 13.92 3 1    7.49

FM Tau (Ha  4:11:07.800   28:05:18.00  0d02' x 0d02'
1827.1032   4:11:07.920   28:05:17.60 13.75 0 1    1.61
1827.1236   4:11:07.281   28:04:40.62 10.39 0 1   37.91

LkCa 3      4:11:42.800   27:45:05.00  0d02' x 0d02'
1823.1802   4:11:42.750   27:45:05.32 11.54 0 2    0.79
$