summaryrefslogtreecommitdiff
path: root/hstwcs/dgeo.py
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2009-03-17 09:50:03 -0400
committerdencheva <dencheva@stsci.edu>2009-03-17 09:50:03 -0400
commit81d0bba67fca1980eec1fd1a6d3b00541f35e907 (patch)
tree59869aeea407b34b7fdd3c2509c762befd211db2 /hstwcs/dgeo.py
parentf4b215e9b83e4aefacb61e8c9f0ccafbaefe0338 (diff)
downloadstwcs_hcf-81d0bba67fca1980eec1fd1a6d3b00541f35e907.tar.gz
Changed the name of the kw recording the dgeofile used for the lookup tables to DGEOEXT.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7766 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'hstwcs/dgeo.py')
-rw-r--r--hstwcs/dgeo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hstwcs/dgeo.py b/hstwcs/dgeo.py
index b1d5720..a97290d 100644
--- a/hstwcs/dgeo.py
+++ b/hstwcs/dgeo.py
@@ -39,7 +39,7 @@ class DGEOCorr(object):
cls.applyDgeoCorr(fobj)
dgfile = fobj[0].header['DGEOFILE']
- new_kw = {'DGEOFILE': dgfile}
+ new_kw = {'DGEOEXT': dgfile}
return new_kw
updateWCS = classmethod(updateWCS)
@@ -49,7 +49,7 @@ class DGEOCorr(object):
For each science extension in a pyfits file object:
- create a WCSDVARR extension
- update science header
- - add/update DGEOFILE keyword
+ - add/update DGEOEXT keyword
"""
dgfile = fileutil.osfn(fobj[0].header['DGEOFILE'])
instrument = fobj[0].header.get('INSTRUME', None)