WCSTools programs

scat Examples

Example 1. Search the HST GSC and send the results to standard output

Find the 10 brightest HST Guide Stars in a 1-degree square box centered on 10:00:00 +10:00:00 J2000 and sort them by right ascension.
scat -hsc gsc -n 10 -r -1800 -j 10:00:00 +10:00:00
produces the following:
scat WCSTools 3.6.9, 2 July 2007, Doug Mink SAO
      GSC 10:00:00.000 +10:00:00.00 J2000 +- +00:30:27.8 +00:30:00.0 at epoch 2000.0000
10 / 246 HST Guide Stars (Mag brighter than 10.41)
GSC_number  RA2000       Dec2000      Mag  Class Band N  Arcsec
0829.0023 09:58:00.576 +09:41:40.96   8.94    0    1  1  2079.18
0832.0641 09:58:06.919 +10:21:35.35  10.41    3    1  1  2113.10
0832.0872 09:58:07.949 +10:01:53.87   9.64    3    1  1  1659.06
0832.1065 09:58:28.150 +10:02:51.25   9.78    0    1  1  1367.49
0832.0981 09:58:28.716 +10:25:28.34   9.19    0    1  1  2037.59
0832.0632 09:58:45.678 +10:27:31.17   7.09    0    1  2  1982.42
0832.0905 09:59:17.026 +10:10:03.58   9.78    0    1  1   875.84
0829.0042 10:00:05.035 +09:38:23.96   9.95    0    1  1  1298.17
0829.0193 10:01:42.744 +09:36:40.90   9.85    0    1  1  2064.89
0832.1200 10:01:46.783 +10:12:58.32   9.14    0    1  1  1758.51

Example 2. Search with results to a file

Find all USNO J Catalog Stars within 5 arcminutes of M51 and write results to a file
scat -wtc ujc -r 300 -o m51 -b 13:27:48.311 +47:27:28.98
produces the following in the file m51.ujc:
catalog	UJC
ra	13:25:41.574
dec	+47:43:00.03
radecsys	fk4
equinox	1950.0000
epoch	1950.0000
radsec	300.00
catsort	mag 
program	scat WCSTools 3.6.9, 5 July 2007, Doug Mink SAO
usnoj_id    	ra1950      	dec1950  	mag	plate	arcsec
------------	------------	------------	-----	-----	------
1350.1347999	13:23:43.030	+48:02:59.57	12.98	270	1691.44
1350.1347871	13:23:19.750	+48:01:23.17	14.37	220	1803.72
1350.1348001	13:23:43.205	+47:58:33.65	14.54	220	1513.78
1350.1348030	13:23:48.114	+47:58:33.73	15.10	270	1475.24
1350.1347811	13:23:09.846	+47:59:32.37	15.54	270	1821.26
1350.1348092	13:23:59.091	+47:58:52.13	15.89	220	1403.82

Example 3. Find closest star

Find the closest GSC II Star to 10:00:00 +10:00:00.
scat -hac gsc2 -j 10:00:00 +10:00:00
produces the following:
scat WCSTools 3.6.9, 6 July 2007, Doug Mink SAO  Find closest star
      GSC 2.3 10:00:00.000 +10:00:00.00 J2000 r= +00:02:00.0 at epoch 2000.0000
GSC2_id      RA2000       Dec2000     MagF  MagJ  MagN  MagB  MagV Class  Arcsec
N6WQ007488 09:59:58.121 +10:00:12.93 19.90 99.90 19.00 99.90 99.90  3     30.62

Example 4. Match stars in input catalog

Match the stars in the input catalog test.tab to the USNO-A2.0 Catalog and list them one match per line.
scat -lc ua2 @test.tab
produces the following:
240020 22:15:54.555 -11:36:56.13  9.80  __  0750.21153376 22:15:54.521 -11:36:54.60 11.60 10.40 11   -0.49    1.53    1.61
267313 17:47:51.210 -22:58:17.35  9.10  A0  0600.28787484 17:47:51.194 -22:58:17.27  0.00  8.90 377   -0.22    0.08    0.24
196784 13:42:07.204 -09:06:40.06  8.60  K0  0750.08217430 13:42:07.153 -09:06:39.43  9.40  8.10 16   -0.76    0.63    0.99
127373 10:24:43.528 +11:21:21.15 10.20  K0  0975.06486656 10:24:43.519 +11:21:21.53 10.70  8.80 6   -0.13    0.38    0.40
095438 06:07:46.792 +23:28:44.76 10.30  K0  1125.03426401 06:07:46.859 +23:28:45.44 11.40  9.10 91    0.92    0.68    1.14
where the columns are input catalog star name, RA, Dec, magnitude, epoch, USNO-A2.0 region.number, RA, Dec, B magnitude, R magnitude, number of stars in the 120-arcsecond radius default search region, and catalog-search dra, ddec, and dr (in arcseconds).

Telescope Data Center

Last updated 9 July 2007 by Doug Mink

[WCSTools] [WCSTools programs] [scat]