From 552f97f846ba9b62113f5125e7459d2842c5737c Mon Sep 17 00:00:00 2001 From: dencheva Date: Mon, 27 Oct 2008 16:57:18 +0000 Subject: Added DGEOCorr to list of allowed corrections and NAXIS1/2 to list of kw to be archived git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7202 fe389314-cf27-0410-b35b-8c050e845b92 --- lib/mappings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/mappings.py') diff --git a/lib/mappings.py b/lib/mappings.py index fed9b60..4cc4327 100644 --- a/lib/mappings.py +++ b/lib/mappings.py @@ -13,8 +13,8 @@ RADTODEG = fileutil.RADTODEG # A dictionary which lists the allowed corrections for each instrument. # These are the default corrections applied also in the pipeline. #Dgeo correction is applied separately. -allowed_corrections={'WFPC2': ['MakeWCS','CompSIP'], - 'ACS': ['TDDCorr', 'MakeWCS','CompSIP', 'VACorr'] +allowed_corrections={'WFPC2': ['MakeWCS','CompSIP', 'VACorr', 'DGEOCorr'], + 'ACS': ['TDDCorr', 'MakeWCS','CompSIP', 'VACorr', 'DGEOCorr'] } # A list of instrument specific keywords @@ -30,7 +30,7 @@ prim_hdr_kw = ['detector', 'offtab', 'idctab', 'date-obs', # These are the keywords which are archived before MakeWCS is run basic_wcs = ['CD1_1', 'CD1_2', 'CD2_1', 'CD2_2', 'CRVAL1','CRVAL2','CTYPE1', 'CTYPE2', - 'CRPIX1', 'CRPIX2', 'CTYPE1', 'CTYPE2', 'ORIENTAT'] + 'CRPIX1', 'CRPIX2', 'CTYPE1', 'CTYPE2', 'ORIENTAT', 'NAXIS1', 'NAXIS2'] dgeo_vals = {'ACS': {'naxis1':65, 'naxis2':33, 'extver':1, 'crpix1':33.5, 'crpix2':16.5, -- cgit