diff options
-rw-r--r-- | distortion/mutil.py | 2 | ||||
-rw-r--r-- | updatewcs/corrections.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/distortion/mutil.py b/distortion/mutil.py index d656b32..2effade 100644 --- a/distortion/mutil.py +++ b/distortion/mutil.py @@ -250,7 +250,7 @@ def read_tdd_coeffs(phdr): n = int(phdr["TDDORDER"]) else: print 'TDDORDER kw not present, TDD correction will not be applied.' - return skew_coeffs + return None a = np.zeros((n+1,), np.float64) b = np.zeros((n+1,), np.float64) diff --git a/updatewcs/corrections.py b/updatewcs/corrections.py index eac4b6e..861b8ab 100644 --- a/updatewcs/corrections.py +++ b/updatewcs/corrections.py @@ -95,7 +95,7 @@ class TDDCorr(object): # Using default pre-SM4 coefficients skew_coeffs = {'TDD_A':[0.095,0.090/2.5], 'TDD_B':[-0.029,-0.030/2.5], - 'TDD_DATE':2004.5} + 'TDD_DATE':2004.5,'TDDORDER':1} if not isinstance(ext_wcs.date_obs,float): year,month,day = ext_wcs.date_obs.split('-') |