Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Labels:
-
Story Points:20
-
Epic Link:
-
Sprint:Alert Production F17 - 8, Alert Production F17 - 9, AP S18-2, AP S18-4
-
Team:Alert Production
Description
Implement RFC-353 by replacing all use of Coord and its subclasses with SpherePoint.
Things to keep in mind:
- afw will no longer support coordinate conversions. We do not rely on this now (except for a very small number of cases of use of FK5 J2000 instead if ICRS that is likely a mistake).
- SpherePoint and Coord have slightly different APIs (for instance SpherePoint is immutable) so some usage will need to change.
- Coord has some methods that SpherePoint does not. These may have to be added to SpherePoint or implemented as free functions.
This would also be a good time to eliminate the SpherePoint(double raDecRad[2]) constructor. This was added to support Transform but turned out to be unnecessary.
Attachments
Issue Links
- blocks
-
DM-11868 Change Coord objects in ap_association to SpherePoint
- Won't Fix
- is blocked by
-
DM-10765 Replace existing WCS classes with SkyWcs
- Done
-
DM-11473 Add SpherePoint(long, lat, unit) constructor
- Done
-
DM-12924 SpherePoint.offset should work at the poles and for negative offsets
- Done
- is triggered by
-
RFC-353 Remove all Coord classes and switch to SpherePoint
- Implemented
- is triggering
-
DM-13902 Build of obs_sdss fails because SpherePoint is missing toIcrs
- Won't Fix
- relates to
-
DM-9217 Convert some afw enums into class enums
- To Do
-
DM-2637 Coord should be abstract
- Done
-
RFC-367 Add (double, double, units) constructor to SpherePoint and an associated getter
- Implemented
-
DM-10999 Make afw.geom.endpoint import all it needs
- Won't Fix
DM-10765has made the circular import problem for SkyWcs worse. I giving up on having SkyWcs imported into lsst.afw.geom by default; until this ticket is implemented users will have to import SkyWcs and the other symbols defined in skyWcs using something like from lsst.afw.geom.skyWcs import SkyWcs. As part of implementing this ticket, look for such imports and simplify them, and update Python documentation that refers to lsst.afw.geom.skyWcs.SkyWcs.