Well no, Tom,
This tag gives "the lighting" of the moon: 100% = full moon, 0% = new moon.
So it goes from 0% to 0% (new moon) via 100% (full moon). It does not
indicate the age of the moon, since we do not know where we come from
and to what we are going.
I had the same idea: "#set $md = int (($almanac.moon_fullness / 3.45) +.5)"
PS: What is the difference between "$almanac.moon_fullness" and
"$almanac.moon.moon_fullness"?
An other idea ?
thank you,
Pascal
Le 30-03-21 à 11:05, Tom Keffer a écrit :
Could you use
#set $days=$almanac.moon.moon_fullness * .2953
<p>The moon is $days days old.</p>
.2953 is the length of the lunar cycle, divided by 100.
On Tue, Mar 30, 2021 at 1:41 AM P C <[email protected]
<mailto:[email protected]>> wrote:
Hello, again me ;)
I am looking for the tag of the age of the moon (in days) that
goes from New Moon in New Moon in 29 days. This means that the
full moon is between the 14th and the 15th day.
NB: Pyephem is installed
Thank you !
--
You received this message because you are subscribed to the Google
Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/1cfbff31-a41c-4da6-a12c-49b251e5f7e2n%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/1cfbff31-a41c-4da6-a12c-49b251e5f7e2n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to a topic in the
Google Groups "weewx-user" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/weewx-user/VCqOBb3Hhag/unsubscribe
<https://groups.google.com/d/topic/weewx-user/VCqOBb3Hhag/unsubscribe>.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/CAPq0zEADYLZQLTfzR30skH0yBvFDPEe3Zuw0w3vuwEGjmE5yMw%40mail.gmail.com
<https://groups.google.com/d/msgid/weewx-user/CAPq0zEADYLZQLTfzR30skH0yBvFDPEe3Zuw0w3vuwEGjmE5yMw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/dcabfd69-bdc8-abb9-7714-40ac79c8132b%40gmail.com.