WCSTools programs

xy2sky
Command Line Arguments

-a
Append input line after output position
-b
print sky coordinates as B1950 (FK4) right ascension and declination
-c filename
File with polynomial coefficients for conversion of image magnitudes to catalog magnitudes. The numbers can be anywhere in the file with the format keyword=value, where keyword can be mag0, mcoeff0, mcoeff1, ... mcoeff4, and the assignments can be anywhere within the file. The file to be read can be produced by the immatch program if the -q command is used. The image magnitude is expected to be in the third column unless the xy2sky -c argument is used to specify a column. (added in WCSTools 3.0.1)

-d
Print RA and Dec output in degrees

-e
Print sky coordinates as ecliptic longitude and latitude in degrees

-f number
Number of face to use for 3-d projection

-g
Print sky coordinates as galactic longitude and latitude

-i
First column is star id; 2nd, 3rd are x,y position

-j
print sky coordinates as J2000 (FK5) right ascension and declination

-l number
Mode for output of LINEAR WCS coordinates:
1= append units from CUNITi to each coordinate
2= append units from CUNITi at end of coordinate string

-m number
Column for magnitude on input; this defaults to 3 if the -c command is used. (Added in WCSTools 3.0.1)

-n number
Number of decimal places in output RA seconds or decimal degrees

-o r or d or s
Print only RA, Dec, or coordinate system

-q fractional year
Output equinox if not 2000 or 1950

-t
Tab table output

-v
print more information about process

-x number
Column for image X coordinate; image Y coordinate is in the following column. (Added in WCSTools 3.0.1)

-z
Use AIPS classic projections instead of WCSLIB

filename
Name of FITS or IRAF image file. This must be present.

@filename
Name of file containing list of sky coordinate pairs in first two columns. (Lines with # in the first column are ignored.)
or
x y
Image coordinate X Y pair. There may be any number of these up to the maximum Unix line length, but they MUST follow the image file name argument.

Last updated 10 November 2009 by Doug Mink

Telescope Data Center [xy2sky Examples]