summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2008-10-27 12:57:18 -0400
committerdencheva <dencheva@stsci.edu>2008-10-27 12:57:18 -0400
commit552f97f846ba9b62113f5125e7459d2842c5737c (patch)
tree3d6eb922eb65db2ad03753b9b7958dd55b5e7542
parentf0d0edf3c0778abbd1f56ab172ca3eb7daa5c11a (diff)
downloadstwcs_hcf-552f97f846ba9b62113f5125e7459d2842c5737c.tar.gz
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
-rw-r--r--lib/mappings.py6
1 files changed, 3 insertions, 3 deletions
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,