Closed dmd closed 5 years ago
Someone (maybe even me) should correct forecast.io's sunrise/sunset times for local atmospheric pressure.
I confirmed with forecast.io that they do not do this correction.
Code to do it is in GNU Gcal, rc-astro.c, function atmospheric_refraction(altitude, pressure, temperature).
rc-astro.c
atmospheric_refraction(altitude, pressure, temperature)
Failing to do this means the time of sunset/sunrise can be wrong by several seconds!
Did you ever do anything with this?
No and I'm not going to.
Someone (maybe even me) should correct forecast.io's sunrise/sunset times for local atmospheric pressure.
I confirmed with forecast.io that they do not do this correction.
Code to do it is in GNU Gcal,
rc-astro.c
, functionatmospheric_refraction(altitude, pressure, temperature)
.