Closed kiranshila closed 1 month ago
Right, you cannot construct a high-precision frame without having positions for the massive planets, around which gravitational bending cannot be ignored in general, if you want μas precision. But, you can still construct reduced precision frames with mas precision without those planets. And that should work.
Basically, there are limited number of high-precision calculations that you can do without having a proper ephemeris plugin... For v1.2 (expected Feb 2025), I'm thinking of implementing a CALCEPH
plugin to make it easier to deal with ephemeris files, and point to a suitable JPL ephemeris data that one can use it with to get major planet positions for high-precision calculations. For the Linux packages, I can even package the ephemeris data separately, unless someone already provides packages for those...
I'll transfer this to discussion, since it's not really an issue. It's just an inconvenient feature.
Ok sounds good! This is for radio, and we only need arcmin pointing anyway haha. I see in the docs for novas_make_frame
this is mentioned, but it didn't connect for me that the default solsys3
epehem won't work for full accuracy,
You'll probably want to observe planets, moons, asteroids, and comets with DSA-2000, and you'll inevitable have to have an ephemeris provider. And once you have that, you can integrate it with SuperNOVAS, and you'll have all the high-precision features unlocked....
So, I'm trying to follow the readme on getting az/el for a sidereal source with the new methods and am running into some issues.
I'm trying
But
novas_make_frame
fails due to a call in planetary ephemeris.If I'm understanding this correctly - with all the default Makefile options, linking against
solsys3
- there is no "high performance" planet model, so that's why we get this error. Switching the accuracy toNOVAS_REDUCED_ACCURACY
results in numbers that look about right (although I was going to cross check with SLALIB or something). But this means all the other calculations are in reduced accuracy, not just the planet ephemeris stuff. I will only ever point at sidereal objects, so I wish I could elid all the planet stuff, to be honest.Trying one other thing, letting the "lower performance" solsys stuff take the place of the
_hp
routine withresults in some other error
Which I suppose all points to the fact that
solsys3
doesn't seem by default compatible with thenovas_make_frame
infrastructure, but I'm not sure how those errors didn't pop up in the reduced accuracy version.