Re: [weewx-user] Adding a new object in the ephem database

2019-01-20 Thread Thomas Keffer
This is the error I got before modifying almanac.py. Make sure you're using the version of almanac.py you think you are. I've attached the patched version I'm using. -tk On Sun, Jan 20, 2019 at 9:29 AM Paul Bartholdi wrote: > Dear Thommas, > > Once more you impressed me a lot, such quick and

Re: [weewx-user] Adding a new object in the ephem database

2019-01-20 Thread Paul Bartholdi
Dear Thommas, Once more you impressed me a lot, such quick and well formed answer. Thanks. Now I am afraid to say that there is still a buf, probably a typo or some thing like that. I checked "my" additions in "extensions.py" and "almanac.py" (and of course in "index.html.tmpl"), and believe

Re: [weewx-user] Adding a new object in the ephem database

2019-01-19 Thread gjr80
This will be handy provided it works, I have had a few extra stars that I wanted to include in some reports. Some I have picked up by downloading the latest stars.py from the pyephem repo but there are others that are not included in pyephem. This gives me a suitable way to add them. Gary On

Re: [weewx-user] Adding a new object in the ephem database

2019-01-19 Thread Thomas Keffer
This is a good question, and it took me a while to figure out how to work around the limitations of pyephem. Try this: 1. Put the following in user/extensions.py: import ephem eros = ephem.readdb("433

[weewx-user] Adding a new object in the ephem database

2019-01-19 Thread Paul Bartholdi
Hi, I nodified a few years ago the "Standard/index.html.tmpl" to print the main solar systems objects (sun, moon, Jupiter...). Now I want to pint the same informations but for the minor planet Eros that pass very (very relative!) the earth in the few next days. This implies adding the python