ImageGenerator to generate historical plots (not actual, week, month, year, but every month, every year)

78 views
Skip to first unread message

Tomáš Filo

unread,
May 6, 2020, 11:17:18 AM5/6/20
to weewx-user
Hello, Is it possible to force ImageGenerator to generate images not for only last day, week, month, year but for every month and year. I use instead of text NOAA html templates. And I would like to display plosts for every month and year possible. 

Now I have daytempdew.png, monthtempdew.png but I want to generate 2019-01-tempdew.png, 2019-02-tempdew.png etc.

Thank you.


Andrea

unread,
May 6, 2020, 11:36:03 AM5/6/20
to weewx-user
I have implemented report for an year before or the month of the year before. Probably it can be simple adjust to have what you ask.

Tomáš Filo

unread,
May 6, 2020, 12:14:55 PM5/6/20
to weewx-user
Thank's for replay, where cat I find this implementation ?

Dňa streda, 6. mája 2020 17:36:03 UTC+2 Andrea napísal(a):

Tomáš Filo

unread,
May 6, 2020, 1:49:44 PM5/6/20
to weewx-user
And i would by nice to have this feature as part of ImageGenerator. Configurable from skin. For now when I want to generate images for historical records I use "wee_reports weewx.conf timestamp" and custom weewx.conf and skin to generate just  hostorical plots. It works but it is workaround.

Dňa streda, 6. mája 2020 18:14:55 UTC+2 Tomáš Filo napísal(a):

Andrea

unread,
May 6, 2020, 4:41:56 PM5/6/20
to weewx-user
try this.
You have to put skin.conf in your images directory.
In imagegenerator you can find the code as "by Andrea" related to previous year and previous month of the year before. If you are able to modified the code you can get what you want.

Here is the webpage with the previous year graph.

bye
Andrea
skin.conf
imagegenerator.py
Reply all
Reply to author
Forward
0 new messages