Local Time and Latitude #1119
-
|
It is said that local time depends on longitude only. But if I calculate the hour angle of the sun for the same timestamp and longitude at different altitudes, I get different results. The following table shows the difference of the value at the given latitude to the value at latitude 0.0°.
You see, the hour angle increases with latitude. The script is: #!/usr/bin/python3
from skyfield.api import N, S, E, W, Loader, wgs84
import numpy
load = Loader('.',verbose=False)
ts = load.timescale(builtin=False)
eph = load('de440.bsp')
sun = eph['sun']
lat = numpy.arange(0,91,5)
lon = 0
t = ts.utc(2026,2,11,9)
observer = eph['Earth'] + wgs84.latlon(lat[0],lon)
ha0, _, _ = observer.at(t).observe(sun).apparent().hadec()
print('latitude | hour angle difference')
print('---------|------------')
for l in lat:
observer = eph['Earth'] + wgs84.latlon(l,lon)
ha, _, _ = observer.at(t).observe(sun).apparent().hadec()
diff = ha.hours-ha0.hours
print('%8.1f | %11.8f' % (l,diff))Do you know why? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Alas, you must have gotten bad information. Can you track down the reference that made that claim? If Skyfield's documentation says that somewhere, I'll be sure to get it corrected! Local time also depends on latitude, because as you travel up the curve of the earth, each location you visit is looking at the Sun from a slightly different position in space, and so sees the Sun against slightly different stars. We can estimate how big the effect would be on the Sun's position of moving from the equator to the poles by adding this to the bottom of your script: The output: So the Sun is shifted against the background of stars by around the same amount that you are seeing as a difference in HA. There are other tiny effects at work, like the fact that locations at the pole travel at a different velocity that locations at the equator, thus changing the aberration of light slightly. But the fact that the Sun is at a different location in the sky is the biggest factor. You can also confirm the effect by moving your positions underground, down most of the way to the Earth's center, where the positions will be very close together, by providing a negative number for That will drive your "hour angle difference" most of the way to zero. Let me know if there's anywhere Skyfield's documentation needs to be fixed to agree with this. |
Beta Was this translation helpful? Give feedback.
Alas, you must have gotten bad information. Can you track down the reference that made that claim? If Skyfield's documentation says that somewhere, I'll be sure to get it corrected!
Local time also depends on latitude, because as you travel up the curve of the earth, each location you visit is looking at the Sun from a slightly different position in space, and so sees the Sun against slightly different stars. We can estimate how big the effect would be on the Sun's position of moving from the equator to the poles by adding this to the bottom of your script: