Rising and Setting of the center of a body #1042
-
Is there an easy way to calculate the rising and setting (or crossing some angle below the horizon) of the center of a body instead of its upper limb? There is such a function in PyEphem, but I do not find it here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yes! Provide a parameter https://rhodesmill.org/skyfield/almanac.html#computing-your-own-refraction-angle If that solution works for you, I suppose I'll have to re-word that section of the docs to make clearer that |
Beta Was this translation helpful? Give feedback.
You are right, it is entirely focused on temperature and pressure.
I might have created a misunderstanding. Neither
find_risings()
norfind_settings()
ever knows whether you have called therefraction()
routine. They only know whether you have decided to provide ahorizon_degrees
parameter or not.So it sounds like I should update the documentation to explain that if you don't provide
horizon_degrees
, then Skyfield itself uses a standard amount of atmospheric refraction, plus it tries to add in the radius if…