diff options
Diffstat (limited to 'updatewcs/__init__.py')
-rw-r--r-- | updatewcs/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updatewcs/__init__.py b/updatewcs/__init__.py index e820140..46d7267 100644 --- a/updatewcs/__init__.py +++ b/updatewcs/__init__.py @@ -198,7 +198,7 @@ def copyWCS(w, hdr, wkey, wname): if w.wcs.has_cd(): wcsutil.pc2cd(hwcs) for k in hwcs.keys(): - key = k+wkey + key = k[:7] + wkey hdr.update(key=key, value=hwcs[k]) norient = np.rad2deg(np.arctan2(hwcs['CD1_2'],hwcs['CD2_2'])) okey = 'ORIENT%s' % wkey |