next up previous 222
Next: Angular format specifiers
Up: CURSA Catalogue and Table Manipulation Applications
Previous: Operator precedence


Storing and representing columns of angles

CURSA provides special facilities for representing columns which contain angles. Usually angular columns are used to store celestial coordinates such as Right Ascension and Declination, position angles or small angles such as the great circle distance between neighbouring points or the angular size of extended objects. However, they can contain any angular measure. The basis of these facilities is that columns of angles are stored and manipulated internally in radians, but are automatically displayed by xcatview (see Section [*]) and catview (see Section [*]) as hours or degrees, minutes or seconds, optionally formatted as a sexagesimal value.

CURSA recognises a column which is to be treated in this way by a combination of the DTYPE (data type) and UNITS attributes.

Incidentally, the external display format attribute of the column, EXFMT, must be set to a valid Fortran 77 format specifier corresponding to the data type of the column, because of the way that CURSA represents catalogues as FITS tables.

It is possible to interactively modify the way that a column of angles is displayed by xcatview or catview. This alteration is achieved by supplying a new UNITS attribute for the column. In practice it is only the angular format specifier which is changed; the UNITS must still be of the form

RADIANS{angular format specifier}

The angular format specifier is described in full below.


Subsections

next up previous 222
Next: Angular format specifiers
Up: CURSA Catalogue and Table Manipulation Applications
Previous: Operator precedence

CURSA Catalogue and Table Manipulation Applications
Starlink User Note 190
A.C. Davenhall
4th November 2001
E-mail:starlink@jiscmail.ac.uk

Copyright © 2001 Council for the Central Laboratory of the Research Councils