in reply to moon illumination and eclipses

Super cool. Related: Astro::MoonPhase. I have been using an alias/command with it for ages

moo@cow[6]~>which moon aliased to perl -MAstro::MoonPhase -e "printf qq{The Moon is %.3f%% fu +ll\n},100*(phase)[1]" moo@cow[9]~>moon The Moon is 1.109% full

Counting down to zero for tomorrow. :P

Replies are listed 'Best First'.
Re^2: moon illumination and eclipses
by no_slogan (Deacon) on Aug 20, 2017 at 21:13 UTC
    I should maybe point out that Astro::MoonPhase computes an idealized illumination that's exactly 1 at the full moon. That's not exactly accurate, which is where the connection with eclipses comes in.