mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-01-15 02:49:54 -05:00
I realized I had to rework the RiseSetEx function so that it accepts a height above ground level, rather than a generic altitude angle correction, because atmospheric effects are important both for the horizon dip angle and for the amount of refraction at ground level. The atmosphere calculations were interesting enough that I made them public as a new function Astronomy_Atmosphere. This returns the idealized temperature, pressure, and relative density of air at the given elevation above/below sea level.
10 lines
704 B
Plaintext
10 lines
704 B
Plaintext
# Data from online calculator: https://www.largeformatphotography.info/sunmooncalc/
|
|
# date lat lon ht_m el_m srise sset mrise mset dip
|
|
2023-03-04 +40.0 -95.0 0 0 12:49 00:14 21:31 11:50 0.0
|
|
2023-03-04 +40.0 -95.0 8000 0 12:51 00:12 21:33 11:48 0.0
|
|
2023-03-04 +40.0 -95.0 8000 4000 12:39 00:24 21:19 12:02 -2.1563765887398443
|
|
2023-03-04 +40.0 -95.0 8000 8000 12:33 00:30 21:12 12:09 -3.0991103838766323
|
|
2023-07-12 +15.0 +70.0 8000 0 00:58 13:53 21:03 09:20 0.0
|
|
2023-07-12 +15.0 +70.0 8000 2500 00:50 14:01 20:55 09:28 -1.6947555181902878
|
|
2023-07-12 +15.0 +70.0 8000 6500 00:45 14:06 20:49 09:34 -2.7740982150851714
|