montage_wrapper.commands.mHdrCheck(in_image, status_file=None)[source]

mHdrCheck reads in the header from a FITS image (or an ASCII header template file) and checks to see if any header lines are invalid. If it finds one, it will print out a message stating which keyword is invalid and exit before checking the rest of the header. It will not report on multiple invalid values. If all value are correct, mHdrCheck will print out a “Valid FITS/WCS” message.

Parameters :

in_image : str

Path of FITS file to be validated.

status_file : str, optional

Output and errors are sent to status_file instead of to stdout

Page Contents