Hi Ian,
Thanks for the kind words!
Good news: it's already there.
$almanac.moon.parallactic_angle works today (since 1.0), returning radians as
PyEphem did.
For degrees:
#import math
$("%.1f°" % math.degrees($almanac.moon.parallactic_angle))
Example:
#import math
...
<p>Moon parallactic angle: $("%.1f°" %
math.degrees($almanac.moon.parallactic_angle))</p>
It works for any body, not just the moon.
Note: I could make $almanac.moon.parallactic_angle.degrees work (rather than
having to concrete it). I return radians for PyEphem compatability; but I
could keep that and still support the .degrees. I’ll probably do that in the
next release.
Cheers,
John
> On Jul 29, 2026, at 12:06 PM, Ian <[email protected]> wrote:
>
> John,
>
> This is really tremendous stuff. I wondered is there any chance that you
> could add a tag for moon's parallactic angle.
> Crongratulations and thank you
>
> Ian
--
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 visit
https://groups.google.com/d/msgid/weewx-user/01B554ED-B857-4B6E-BE17-3EBD445D1E02%40johnkline.com.