Is it possible to get hourly averages over a period of time with Flux?

I posted a possible solution here