NASA - Jet Propulsion Laboratory
    + View the NASA Portal
Search JPL
Jet Propulsion Laboratory Home Earth Solar System Stars & Galaxies Technology
Introduction Background Software Links


merge_headers


This routine merges two FITS headers.


Location in HEALPix directory tree: src/f90/mod/head_fits.F90


FORMAT

call merge_headers( header1, header2 )


ARGUMENTS

name&dimensionality kind in/out description
       
header1(LEN=80) DIMENSION(:) CHR IN First header.
header2(LEN=80) DIMENSION(:) CHR INOUT Second header. On output, will contain the concatenation of (in that order) header2 and header1. If header2 is too short to allow the merging the output will be truncated


EXAMPLE:

call merge_headers(header1, header2)

On output header2 will contain the original header2, followed by the content of header1


MODULES & ROUTINES

This section lists the modules and routines used by merge_headers.

write_hl
more general routine for adding a keyword to a header.
cfitsio
library for FITS file handling.


RELATED ROUTINES

This section lists the routines related to merge_headers


add_card
general purpose routine to write any keywords into a FITS file header
get_card
general purpose routine to read any keywords from a header in a FITS file.
del_card
routine to discard a keyword from a FITS header
read_par, number_of_alms
routines to read specific keywords from a header in a FITS file.
getsize_fits
function returning the size of the data set in a fits file and reading some other useful FITS keywords

Eric Hivon 2010-06-18
Privacy / Copyright
FIRST GOV Contact: NASA Home Page Site Manager:
Webmaster:

CL 03-2650