Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: moon illumination and eclipses

by Your Mother (Bishop)
on Aug 20, 2017 at 20:40 UTC ( #1197714=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1197714]
help
Chatterbox?
and the fire pops...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2018-07-18 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (393 votes). Check out past polls.

    Notices?