summaryrefslogtreecommitdiff
path: root/lib/stwcs/updatewcs/utils.py
diff options
context:
space:
mode:
authorhack <hack@stsci.edu>2011-11-07 16:38:58 -0500
committerhack <hack@stsci.edu>2011-11-07 16:38:58 -0500
commit40377535c7738b8022fda859228520918a99b0ff (patch)
tree3e65858f1640739ad86b06c74350808a0db94c95 /lib/stwcs/updatewcs/utils.py
parent55d79f92922222251fb03bf0dd19dc47f8a43449 (diff)
downloadstwcs_hcf-40377535c7738b8022fda859228520918a99b0ff.tar.gz
This revision fixes problems with WCSCORR table updates; specifically,
- added fit keywords (rms*,nmatch,catalog) to SIPWCS header in headerlet for use in updating WCSCORR - changed definition of FIT_KW to get values from SCI header, not PRIMARY - changed calls to finding blank rows to also use rows with wcs_id='0.0' as a blank row. This also required updating the logic to support multiple selection criteria - implemented update of WCSCORR by wcskey value - get FIT keywords from full header, not just HSTWCS header - only update columns which have been defined (for backward compatiblity with WCSCORR tables with columns that have since been removed from the definition) These changes have been tested to insure that the RMS values get updated in the WCSCORR table properly from the SCI image as well as from the headerlet. They also make sure the headerlet gets updated with the correct values. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13971 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'lib/stwcs/updatewcs/utils.py')
0 files changed, 0 insertions, 0 deletions