del_card

This routine removes one or several keywords from a FITS header.

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


FORMAT

call del_card( header, kwds )


ARGUMENTS

name & dimensionality kind in/out description
       
header(LEN=80)(1:nlheader) CHR INOUT The header to remove the keyword(s) from. The routines finds out the header size.
kwds(LEN=20)(1:nkws) CHR IN list of FITS keywords to remove. The routine accepts either a vector a keywords or a single one in a scalar variable
kwds(LEN=20) CHR IN the one FITS keyword to remove.


EXAMPLE # 1:

call del_card(header,(/ 'NSIDE ','COORD ','ORDERING' /) )
Removes the keywords `NSIDE', 'COORD' and 'ORDERING' from Header


EXAMPLE # 2:

call del_card(header, 'ORDERING' )
Removes the keyword 'ORDERING' from Header


MODULES & ROUTINES

This section lists the modules and routines used by del_card.

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 del_card

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.
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
merge_headers
routine to merge two FITS headers

Version 3.82, 2022-07-28