Error when running blendheaders

zhao13zhao13 Member Posts: 8
Hello,

I was trying to run 'blendheaders' on my drizzled image when the following error message cropped up:

Found RULEFILE for hst/wfc3 of: //anaconda/envs/astroconda/lib/python2.7/site-packages/fitsblender/wfc3_header.rules Exception in Tkinter callback Traceback (most recent call last): File "//anaconda/envs/astroconda/lib/python2.7/lib-tk/Tkinter.py", line 1542, in __call__ return self.func(*args) File "/anaconda/envs/astroconda/lib/python2.7/site-packages/stsci.tools-3.4.11-py2.7.egg/stsci/tools/editpar.py", line 1249, in execute self.runTask() File "/anaconda/envs/astroconda/lib/python2.7/site-packages/stsci.tools-3.4.11-py2.7.egg/stsci/tools/editpar.py", line 1758, in runTask self._taskParsObj.run(mode='h', _save=1) File "/anaconda/envs/astroconda/lib/python2.7/site-packages/stsci.tools-3.4.11-py2.7.egg/stsci/tools/cfgpars.py", line 798, in run return self._runFunc(self, *args, **kw) File "//anaconda/envs/astroconda/lib/python2.7/site-packages/fitsblender/blendheaders.py", line 119, in run verbose=configobj['verbose']) File "//anaconda/envs/astroconda/lib/python2.7/site-packages/fitsblender/blendheaders.py", line 287, in blendheaders drzimg.close() File "//anaconda/envs/astroconda/lib/python2.7/site-packages/astropy/io/fits/hdu/hdulist.py", line 914, in close closed=closed) File "//anaconda/envs/astroconda/lib/python2.7/site-packages/astropy/io/fits/hdu/hdulist.py", line 932, in _close self.flush(output_verify=output_verify, verbose=verbose) File "//anaconda/envs/astroconda/lib/python2.7/site-packages/astropy/utils/decorators.py", line 874, in flush func = make_function_with_signature(func, name=name, **wrapped_args) File "//anaconda/envs/astroconda/lib/python2.7/site-packages/astropy/io/fits/util.py", line 254, in wrapped func(*args, **kwargs) File "//anaconda/envs/astroconda/lib/python2.7/site-packages/astropy/io/fits/hdu/hdulist.py", line 764, in flush self.verify(option=output_verify) File "//anaconda/envs/astroconda/lib/python2.7/site-packages/astropy/io/fits/verify.py", line 121, in verify raise VerifyError('\n' + '\n'.join(messages)) VerifyError: Verification reported errors: HDU 0: 'SIMPLE' card does not exist. 'BITPIX' card at the wrong place (card 0). 'NAXIS' card at the wrong place (card 1). 'EXTEND' card at the wrong place (card 2). Note: astropy.io.fits uses zero-based indexing.

I only changed the 'drizfile' parameter for 'blendheaders', and the input images I used to create the drizzled image are all _flt.fits files with two SCI extensions.
Tagged:
Sign In or Register to comment.