ghfix

A general header fixer of HET-related FITS images. Initially I was using things like acamfix, gc1fix, etc... It just got to be too much! This script fits the bill for most HET images.

 
Usage: ghfix a.fits 15:58:57.70 +36:38:38.0 291.6 275.0 HR5957 ACAM 
arg1 - name of fits image
arg2 - Ra in sexigecimal format
arg3 - Dec in sexigecimal format
arg4 - AZ_het in degrees
arg5 - parallactic angle (HETQ)
arg6 - Object name
arg7 - detector name

% ghfix 20150729T053840.7_acm_sci.fits 15:58:57.70 +36:38:38.0 291.6 275.0 HR5957 ACAM  
I usually set up scripts that prepare a lot of the arguments above (like AZ_het and HETQ) and then feed these values to ghfix via the script variables.

Special Note: The ghfix routine runs the task "remove_fits_kwords A.fits $scobin/bini/Bad.Cards" where A.fits is a temporary copy of the input image. The list in $scobin/bini/Bad.Cards can be editted as needed and carried around in the same bin directory that holes the ghfix executable (i.e. $scobin/bini).


Back to SCO CODES page