next up previous 225
Next: Angular format specifiers
Up: Features of the library
Previous: Inquiring null values


Storing and representing columns of angles

CAT provides special facilities for representing columns which contain angles. Usually angular columns are used to store celestial coordinates such as Right Ascension and Declination, though they can contain any angular measure. There are two requirements for the treatment of angles stored in astronomical catalogues:

CAT provides both these facilities, as follows:

In order for CAT to know that a column contains an angle it must satisfy the following two requirements.

If the external display format attribute of the column, EXFMT, is explicitly set it should be set to a normal Fortran 77 format specifier corresponding to the data type of the column, for example `D16.8' for a DOUBLE PRECISION column or `E14.6' for a REAL column17.

When the catalogue is written fields should be written to angular columns using CAT_PUT0D or CAT_PUT0R with the angles expressed in radians.



Subsections

next up previous 225
Next: Angular format specifiers
Up: Features of the library
Previous: Inquiring null values

CAT [1ex
Starlink User Note 181
A.C. Davenhall
4th April 2001
E-mail:ussc@star.rl.ac.uk

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