Why not just use the $hour tag?

#for $record in $hour.records
...
#end for


-tk

On Sun, Sep 6, 2020 at 11:31 PM Martin Madara <mmad...@gmail.com> wrote:

> Hi folks,
>
> hope you are all doing well.  I'm using below template for FTP upload, but
> its giving me each time records for whole day. Is it possible to adjust
> below template to give me records let's say for last hour only?
>
>
> #for $record in $day.records
>
> $record.dateTime--$record.windDir.format(add_label=False)--$record.windSpeed.format(add_label=False)--$record.windGust.format(add_label=False)--$record.outHumidity.format(add_label=False)--$record.outTemp.format(add_label=False)--$record.inTemp.format(add_label=False)
> #end for
>
> Appreciate your help on this!
> Martin
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/8558dd50-ab8e-48f7-ad6a-89b6507378e4n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/8558dd50-ab8e-48f7-ad6a-89b6507378e4n%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEAR2pxuDSt-UG%3DyKWBYRRcMve0vjnmkMP8mj5UZM30WqQ%40mail.gmail.com.

Reply via email to