Created
August 25, 2014 15:40
-
-
Save josePhoenix/637375031bc6210a639b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --> updatewcs.updatewcs("*flc.fits") | |
| - IDCTAB: Distortion model from row 6 for chip 2 : F606W | |
| Card is too long, comment will be truncated. | |
| Card is too long, comment will be truncated. | |
| Card is too long, comment will be truncated. | |
| Traceback (innermost last): | |
| File "<console>", line 1, in <module> | |
| File "/Users/jlong/STScI/ssbrel/python/lib/python2.7/site-packages/stwcs-1.1.2-py2.7.egg/stwcs/updatewcs/__init__.py", line 98, in updatewcs | |
| makecorr(f, acorr) | |
| File "/Users/jlong/STScI/ssbrel/python/lib/python2.7/site-packages/stwcs-1.1.2-py2.7.egg/stwcs/updatewcs/__init__.py", line 122, in makecorr | |
| kw2update = det2im.DET2IMCorr.updateWCS(f) | |
| File "/Users/jlong/STScI/ssbrel/python/lib/python2.7/site-packages/stwcs-1.1.2-py2.7.egg/stwcs/updatewcs/det2im.py", line 47, in updateWCS | |
| cls.applyDet2ImCorr(fobj) | |
| File "/Users/jlong/STScI/ssbrel/python/lib/python2.7/site-packages/stwcs-1.1.2-py2.7.egg/stwcs/updatewcs/det2im.py", line 86, in applyDet2ImCorr | |
| data=ename[1],ccdchip=ccdchip) | |
| File "/Users/jlong/STScI/ssbrel/python/lib/python2.7/site-packages/stwcs-1.1.2-py2.7.egg/stwcs/updatewcs/det2im.py", line 185, in createD2ImHDU | |
| ccdchip=ccdchip) | |
| File "/Users/jlong/STScI/ssbrel/python/lib/python2.7/site-packages/stwcs-1.1.2-py2.7.egg/stwcs/updatewcs/det2im.py", line 207, in createD2ImHdr | |
| d2imccdchip = cls.get_ccdchip(d2im, extname=d2imextname, extver=d2imextver) | |
| File "/Users/jlong/STScI/ssbrel/python/lib/python2.7/site-packages/stwcs-1.1.2-py2.7.egg/stwcs/updatewcs/det2im.py", line 287, in get_ccdchip | |
| ccdchip = fobj[extname, extver].header['CCDCHIP'] | |
| File "/Users/jlong/STScI/ssbrel/python/lib/python2.7/site-packages/pyfits-3.2.4-py2.7-macosx-10.6-x86_64.egg/pyfits/header.py", line 148, in __getitem__ | |
| card = self._cards[self._cardindex(key)] | |
| File "/Users/jlong/STScI/ssbrel/python/lib/python2.7/site-packages/pyfits-3.2.4-py2.7-macosx-10.6-x86_64.egg/pyfits/header.py", line 1687, in _cardindex | |
| raise KeyError("Keyword %r not found." % keyword) | |
| KeyError: "Keyword 'CCDCHIP' not found." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment