idlastro / STSDAS Image manipulation: SXHCOPY

[Source code]

NAME
SXHCOPY                            
PURPOSE
Copies selected portions of one header to another
CALLING SEQUENCE
sxhcopy, h, keyword1, keyword2, hout
INPUTS
h - input header
keyword1 - first keyword to copy
keyword2 - last keyword to copy
INPUT/OUTPUT
hout - header to copy the information to.
METHOD
the headers lines from keyword1 to keyword2 are copied to
the end of the output header.  No check is made to verify
that a keyword value already exists in the output header.
HISTORY
version 1  D. Lindler    Sept. 1989
Converted to IDL V5.0   W. Landsman   September 1997