summaryrefslogtreecommitdiff
path: root/hstwcs/dgeo.py
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2009-03-17 16:35:57 -0400
committerdencheva <dencheva@stsci.edu>2009-03-17 16:35:57 -0400
commit0bc834376d0e7cb66c1b7f5e27d14402b84235d9 (patch)
treea2c8d2c80b33c79d7da2d872dabe22a89f24cbca /hstwcs/dgeo.py
parent2f388a86de97f76640063aa521389bdd5ddf2ee6 (diff)
downloadstwcs_hcf-0bc834376d0e7cb66c1b7f5e27d14402b84235d9.tar.gz
Added code which populates the science file with information about detector to image correction - header keywords and a lookup table extension. Cleaned coed.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7770 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'hstwcs/dgeo.py')
-rw-r--r--hstwcs/dgeo.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hstwcs/dgeo.py b/hstwcs/dgeo.py
index a97290d..d6313d7 100644
--- a/hstwcs/dgeo.py
+++ b/hstwcs/dgeo.py
@@ -52,7 +52,6 @@ class DGEOCorr(object):
- add/update DGEOEXT keyword
"""
dgfile = fileutil.osfn(fobj[0].header['DGEOFILE'])
- instrument = fobj[0].header.get('INSTRUME', None)
# Map WCSDVARR EXTVER numbers to extension numbers
wcsdvarr_ind = cls.getWCSIndex(fobj)
for ext in fobj:
@@ -209,7 +208,7 @@ class DGEOCorr(object):
comments = {'XTENSION': 'Image extension',
'BITPIX': 'IEEE floating point',
- 'NAXIS': 'Number of image columns',
+ 'NAXIS': 'Number of axes',
'NAXIS1': 'Number of image columns',
'NAXIS2': 'Number of image rows',
'EXTNAME': 'WCS distortion array',