CVG_FC2HD

Copies all headers from a FitsChan to the current HDU

Description:

This routine extracts all headers from the supplied FitsChan and stores them in the current HDU of the supplied FITS file. The HDU header may be emptied first (see argument CLEAR).

Invocation

CALL CVG_FC2HD( FC, CLEAR, FUNIT, STATUS )

Arguments

FC = INTEGER (Given)
Pointer to the FitsChan.
CLEAR = LOGICAL (Given)
Should he header be cleared before copying in the new cards? Otherwise, the new cards are appended to the end of the HDU.
FUNIT = INTEGER (Given)
The FITSIO unit number for the FITS file.
STATUS = INTEGER (Given and Returned)
The global status.

Prior Requirements

The FITS file must already be opened with the FITSIO library.