If you say so. I don't remember this.
On Thu, Jul 27, 2023 at 5:25 AM enu...@gmail.com wrote:
> no, it's from a solution you gave me here. An extension of historical_avg
> to the hour level, the query is on the first message, but that's not what's
> important. The bottom line is that if I use $d
no, it's from a solution you gave me here. An extension of historical_avg
to the hour level, the query is on the first message, but that's not what's
important. The bottom line is that if I use $day.historical_hour_avg it
works with the time 0:00 but if I use $current to get the current time it
I'm confused. The key "historical_hour_avg" is not in weewx-xaggs. It can
only do full days, not hours.
Is this something you wrote?
On Wed, Jul 26, 2023 at 6:15 AM enu...@gmail.com wrote:
> I have in xagss thanks to Tom Keller who was the one who did the following:
>
> 'historical_hour_avg':
I have in xagss thanks to Tom Keller who was the one who did the following:
'historical_hour_avg': "SELECT avg({obs_type}) FROM {table} "
"WHERE STRFTIME('%m-%d-%H', datetime,
'unixepoch', 'localtime') "
"= '{month:02d}-{day: