diff options
author | dencheva <dencheva@stsci.edu> | 2009-03-17 09:50:03 -0400 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2009-03-17 09:50:03 -0400 |
commit | 81d0bba67fca1980eec1fd1a6d3b00541f35e907 (patch) | |
tree | 59869aeea407b34b7fdd3c2509c762befd211db2 /hstwcs/dgeo.py | |
parent | f4b215e9b83e4aefacb61e8c9f0ccafbaefe0338 (diff) | |
download | stwcs_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.py | 4 |
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) |