From 82eeaafac5f464a33b33470edc6f7bf979f25cef Mon Sep 17 00:00:00 2001 From: William Joye Date: Tue, 24 Jul 2018 15:58:45 -0400 Subject: new wcs template --- tksao/frame/coord.C | 3 +-- tksao/frame/coord.h | 4 ++-- tksao/frame/fitsimage.C | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tksao/frame/coord.C b/tksao/frame/coord.C index 91d26bb..ba7cac8 100644 --- a/tksao/frame/coord.C +++ b/tksao/frame/coord.C @@ -40,8 +40,7 @@ static const char* coordSystemStr_[] = { "wcsw", "wcsx", "wcsy", - "wcsz", - "wcs0" + "wcsz" }; static const char* skyFrameStr_[] = { diff --git a/tksao/frame/coord.h b/tksao/frame/coord.h index 8f28480..e33ecdd 100644 --- a/tksao/frame/coord.h +++ b/tksao/frame/coord.h @@ -25,10 +25,10 @@ class Coord { WCSJ, WCSK, WCSL, WCSM, WCSN, WCSO, WCSP, WCSQ, WCSR, WCSS, WCST, WCSU, WCSV, WCSW, WCSX, WCSY, WCSZ, WCS0}; #else - enum CoordSystem {DATA, IMAGE, PHYSICAL, AMPLIFIER, DETECTOR, WCS=8, + enum CoordSystem {DATA, IMAGE, PHYSICAL, AMPLIFIER, DETECTOR, WCS, WCSA, WCSB, WCSC, WCSD, WCSE, WCSF, WCSG, WCSH, WCSI, WCSJ, WCSK, WCSL, WCSM, WCSN, WCSO, WCSP, WCSQ, WCSR, - WCSS, WCST, WCSU, WCSV, WCSW, WCSX, WCSY, WCSZ, WCS0=8}; + WCSS, WCST, WCSU, WCSV, WCSW, WCSX, WCSY, WCSZ, WCS0=5}; #endif enum SkyFrame {FK4, FK4_NO_E, FK5, ICRS, GALACTIC, SUPERGALACTIC, diff --git a/tksao/frame/fitsimage.C b/tksao/frame/fitsimage.C index 1313d30..301b09a 100644 --- a/tksao/frame/fitsimage.C +++ b/tksao/frame/fitsimage.C @@ -3901,6 +3901,7 @@ void FitsImage::wcsEquInit() if (fs) { wcsEqu_[jj] = 1; const char* str = astGetC(ff, "System"); + cerr << jj << '=' << str << endl; if (!strncmp(str,"Unknown",7)) wcsEqu_[jj] = 0; } -- cgit v0.12