Replies: 1 comment
-
First, thanks for following up with the solution you wound up going with! Second, I have not in the past couple of months had time to sit down and really dwell on the question about whether there should be a more convenient way to refract the whole position, instead of getting back three separate coordinates (alt,az,distance) and then having to re-submit them to I'll keep thinking about whether a |
Beta Was this translation helpful? Give feedback.
-
I'm looking for a clean way to include refraction when calculating separation_from between Apparent position vectors.
Perhaps an optional "temperature" argument passed to separation_from ?
Or a "refract" method in Apparent that returns a refracted position vector, then :
lunardist = apparent0.refract("standard").separation_from(apparent1.refract("standard"))
FYI, this comes about when calculating "lunar distances" in celestial navigation.
Some gory details : I posted some skyfield code : http://fer3.com/arc/m2.aspx/Lunar-distance-calculations-Harris-mar-2022-g52292
... and Bill (who wrote the "Astron" celestial nav page) followed up with some test cases and fixes : https://pastebin.com/Rqb1YBsJ
Discuss ...
Beta Was this translation helpful? Give feedback.
All reactions