The TBLFMT item has additional options for reading more complex sexagesimal angles from STL catalogues. These options cover most of the formats used in practice to represent angles in astronomical catalogues held as text files. They should only be used in fixed-format STLs; if they are used in free-format STLs the results are unpredictable. For complex sexagesimal angles the TBLFMT item has the form:
TBLFMT=units{element_descriptors}
units is the units of the angle, as for simple sexagesimal
angles. Again the permitted values are as listed in
Table
. element_descriptors is a series of
Fortran-like descriptors for the individual components of the
sexagesimal angle. A sexagesimal angle is allowed to comprise up
to four components:
The descriptors used to read these components are very similar to
the descriptors used in Fortran FORMAT statements. In the following
is the total number of characters occupied by the item and
the number of decimal places. Both
and
are
positive integers. The following rules apply.
You simply assemble an appropriate set of descriptors to describe a given angular format. The only real restriction is that the quotient and any sexagesimal subdivisions must occur in order of decreasing size (that is, quotient first, least significant subdivision last). However, it is very unusual for sexagesimal angles to be tabulated in any other order. The following additional points apply to the optional separate sign.
Figure
shows an example of an STL format catalogue
containing several columns of complex sexagesimal angles. This
catalogue is available as file:
/star/share/cursa/angles.TXT
The interpretation of the TBLFMT items for these angles is quite
straightforward. For example, column ANGLE1 starts in the third
character of each record and has units of degrees. It has a separate
sign as its first character. The quotient degrees, minutes and
seconds are all two-character INTEGER values and are separated by
one space (or rather by any single character).
CURSA Catalogue and Table Manipulation Applications