fits_headfix.sh
Updated: Mar10,2020

Modify header cards in FITS images. This code is designed to work on image lists. Examples of processing lists of images with this routine can be seen in acm_hdfix_list_markII and pfc_hdfix_list. However, in the example below I show how the code can be used to modify a single image. This can also be done with the wrapper script single_hdfix.

 

fits_headfix.sh none list.HEADFILES LIST.IN LIST.OUT Y

% cat list.HEADFILES
./a.1
% cat LIST.IN 
./iset_3_stack.fits
% cat LIST.OUT
./Bnew.fits

% stack_fits_headfix.sh --help   

Usage: fits_headfix.sh Bad.Cards list.HEADFILES LIST.IN LIST.OUT N
arg1 - list of keywords for which header cards will be deleted 
arg2 - file listing the filenames of header card reviision sets 
arg3 - input file listing acm FITS images to process
arg4 - output file names 
arg5 - Run in a debug/verbose mode 


This is page is not complete!!!!!!!!!!!!!!!!!!!




Back to calling page