Pier,

I have added the ability to iterate over every record within a time period.
So, now you can do things like

#for $_record in $day.records
<p>At time $_record.dateTime, the temperature was $_record.outTemp</p>
#end for

This will appear in the next version of weewx. If you want it sooner, you
can download the current code base from the repository:
https://github.com/weewx/weewx/archive/master.zip However, it will be
difficult to install unless you are using the setup.py installation method.

-tk



On Tue, Nov 15, 2016 at 9:10 AM, Thomas Keffer <[email protected]> wrote:

> On Tue, Nov 15, 2016 at 9:06 AM, Pier Francesco Costa <
> [email protected]> wrote:
>
>> Thanks, I will try to use the SLE tools.
>> I have read the documentation for the implmementation of the seven_day
>> tag, so I can make a new tag like "24_hour".
>> As an example, where is the .hours implementation, so i can make a
>> .records tag that iterate over each record?
>>
>
> ​https://github.com/weewx/weewx/blob/master/bin/weewx/tags.py#L190
>
> -tk​
>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to