Included as commit 16e0c5d <https://github.com/weewx/weewx/commit/16e0c5d913bd6cf5ac3df36a1c3aea57e63fdee2> .
-tk On Tue, Jan 23, 2018 at 5:57 PM, Thomas Keffer <[email protected]> wrote: > It was such an easy extension, I'd say yes. Thanks for "testing" it! > > -tk > > On Tue, Jan 23, 2018 at 3:07 PM, Paul Bartholdi <[email protected]> > wrote: > >> Thank you very much Thomas, as usual it works immediately! >> Will the "new" alamanac.py be part of the next version? >> Regards, Paul >> >> On 23 January 2018 at 20:14, Thomas Keffer <[email protected]> wrote: >> >>> Separation is not supported in v3.8, but it would not be hard to add. >>> Try the attached version of almanac.py >>> >>> -tk >>> >>> On Tue, Jan 23, 2018 at 11:26 AM, Paul Bartholdi < >>> [email protected]> wrote: >>> >>>> Hello, >>>> >>>> I would like to add in the "almanac" part of the main weewx page the >>>> distance on the sky between planets, as between Mars and Jupiter these >>>> days. I know how to use "IF...THEN" to select only the interesting ones. >>>> >>>> I know more or less how to play with almanac and ephem (see my page " >>>> http://shire-bdi.gotdns.com/weewx"), though I have very little >>>> experience with python. >>>> I am aware in ephem of the "separation" on the sky between two >>>> celestial bodies, but have not been able to got anything working. >>>> >>>> I tried something like >>>> >>>> #set $dvm = $almanac.separation(($almanac.venus.alt,$ >>>> almanac.venus.az), ($almanac.mars.alt,$almanac.mars.az)) >>>> >>>> but all attempts have been rejected because it uses 3 (!) parameters >>>> which is not supported. >>>> >>>> Most probably I started in the wrong direction. Could you put me back >>>> on the right rails? >>>> >>>> Thank you very much in advance, Paul >>>> >>>> -- >>>> 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]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> 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/to >>> pic/weewx-user/_G26k2zKxuM/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> 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]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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]. For more options, visit https://groups.google.com/d/optout.
