-
Notifications
You must be signed in to change notification settings - Fork 101
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
local testing error in test_new_observatories.py #1304
Comments
Ah this is happening because the test assumes if your $TEMPO2 is set then that's where it finds a specific version of the MeerKAT clock corrections. (Incidentally the test's use of I haven't actually done a direct comparison of the observatory-provided clock corrections with what is in the TEMPO2 repository yet; the repository provides both, appropriately labelled. This test is failing because PR #1302 switched to using the observatory clock corrections. When I have time I'll take a closer look and see if I can turn this test into one that produces diagnosable failures. But resolving the difference between MeerKAT clock files may require a response from Ryan Shannon. |
I think the actual problem is that the test assumes you are using mk2utc.clk but PR #1302 makes PINT use mk2observatory.clk, which is slightly different. The test will not get run if you don't have TEMPO2 set, so you won't see this issue, but it is not related to the clk files in the TEMPO2 repo. |
These tests that check for a specific numerical value, it's often very difficult to figure out what it is supposed to be testing. But yes, in this case, the problem (?) is the difference between the official observatory-released clock corrections and the clock corrections in the TEMPO2 repository. |
This is with latest numpy, scipy, astropy, and python 3.10.4 and with the new tagged v 0.9.0:
The text was updated successfully, but these errors were encountered: