WIP: incorporate inpop ephemeris - #2021
Conversation
|
Right now some of the CI is failing for reasons unrelated to the actual PR: |
|
Here is an update where I refit the model (RA, Dec, F0, F1): So this is plausible, but I would have expected more of a change in the position and less in the spin params (e.g., based on https://arxiv.org/pdf/2304.14677) but I haven't done a deep dive yet. |
|
The separation between the fitted positions is 240 uas in RA, 280 uas in Dec. Those are plausible given Figure 4 in the Liu paper above. |
|
Note that I have a new standalone INPOP implementation that will avoid the CI errors above (and lead to some speed improvements). But I am waiting to see which is better to use. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2021 +/- ##
==========================================
+ Coverage 70.43% 70.47% +0.03%
==========================================
Files 109 109
Lines 25750 25994 +244
Branches 4110 4149 +39
==========================================
+ Hits 18136 18318 +182
- Misses 6446 6485 +39
- Partials 1168 1191 +23 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|


#784
This uses an external package to handle the inpop data (https://github.com/marcelhesselberth/Inpop/tree/main). It has some peculiarities: it is not vectorized, and it has strict handling of the file names. So we have to loop over the input data and do something sort of kludgy to use the astropy caching (we cache the file and then set up a tempfile symlink with the right extension, which goes away).
This works, although I am not fully convinced that it is correct. In particular I see position differences of up to 100km for the Earth-SSB, or ~1us for a test pulsar in residual differences.


(I repeated this for different JPL versions and they are all similar).
So is this just the expected level of ephemeris difference? Or is there an error in the time handling or units or ...?