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.

Reply via email to