Just run wee_reports manually, specifying the date to be used for 'current', to generate the required historic monthly and/or yearly plots, and then combine with the cron approach to avoid having to manually create them again in the future - and work on the selection/display options instead!!
On Monday, 21 August 2017 12:35:40 UTC+3, Tomáš Filo wrote: > Thanks for answer, this method with cron sounds great but unfortunately I > have data since mid of 2014 and I will somehow need to regenerate this > plots too. But I will try. I did myself some version of plots in html NOAA > reports some time ago. I used this kind of code: > > var > minTemp = [ > #set $sep = '' > #for $day in $month.days > ${sep}[$day.dateTime.raw, $day.outTemp.min.raw] > #set $sep = ',' > #end for > ], > maxTemp = [ > #set $sep = '' > #for $day in $month.days > ${sep}[$day.dateTime.raw, $day.outTemp.max.raw] > #set $sep = ',' > #end for > ] > > to get values in expected interval into javascript array and then I could > plot it with js library. But It looks differend from plots generated by > weewx and is not so accurate so I wanted to make it looks same. So I was > hopping there is some way to generate plots for all months in history. > > > > S pozdravom Tomáš Filo > tfi...@gmail.com <javascript:> > > 2017-08-21 11:21 GMT+02:00 Andrew Milner <andrew.s...@gmail.com > <javascript:>>: > >> 1. If you have a cron task to copy/rename the monthly plots once per >> month then you will build up a collection of monthly plots >> 2. If you have a cron task to copy/rename the yearly plots once per year >> then you will build up a collection of yearly plots >> 3. If you try and plot many years worth of data in a single plot the >> chances are that it will be a meaningless graph lacking detail and likely >> to be missing highs and lows >> 4. You can create something similar to the NOAA selection button to >> display the appropriate plots - you will need the user to select month or >> year and reading type to be displayed. >> >> But yes, it can be done, I guess - have fun!! >> >> >> On Monday, 21 August 2017 12:13:03 UTC+3, Tomáš Filo wrote: >> >>> I want to create plots/graphs for every month in same way like there >>> are plots for last 30 days. So as you can see plot for last 30 days and for >>> last year, you can see plots for every month in history and for every year >>> in history too. >>> >> -- >> 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/topic/weewx-user/eIsjC3K5o90/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> weewx-user+...@googlegroups.com <javascript:>. >> 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.