Elevation and Apparent Position #648
Unanswered
BluesummersC
asked this question in
Q&A
Replies: 1 comment 7 replies
-
(Alas, this question arrived when I was out of town, and it looks like no other contributors answered it. It might now be too late for your project, but here's my try at an answer:)
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been using skyfield to track the Apparent Position of the Sun from a specific lat, long, elevation on Earth. My goal is to track when the sun goes x degrees below the horizon from the view of high elevation.
My confusion is how elevation is used in the calculation, because what I'm seeing from Skyfield does not match what I think I should see.
At Sea Level, the Apparent Elevation is perfect, and I can easily verify with other 3rd party tools, such as NOAA's sun position calculator.
However, at a high elevation, such as 4km, the Apparent Elevation does not match what I'm seeing. Using skyfield.api.Topos(lat, long, elevation_m), going from 0m to 4000m barely affects the Apparent Elevation of the Sun at all (-2.003456 vs -2.003487), but in reality, standing at 4000m, the Sun takes about 10 more minutes to set, so I'd expect the Apparent Elevation to be a higher value at a higher geographical elevation.
Is my understanding of this flawed? If so, how can I get the Sun's Apparent Elevation at high altitudes?
for reference, my simple code:
Beta Was this translation helpful? Give feedback.
All reactions