This is an extremely useful task from Doug Mink's wcstools package. It is used to eliminate header keywords.
% delhead BB.fits DATAMIN DATAMAX WCSNAMEP CTYPE1P CRPIX1P CRVAL1P
Soemtimes I want to run a lot of delhead tasks. The "remove_fits_kwords" can be used to delete all keywords in an input list, and such an input list can be be created (and then editted) with the "fitskw.sh" routine"
% fitskw.sh > bad.keys % font color=red>vi bad.keys Finally, I remove the offending cards with these keywords. % rfont color=red>emove_fits_kwords 20150827T090729.2_acm_sci.fits bad.keys