| extgst | stsdas.gasp | extgst |
extgst -- Extract rows from one or more guide star tables.
extgst intablist outable ra dec width
Select guide stars from one or more guide star tables and write them to a new STSDAS table. The user specifies a list of input table names as a file name template. The input table(s) are assumed to be output from the sgscind task, i.e., one or more STSDAS tables containing guide star regions from the CD-ROM Guide Star Catalog. The extgst task uses the specified region center and width to define a field from which to select stars from the input tables. One may also specify a pair of magnitudes; only stars within these limits are selected from the catalog. Coordinates and magnitudes of the selected stars are written to a new STSDAS table.
By default, only the coordinates and magnitudes from the GSC catalog tables are saved in the output table. The allcols paramater may be toggled to permit saving all of the columns from the GSC into the output merged table.
Note that the GSC coordinates are equinox J2000; this should also be true of the input field center. See the precess tasks to precess coordinates.
Column Name Data Type Print Format Units ------ ---- ---- ---- ----- ------ ----- RA_HRS Double %11.2h hours RA_DEG Double %11.1h degrees DEC_DEG Double %11.1h degrees MAG Real %6.1f magnitudes GSC_ID Integer %5d PLATE_ID String %-4s POS_ERR Real %5.1f degrees MAG_ERR Real %4.2f magnitudes MAG_BAND Integer %2d CLASS Integer %1d MULTIPLE String %-1sThe first column, RA_HRS does not appear in the GSC tables on the CD, but is written to the output tables by extgst. It contains the same R.A. coordinates as RA_DEG, but the units are hours rather than degrees. If allcols=no, then only the first four columns are written to the output table.
See the stsdas.tools package, the tlcol task in particular for more information regarding the attributes of table columns.
regions, targets, sgscind
Type "help gasp opt=sys" for more information about using the gasp package and the Guide Star Catalog.