Next: AST_PUTTABLES - Store one or more FitsTables in a FitsChan
Up: AST Routine Descriptions
Previous: AST_PUTTABLE - Store a single FitsTable in a FitsChan
AST_PUTTABLEHEADER
-
Store new FITS headers in a FitsTable
- Description:
- This routine
stores new FITS headers in the supplied FitsTable. Any existing
headers are first deleted.
- Invocation:
- CALL AST_PUTTABLEHEADER( THIS, HEADER, STATUS )
- Arguments:
-
THIS = INTEGER (Given)
-
Pointer to the FitsTable.
-
HEADER = INTEGER (Given)
-
Pointer to a FitsChan holding the headers for the FitsTable.
A deep copy of the supplied FitsChan is stored in the FitsTable,
replacing the current FitsChan in the Fitstable. Keywords that
are fixed either by the properties of the Table, or by the FITS
standard, are removed from the copy (see "Notes:" below).
-
STATUS = INTEGER (Given and Returned)
-
The global status.
- Notes:
- The attributes of the supplied FitsChan, together with any source
and sink functions associated with the FitsChan, are copied to the
FitsTable.
- Values for the following keywords are generated automatically by
the FitsTable (any values for these keywords in the supplied
FitsChan will be ignored): "XTENSION", "BITPIX", "NAXIS", "NAXIS1",
"NAXIS2", "PCOUNT", "GCOUNT", "TFIELDS", "TFORM%d", "TTYPE%d",
"TNULL%d", "THEAP", "TDIM%d".
Next: AST_PUTTABLES - Store one or more FitsTables in a FitsChan
Up: AST Routine Descriptions
Previous: AST_PUTTABLE - Store a single FitsTable in a FitsChan
AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 210
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk
Copyright (C) 2009 Science \& Technology Facilities Council