I am trying to get the apparent magnitude of the Sun at various locations on Earth using PyEphem. When I change different locations on Earth or even change the time the apparent magnitude of the Sun remains the same. This doesn't make any sense because I changed one of the times to night. What's wrong here?
I believe mag is the right function for me. If not, do you know how I could do this: get the apparent magnitude or illuminance of the Sun at various spots of Earth at varying times?
>>> gatech = ephem.Observer()
>>> gatech.lon = '-84.39733'
>>> gatech.lat = '33.775867'
>>> gatech.elevation = 320
>>> gatech.date = '2017/6/19 16:22:56' #Changing the time here does nothing.
>>> v = ephemeral.Sun(gatech)
>>> print(v.mag)