Re: [weewx-user] Re: Generating files less often

2017-12-02 Thread gjr80
As an aside (I think) the report_timing option should be able to be applied to both image generator plots and cheetah generated reports as the report_timing option is applied in the report engine not the cheetah or image generators as stale_age is. Gary On Saturday, 2 December 2017 20:34:28 UT

Re: [weewx-user] Re: Generating files less often

2017-12-02 Thread Thomas Keffer
Your solution looks like a sensible one. ​Unfortunately, Matthew, Gary, and I are all traveling, so we have no way of testing this. However, to make sure it does not get forgotten, I've started issue #290 . Thanks for your contribution! -tk​ On Fri, Dec

[weewx-user] Re: Generating files less often

2017-12-01 Thread John Smith
I wanted to create a yesterday report similar to the today report, which worked ok, but it kept generating images even though I had stale_age for the report. I fixed this by adopting the stale_age code from cheetahgenerator.py and putting in a slightly modifies imagegenerator.py I've no idea ho

[weewx-user] Re: Generating files less often

2017-11-29 Thread gjr80
On Thursday, 30 November 2017 13:21:21 UTC+10, Andrew Milner wrote: > > They are generated from the summary data so should not really be taking a > couple of minutes each archive interval. > > Not wanting to be pedantic but all plots generated using the weeWX image generator use the archive not

[weewx-user] Re: Generating files less often

2017-11-29 Thread John Smith
On Thursday, November 30, 2017 at 2:21:21 PM UTC+11, Andrew Milner wrote: > > The yearly plots are only generated once a day anyway, and I think the > monthly plots are every 3 hours. They are generated from the summary data > so should not really be taking a couple of minutes each archive int

[weewx-user] Re: Generating files less often

2017-11-29 Thread Andrew Milner
The yearly plots are only generated once a day anyway, and I think the monthly plots are every 3 hours. They are generated from the summary data so should not really be taking a couple of minutes each archive interval. What skin are you using, on what kind of computer? I suspect something el

[weewx-user] Re: Generating files less often

2017-11-29 Thread John Smith
On Thursday, November 30, 2017 at 12:00:54 PM UTC+11, gjr80 wrote: > > Hi, > > There are two options that may do what you want. The stale_age option > let's you specify an 'age' after which a report is considered stale and it > is regenerated. The stale_age option is covered here >

Re: [weewx-user] Re: Generating files less often

2017-11-29 Thread Thomas Keffer
Oops. Forgot about option stale_age! Thanks, Gary. -tk On Wed, Nov 29, 2017 at 7:00 PM, gjr80 wrote: > Hi, > > There are two options that may do what you want. The stale_age option > let's you specify an 'age' after which a report is considered stale and it > is regenerated. The stale_age optio

[weewx-user] Re: Generating files less often

2017-11-29 Thread gjr80
Hi, There are two options that may do what you want. The stale_age option let's you specify an 'age' after which a report is considered stale and it is regenerated. The stale_age option is covered here in the Customization Guide.