AST_COLUMNSIZE

Get the number of bytes needed to hold a full column of data

Description:

This function returns the number of bytes of memory that must be allocated prior to retrieving the data from a column of a FitsTable using AST_GETCOLUMNDATA.

Invocation

RESULT = AST_COLUMNSIZE( THIS, COLUMN, STATUS )

Arguments

THIS = INTEGER (Given)
Pointer to the FitsTable.
COLUMN = CHARACTER ( ) (Given)
The character string holding the name of the column. Trailing spaces are ignored.
STATUS = INTEGER (Given and Returned)
The global status.

Returned Value

AST_COLUMNSIZE = INTEGER
The number of bytes required to store the column data.

Notes: