Repository navigation
Add CartesianFrameAttribute to coordinates for GCRS and PrecessedGeocentric frames - #5196
StuartLittlefair wants to merge 4 commits into
Conversation
|
@StuartLittlefair - I still think using a If we're sticking with using some sort of |
|
@mhvk I suppose "broken examples" was a poor choice of words. What I meant was that the representation of Beyond that, although I would consider it an API change to transition these attributes to If people agree this is acceptable I'm happy to change this to use |
|
Another advantage of using |
|
@mhvk I've just made a separate PR using |
|
Closing in favour of #5207 |
This PR fixes #4926.
It was impossible to create
GCRSframes andPrecessedGeocentricframes withobsgeolocandobsgeovelframe attributes of shape (3, N).I have created a new frame attribute to allow this as it seemed the easiest way to allow frame attributes with this property, without an API change. It was suggested to make the
obsgeolocandobsgeovelframe attributesCartesianRepresentationinstances but this would have broken existing examples and required extensive code changes.This PR also contains changes to the ICRS <-> GCRS transformation code, since that did not work for
obsgeolocandobsgeovelattributes with shapes other than (3,)