Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.naic.edu/~phil/software/bToJ.html
Дата изменения: Mon Aug 19 18:13:04 2002
Дата индексирования: Tue Oct 2 01:53:40 2012
Кодировка:

Поисковые слова: m 31

NAME

bToJ - convert coordinates from B1950 to J2000.

SYNTAX

bToJ < inputFile > outputFile

ARGS

    The routine reads from standard input and writes to standard output.

DESCRIPTION

bToJ converts B1950 coordinates to J2000 format. The input and output is in ASCII. The input file format is:
Key hhmmss.s ddmmss.s
One entry per line. The key can be anything you want (srcname, etc..). The output will be the same format but the positions will now be in J2000 (it will not modify the key). You can run the program interactively entering the src, ra, and dec from the keyboard or use file input, output.

EXAMPLES

  • Enter input from the the terminal, output goes to the terminal.
  • bToJ
    xxxsrcname  202020 101010   .. user enters the b1950 coords
    xxxsrcname  202243.9408  101950.2285 .. program outputs the J2000 coordinates.
    ctrl-D to exit
  •  Place input in a file one line at a time, write output to another file
  •   bToJ < inputfile > outputfile
  • Convert all of the B coordinates in flux.cat to J2000
  •  grep "^B" /share/obs4/usr/x101/cat/flux.cat | bToJ > outputfile
     The only problem with this is that the first col of the output file still has the B names.

    FILES

    Binary in /usr/S2local/bin, source in /home/phil/util/filters/bToJ.c

    ARCHITECTURES

            The binary will run on sun solaris machines.
    return to: filter_programs
    return to: home_~phil