next up previous 264
Next: astXmlChan - Create an XmlChan
Up: AST Function Descriptions
Previous: astWrite - Write an Object to a Channel


astWriteFits - Write out all cards in a FitsChan to the sink function

Description:
This function writes out all cards currently in the FitsChan. If the SinkFile attribute is set, they will be written out to the specified sink file. Otherwise, they will be written out using the sink function specified when the FitsChan was created. All cards are then deleted from the FitsChan.
Synopsis:
void astWriteFits( AstFitsChan $*$this )
Parameters:
this
Pointer to the FitsChan.
Notes:
  • If the SinkFile is unset, and no sink function is available, this method simply empties the FitsChan, and is then equivalent to astEmptyFits.

  • This method attempt to execute even if an error has occurred previously.


next up previous 264
Next: astXmlChan - Create an XmlChan
Up: AST Function Descriptions
Previous: astWrite - Write an Object to a Channel

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
7th December 2012
E-mail:starlink@jiscmail.ac.uk

Copyright (C) 2012 Science \& Technology Facilities Council