I want to be able to find the min/max/avg value for various weather 
observations (uv index for example) but only during the time when the sun 
is up. I am struggling to write a custom search item for that and wonder 
who could get it started for me or lead me in a good direction.

If it is before sunrise for the day, the min/max/avg would all be null or 
undefined or none... something like that.
If it is after sunrise but before sunset, the min/max/avg would be 
calculated from sunrise to current time.
If it is after both sunrise and sunset, the min/max/avg would be calculated 
for times between the sunrise and sunset times only.

Is it possible?

Any thoughts or help would be appreciated. I'm not a real adept Python 
programmer.


-- 
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/3686b446-573e-4170-ae10-2160a0471234n%40googlegroups.com.

Reply via email to