Error when running blendheaders

zhao13zhao13 Member Posts: 8

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/", line 1542, in __call__ return self.func(*args) File "/anaconda/envs/astroconda/lib/python2.7/site-packages/", line 1249, in execute self.runTask() File "/anaconda/envs/astroconda/lib/python2.7/site-packages/", line 1758, in runTask'h', _save=1) File "/anaconda/envs/astroconda/lib/python2.7/site-packages/", line 798, in run return self._runFunc(self, *args, **kw) File "//anaconda/envs/astroconda/lib/python2.7/site-packages/fitsblender/", line 119, in run verbose=configobj['verbose']) File "//anaconda/envs/astroconda/lib/python2.7/site-packages/fitsblender/", line 287, in blendheaders drzimg.close() File "//anaconda/envs/astroconda/lib/python2.7/site-packages/astropy/io/fits/hdu/", line 914, in close closed=closed) File "//anaconda/envs/astroconda/lib/python2.7/site-packages/astropy/io/fits/hdu/", line 932, in _close self.flush(output_verify=output_verify, verbose=verbose) File "//anaconda/envs/astroconda/lib/python2.7/site-packages/astropy/utils/", 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/", line 254, in wrapped func(*args, **kwargs) File "//anaconda/envs/astroconda/lib/python2.7/site-packages/astropy/io/fits/hdu/", line 764, in flush self.verify(option=output_verify) File "//anaconda/envs/astroconda/lib/python2.7/site-packages/astropy/io/fits/", 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: 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.
Sign In or Register to comment.