radecbox - Search an starbase data table catalog for targets in an ra dec
specified box.
SYNOPSYS
radecbox file ra dec width
Input catalog to search, this file must have ra and dec columns. If the search parameter not set to "row" the input file must be be a real file (not a pipe) and be numericly indexed on the ra column. The ra column should be in units of hours and the dec column should be in units of degrees.
Right Ascension of the center of the search box in hours.
Width of the search box in degrees.
The column name of the ra column defaults to "ra".
The column name of the dec column defaults to "dec".
The search method to use. Three search methods are implemented. The default method is "fast"
Control debug output. The default is debug=0. When debug=1 the commands that will be executec are printed out on the standard error instead. When debug=2 the commands are printed and executed.
Search a for all the stars withing a 3 arc minute square box at 2:30:03.5 hours RA and 34:45:00 deg Dec. If the catalog is indexes the search will be done using the fast index program search.
john@panic: index -mb -h catalog.tab RA john@panic: index -mi -h catalog.tab Dec john@panic: radecbox catalog.tab ra=2:30:03.5 dec=34:45:00 width=0:03:00