-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle lunar ellipsoids #1417
Handle lunar ellipsoids #1417
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1417 +/- ##
=======================================
Coverage 99.92% 99.92%
=======================================
Files 37 37
Lines 20807 20871 +64
=======================================
+ Hits 20791 20855 +64
Misses 16 16
Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall I think this is looking good -- mostly minor comments and one potentially more significant one (assuming you agree w/ my assessment).
@@ -293,6 +293,7 @@ def _write_ms_antenna(self, filepath): | |||
ant_ref_frame = "ITRF" | |||
else: | |||
ant_ref_frame = self._telescope_location.frame.upper() | |||
# TODO: ask Karto what the best way is to put in the lunar ellipsoid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bhazelton -- note you may need to clean up some of the CI actions here related to Python 3.9 to get past the testing checks... |
e6d1990
to
858318d
Compare
drop testing against python 3.9 because it isn't supported by astropy 6 update various minimum dependencies to get a solvable environment.
remove outdated test
d9d8841
to
5f9f892
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good to me so far as well. My only comment is dropping python 3.8 and 3.9 is big and we might want a version to make a clean cut.
Description
Support for various lunar ellipsoids was recently added in lunar sky 0.2.2. This handles those changes and is required for pyuvsim moon simulations to work.
To keep track of this information, I added a new
lunar_ellipsoid
attribute to LocationParameter objects (similar to how we handled theframe
attribute) and I added handling to pipe it into and out of all the necessary utility functions.Note that lunar sky now requires astropy >= 6.0 so I updated that requirement, which lead to a bunch of other knock-on changes to our minimum dependencies. Most notably, astropy 6.0 doesn't support python 3.9, so I dropped it from our test suite.
Motivation and Context
Types of changes
Checklist:
New feature checklist: