From 81d0bba67fca1980eec1fd1a6d3b00541f35e907 Mon Sep 17 00:00:00 2001 From: dencheva Date: Tue, 17 Mar 2009 13:50:03 +0000 Subject: 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 --- hstwcs/dgeo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hstwcs/dgeo.py') 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) -- cgit