Louis,

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 Sun, Nov 20, 2016 at 5:32 PM, Thomas Keffer <[email protected]> wrote:

> See issue #182 <https://github.com/weewx/weewx/issues/182>.
>
> -tk
>
> On Sun, Nov 20, 2016 at 9:20 AM, Louis De Lange <[email protected]>
> wrote:
>
>> I am trying to develop a template that will write every archive period
>> data (in specific format) on a single line and repeat for all archive
>> periods in current day.
>>
>> After lots of reading and looking at existing templates it looks like
>> iteration as done in the NOAA templates is the right way to tackle it.  But
>> according to the customization guide the shortest iteration tag is .hours.
>>
>> Any pointers how to iterate through each archive record in the current
>> day?
>>
>>
>
>

Reply via email to