Skip to content

SkyCoord adapter: Exception if no lon,lat values on Point #4

@mcdittmar

Description

@mcdittmar

The SkyCoord adapter operates on the coords:Point class
Point

  • axis1
  • axis2
  • axis3
    And has logic for handling Spherical and Cartesian representations.

A nasty exception ensues if axis1 and/or axis2 have no value.
The SkyCoord instructor complains that they are not proper value types.

Another point to consider here.
Point used in Velocity context, underlying Point is still cast to a SkyCoord, but that is not really appropriate.
NOTE: SkyCoord contains position, velocity, proper motion, radial velocity together in the same Frame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions