diff options
Diffstat (limited to 'lib/stwcs/updatewcs/makewcs.py')
-rw-r--r-- | lib/stwcs/updatewcs/makewcs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stwcs/updatewcs/makewcs.py b/lib/stwcs/updatewcs/makewcs.py index 76d80b8..9f95a13 100644 --- a/lib/stwcs/updatewcs/makewcs.py +++ b/lib/stwcs/updatewcs/makewcs.py @@ -39,6 +39,9 @@ class MakeWCS(object): recomputes the basic WCS kw """ logger.info("\n\tStarting MakeWCS: %s" % time.asctime()) + if not ext_wcs.idcmodel: + logger.info("IDC model not found, turning off Makewcs") + return {} ltvoff, offshift = cls.getOffsets(ext_wcs) v23_corr = cls.zero_point_corr(ext_wcs) |