7.2. THE ASCII TABLE EXTENSION
49
NAXIS Keyword The value field shall contain the integer 2, denoting that the included
data array is two-dimensional: rows and columns.
NAXIS1 Keyword The value field shall contain a non-negative integer, giving the
number of ASCII characters in each row of the table. This includes all the characters
in the defined fields plus any characters that are not included in any field.
NAXIS2 Keyword The value field shall contain a non-negative integer, giving the
number of rows in the table.
PCOUNT Keyword
The value field shall contain the integer 0.
GCOUNT Keyword
The value field shall contain the integer 1; the data blocks contain
a single table.
TFIELDS Keyword The value field shall contain a non-negative integer representing
the number of fields in each row. The maximum permissible value is 999.
TBCOLn Keywords The TBCOLn keywords must be present for all values n = 1, ...,
TFIELDS and for no other values of n. The value field of this indexed keyword shall
contain an integer specifying the column in which field n starts. The first column of a
row is numbered 1.
TFORMn Keywords The TFORMn keywords must be present for all values n = 1, ...,
TFIELDS and for no other values of n. The value field of this indexed keyword shall
contain a character string describing the format in which field n is encoded. Only the
formats in Table 7.3, interpreted as Fortran [17] input formats and discussed in more
detail in §7.2.5, are permitted for encoding. Format codes must be specified in upper
case. Other format editing codes common to Fortran such as repetition, positional
editing, scaling, and field termination are not permitted. All values in numeric fields
have a number base of ten (i.e., they are decimal); binary, octal, hexadecimal, and
other representations are not permitted. The TDISPn keyword, defined in §7.2.2, may
be used to recommend that a decimal integer value in an ASCII table be displayed as
the equivalent binary, octal, or hexadecimal value.
END Keyword This keyword has no associated value. Bytes 9 through 80 shall contain
ASCII spaces (decimal 32 or hexadecimal 20).
FITS Standard