next up previous 231
Next: HDR_DELET- Delete a header item
Up: HDR Fortran subroutines
Previous: HDR Fortran subroutines


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:



next up previous 231
Next: HDR_DELET- Delete a header item
Up: HDR Fortran subroutines
Previous: HDR Fortran subroutines

IMG Simple Image Data Access
Starlink User Note 160
P.W. Draper
R.F. Warren-Smith
3 March 2003
E-mail:P.W.Draper@durham.ac.uk

Copyright © 2000-2003 Council for the Central Laboratory of the Research Councils