Next: AST_REBINX - Rebin a region of a data grid
Up: AST Routine Descriptions
Previous: AST_READ - Read an Object from a Channel
AST_READFITS
-
Read cards into a FitsChan from the source function
- Description:
- This routine
reads cards from the source function that was specified when the
FitsChan was created, and stores them in the FitsChan. This
normally happens once-only, when the FitsChan is accessed for the
first time.
This routine
provides a means of forcing a re-read of the external source, and
may be useful if (say) new cards have been deposited into the
external source. Any newcards read from the source are appended to
the end of the current contents of the FitsChan.
- Invocation:
- CALL AST_READFITS( THIS, STATUS )
- Arguments:
-
THIS = INTEGER (Given)
-
Pointer to the FitsChan.
-
STATUS = INTEGER (Given and Returned)
-
The global status.
- Notes:
- This function returns without action if no source function was
specified when the FitsChan was created.
- The SourceFile attribute is ignored by this
routine.
New cards are read from the source file whenever a new value is
assigned to the SourceFile attribute.
Next: AST_REBINX - Rebin a region of a data grid
Up: AST Routine Descriptions
Previous: AST_READ - Read an Object from a Channel
AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 210
R.F. Warren-Smith & D.S. Berry
7th December 2012
E-mail:starlink@jiscmail.ac.uk
Copyright (C) 2012 Science \& Technology Facilities Council