diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-08-03 20:29:50 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-08-03 20:29:50 (GMT) |
commit | b8525c3dd6b1e98d1b8754cfeb25a2f8a5a56479 (patch) | |
tree | cce6ece606536feed1304203c11ee3cb446ba774 /tksao/frame/frmarkerxml.C | |
parent | f0f09fa30fea1f957e2a7c98b9d66431c2e31df7 (diff) | |
download | blt-b8525c3dd6b1e98d1b8754cfeb25a2f8a5a56479.zip blt-b8525c3dd6b1e98d1b8754cfeb25a2f8a5a56479.tar.gz blt-b8525c3dd6b1e98d1b8754cfeb25a2f8a5a56479.tar.bz2 |
simplify coord system options
Diffstat (limited to 'tksao/frame/frmarkerxml.C')
-rw-r--r-- | tksao/frame/frmarkerxml.C | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tksao/frame/frmarkerxml.C b/tksao/frame/frmarkerxml.C index 0a5ff39..e689b4e 100644 --- a/tksao/frame/frmarkerxml.C +++ b/tksao/frame/frmarkerxml.C @@ -393,7 +393,6 @@ void Base::xmlParseTR(char** cols, int* id, char** unit, char** ref, if (angsys == Coord::WCS) { switch (angsky) { case Coord::FK4: - case Coord::FK4_NO_E: case Coord::FK5: case Coord::ICRS: angoffset = M_PI; @@ -408,7 +407,6 @@ void Base::xmlParseTR(char** cols, int* id, char** unit, char** ref, if (angsys == Coord::WCS) { switch (angsky) { case Coord::FK4: - case Coord::FK4_NO_E: case Coord::FK5: case Coord::ICRS: break; @@ -867,15 +865,12 @@ Vector Base::xmlPoint(FitsImage* ptr, const char* xstr, const char* ystr, switch (sky) { case Coord::FK4: - case Coord::FK4_NO_E: case Coord::FK5: case Coord::ICRS: xx = xx/24.*360.; break; case Coord::GALACTIC: - case Coord::SUPERGALACTIC: case Coord::ECLIPTIC: - case Coord::HELIOECLIPTIC: break; } rr = ptr->mapToRef(Vector(xx,yy), sys, sky); @@ -1041,19 +1036,16 @@ void Base::markerListXMLHeader(ostream& str, Coord::CoordSystem sys, char* yucd=NULL; switch (sky) { case Coord::FK4: - case Coord::FK4_NO_E: case Coord::FK5: case Coord::ICRS: xucd = dupstr("pos.eq.ra;meta.main"); yucd = dupstr("pos.eq.dec;meta.main"); break; case Coord::GALACTIC: - case Coord::SUPERGALACTIC: xucd = dupstr("pos.galactic.lon;meta.main"); yucd = dupstr("pos.galactic.lat;meta.main"); break; case Coord::ECLIPTIC: - case Coord::HELIOECLIPTIC: xucd = dupstr("pos.ecliptic.lon;meta.main"); yucd = dupstr("pos.ecliptic.lat;meta.main"); break; |