I can't think of anyway of doing this either with the existing tag system. Essentially, you're asking for a new iteration and aggregation period: 15 minutes.
If you know Python, you could try writing a search list extension <http://www.weewx.com/docs/customizing.htm#defining_new_tags>, but it would not be a simple one. You'd want it to allow something like #for $chunk in $chunk15 <p>The average temperature is: $chunk.outTemp</p> #end for where chunk15 is your extension. This is not easy, because it would have to return an iterator, as well as allow observation types as an attribute. Sorry! -tk On Sat, Feb 1, 2020 at 9:42 AM Hyrules Hyrules <[email protected]> wrote: > Hi everyone, > > I was wondering if there is an actual way of doing this in the cheetah > templating engine. > > I would like to get the following information in my file : > > - last 2 days of archive > - starting at midnight and 15 minutes > - in intervals of 15 minutes > - all through today closest to the quarter of the hour (eg if it's 12:47 > -> 12:45, 1:24 -> 1:15) > > I'm not sure if it's possible using the pre-existing $span or $day > variables. I`ve been trying some stuff apparently unsucessfully. > > Any input would be appreciated. > > Thanks. > > -- > 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/2a33be30-0298-4634-8064-429ff27c2101%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/2a33be30-0298-4634-8064-429ff27c2101%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/CAPq0zEAseDVW1oKb10S9mGWo2YggNoJzqSTeDuDhOKH5dLjzZw%40mail.gmail.com.
