I don't see anything improper about doing it the way you're doing it. It's not following the general architecture for Weewx, but if it works for you and you're learning, I think you should keep at it.
To make it look better, take a look at the tables that are already in this skin - either using the browser debugging tools are the template itself. You can add HTML coding to your output before you include it and to fix the formatting. I'm doing something similar with getting earthquake data from USGS onto my site. On Sun, Feb 9, 2020 at 8:42 AM Kevin Davis <[email protected]> wrote: > I'm not using Pyephem for calculating these, I'm using Skyfield and I have > written iss.py to build the data set. > > Sorry if I'm asking a remedial question. I'm still wrapping my head > around Python and OO programming. > > On Sun, Feb 9, 2020 at 8:35 AM Thomas Keffer <[email protected]> wrote: > >> See the section *Adding new bodies to the almanac >> <http://www.weewx.com/docs/customizing.htm#Adding_new_bodies_to_the_almanac>* >> in >> the Customizing Guide for instructions. >> >> On Sun, Feb 9, 2020 at 8:30 AM Kevin Davis <[email protected]> wrote: >> >>> Ok, I'm getting a little closer, but I'm struggling on how to >>> incorporate this directly into the weewx reporting system. >>> >>> I have written a Python program which builds(currently ugly) a data set >>> of ISS passes. I am buildiing a file called iss.inc, outisde of weewx >>> through a daily cron job, and simply doing a #include in index.html.tmpl >>> skin. >>> >>> What is the proper way to fold this into the normal reporting cycle? >>> >>> wx.ke7k.com >>> >>> On Saturday, February 1, 2020 at 4:21:29 PM UTC-8, Kevin Davis wrote: >>>> >>>> Has anybody played with adding upcoming sightings to there page? >>>> >>>> Adding it to pyehpem seems easy enough, just brainstorming a way to >>>> loop through to produce the next X number of sightings. >>>> >>>> >>>> -- >>> 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/fe750d4d-27ed-4c68-b7a2-f47e01436a11%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-user/fe750d4d-27ed-4c68-b7a2-f47e01436a11%40googlegroups.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/CAPq0zEBHiC%2B%2BxqQvkEyFL6Na_fmfibeh9uy6NFgweN6v148GMQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEBHiC%2B%2BxqQvkEyFL6Na_fmfibeh9uy6NFgweN6v148GMQ%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/CAHiQ_B3xbS%3D3N8Tmk70z-sgdOSdmW4v46oThRK4icAx5p6L1EA%40mail.gmail.com > <https://groups.google.com/d/msgid/weewx-user/CAHiQ_B3xbS%3D3N8Tmk70z-sgdOSdmW4v46oThRK4icAx5p6L1EA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Peter Quinn (415)794-2264 -- 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/CAA1SM2385UknXXpp-zXpGP1JpBuhadJieY3iKhb2pgO4DCjpDA%40mail.gmail.com.
