DEIMOS
barcode2radec script

Name

barcode2radec -- given slitmask barcode, return RA/Dec

Purpose

Given the barcode number of a slitmask, query the database to
retrieve the mask center coordinates, equinox, and PA

Usage

barcode2radec <barcode>

Arguments

barcode = integer barcode number

Output

If a match is found, returns the following values on STDOUT:
- guiname
- ra [deg]
- dec [deg]
- equinox
- pa [deg]

Restrictions

- Must execute on polo as a deimos account

Exit values

0 = normal completion
1 = wrong number of arguments

Example

> barcode2radec 7148
bck11x 189.303280 62.218216 2000.000000 52.700000

See Also

The shell script barcode2radec
DEIMOS script index


Go to: DEIMOS Home Page - Instruments Home Page - Keck Home Page

Last modified: Thu Apr 11 15:33:40 2013