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
ENH: include exclusive values from IERS_B in IERS_Auto (⏰ wait for #16187) #16070
base: main
Are you sure you want to change the base?
ENH: include exclusive values from IERS_B in IERS_Auto (⏰ wait for #16187) #16070
Conversation
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
👋 Thank you for your draft pull request! Do you know that you can use |
Relevant tests need |
Not really, |
@@ -319,7 +320,7 @@ def test_no_auto_download(self): | |||
def test_simple(self): | |||
with iers.conf.set_temp("iers_auto_url", self.iers_a_url_1): | |||
dat = iers.IERS_Auto.open() | |||
assert dat["MJD"][0] == 57359.0 * u.d | |||
assert dat["MJD"][0] == 37665.0 * u.d |
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.
This change seems very drastic.
Thanks for clarifying this @pllim !
and just to make sure everyone is on the same page: as of now, the tests I've updated are failing locally, which is part of what I wanted to showcase with this draft. So, indeed, we need devdeps fixed first, but it's still going to fail (or so I hope !) here after that :) |
@neutrinoceros - I've touched this code before but I'm hoping to avoid so going forward. (I struggle enough keeping up with time/table/io.ascii!). If @mhvk doesn't pipe in I can have a look. |
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.
This looks good to me! I haven't quite got the time to check locally, but obviously would be good to see what goes wrong.
@pllim's comment about the change in starting MJD made me wonder whether we really need to always make the table about 7 times larger; maybe it should be more on-demand? But probably best just to focus on the fix here, and perhaps have a different issue about trying to ensure the table is not super large (if it matters?).
For now I'll just rebase so we all have access to logs showing the remaining problems. |
e0625df
to
0e7073a
Compare
Hmm I don't understand the masked array failures in devdeps/remote-data job and in RTD. |
I'm willing to bet they are related, I'll take another look in the morning. |
0e7073a
to
7b05c18
Compare
(I never said which morning 🙈) |
I could fix my branch to pass tests from |
8cd84bf
to
9844cc2
Compare
rebased onto #16120 to confirm that it unblocks this PR |
Status update: this is blocked by |
9844cc2
to
4f12f90
Compare
4f12f90
to
b3ebcfb
Compare
I've been scratching my head for a couple hours over this one and I'm starting to feel that maybe I shot myself in the face by using |
I was about to review this PR, but will wait till you say it is ready. I think a manual merge may indeed be better, since ideally we do not have masked columns at all - they'd make things slower and might cause other results to become |
b3ebcfb
to
80efe7f
Compare
status update: I consider this "blocked" by #16187, in the sense that the other PR is making the logic more consistent and easier to reason about, so I'd rather see it merged first so I have a better chance at finishing this one more easily. |
Description
This adresses the non-controversial part of #13494
I haven't quite figured it out yet (I have at least two remaining failures), but I want to open this as a draft now in the hope I can get early feedback (maybe I've taken a wrong turn already). In particular, I'd like to ask @mhvk and @taldcroft if the tests changes correctly reflect their vision for #13494.