diff options
author | dencheva <dencheva@stsci.edu> | 2010-01-25 17:13:05 -0500 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2010-01-25 17:13:05 -0500 |
commit | 1c380263a895a6ce91ef24ee9c2c0445df7bbebb (patch) | |
tree | 75a3f18b0fd58d6ac5adfb1d3af7520967f3a67d /updatewcs/dgeo.py | |
parent | add5bab6ddb69e48bc6f95e2f0b38e60c4fb9fed (diff) | |
download | stwcs_hcf-1c380263a895a6ce91ef24ee9c2c0445df7bbebb.tar.gz |
- If idc table is not found and idc model cannot be restored from SIP, idcmodel is always set to None.
- Two cases are considered when output_wcs is created and idcmodel for the reference image is None:
-- if idcmodel can be found, a RuntimeError will be raised and the user prompted to run 'updatewcs' or pass 'undistort=False' kw.
-- if idcmodel cannot be found, the original WCS for the reference object will be returned and used as an output WCS.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8640 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'updatewcs/dgeo.py')
0 files changed, 0 insertions, 0 deletions