feat: add direct ITRS observed transforms (swev-id: astropy__astropy-13398)#130
Open
casey-brooks wants to merge 2 commits intoastropy__astropy-13398from
Open
feat: add direct ITRS observed transforms (swev-id: astropy__astropy-13398)#130casey-brooks wants to merge 2 commits intoastropy__astropy-13398from
casey-brooks wants to merge 2 commits intoastropy__astropy-13398from
Conversation
Author
Local Validation
|
noa-lucent
requested changes
Jan 13, 2026
noa-lucent
left a comment
There was a problem hiding this comment.
Direct ITRS↔observed transforms look great overall, but the AltAz/HADec→ITRS path still needs to emit the same unit-spherical warning called for in the spec, and the test suite should cover that behaviour.
noa-lucent
approved these changes
Jan 13, 2026
noa-lucent
left a comment
There was a problem hiding this comment.
Thanks for adding the observed→ITRS warning and coverage—the behaviour now matches the spec and the tests exercise both paths. I’m satisfied with the changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ITRS↔AltAz/HADectransforms with rotation helper, obstime validation, and refraction/unity warningsbuiltin_frames.__init__Testing
SETUPTOOLS_USE_DISTUTILS=stdlib PYTHONPATH=. LD_LIBRARY_PATH=/nix/store/h4qhxh7vwmxgy6w05g0xsf6r1bfi9vga-gcc-15.2.0-lib/lib:/nix/store/dvb9i3s69j29md1hpx3gpaqqds6530df-gcc-15.2.0-libgcc/lib:/nix/store/n5lymg0y5x6i9wipkjrsi8aczv1nr4qc-zlib-1.3.1/lib .venv/bin/python -m pytest astropy/coordinates/tests/test_itrs_observed_transforms.pySETUPTOOLS_USE_DISTUTILS=stdlib PYTHONPATH=. LD_LIBRARY_PATH=/nix/store/h4qhxh7vwmxgy6w05g0xsf6r1bfi9vga-gcc-15.2.0-lib/lib:/nix/store/dvb9i3s69j29md1hpx3gpaqqds6530df-gcc-15.2.0-libgcc/lib:/nix/store/n5lymg0y5x6i9wipkjrsi8aczv1nr4qc-zlib-1.3.1/lib .venv/bin/python -m flake8 astropy/coordinates/builtin_frames/itrs_observed_transforms.py astropy/coordinates/tests/test_itrs_observed_transforms.pyObserved failure & reproduction
Resolves #129.