HDR_COPY

Copy header information from one image to another

Description:

This routine copies a compatible source of header information from one image to another. FITS headers may only be copied to FITS headers, other sources may be copied without restriction.

Invocation

CALL HDR_COPY( PARAM1, XNAME1, PARAM2, XNAME2, STATUS )

Arguments

PARAM1 = CHARACTER ( ) (Given)
Parameter name of the image containing the input source of header information (case insensitive).
XNAME1 = CHARACTER ( ) (Given)
The name of the extension to be copied (FITS or for FITS).
PARAM2 = CHARACTER ( ) (Given)
Parameter name of the image that you want to copy a header source into (case insensitive).
XNAME2 = CHARACTER ( ) (Given)
The name of the destination header source (FITS or for FITS, must be FITS if XNAME1 is FITS).
STATUS = INTEGER (Given and Returned)
The global status. If a header source or destination is FITS and the other isn’t then IMG__BDEXT will be returned.

Notes: