Best thread on this list in quite a while, thank you so much, both Jean and
Eric.
I’m interested to see any info you could provide on the decision-making and
resulting mplementation!
Thank You,
Troy
> On Jun 20, 2020, at 11:27 PM, Eric Jensen wrote:
>
> Hi Jean,
>
> As an astronomer,
Hi Jean,
As an astronomer, this message caught my eye, so I thought I’d make a few
comments. Before I do, I want to say that (a) I appreciate people working on
astronomical code, which can be tricky, and (b) my goal here is to be helpful
rather than annoyingly pedantic. If I appear to fail
> PPS - I generally use the U. S. Naval Observatory for the reference value
> for this sort of thing. It's more "official" than Stellarium, but that's
> not the same thing as authoritative. - TW
>
USNO is the official authority for such in the US. Only the Greenwich
Observatory might be
PS - Are you testing your sunrise predictions throughout the year?
The actual solar day (the time from noon to noon) changes throughout the year.
The Mean Solar Day (24 hours) is just the average. The relation between these
is something called the Equation of Time. If it were me, I would test
What if you implemented it as 'spin' or 'hour' or 'spin_hour' or
whatever, as a number and (optionally) exported constants to signify the
algorithm? That means users could either provide their own number, or
could use one of the provided.
I don't write much perl any more so forgive me if I
Just to throw a monkey wrench into the works, they could also be 'sidereal' and
'solar' (or mean solar), since 15 degrees is the rotation of the earth in one
mean solar hour, and 15.04... is the rotation of the Earth in one sidereal
hour. The terminology and length of a sidereal day are from
Following the creation of RT ticket
https://rt.cpan.org/Public/Bug/Display.html?id=132336
I have decided to implement the proper precise algorithm in
DateTime::Event::Sunrise (already implemented in Astro::Sunrise) and
to check the values with NOAA's solar calculator and with Stellarium.
After I