Then sun starts the day deep east with very low radiation, almost zero. During the morning the radiation increases, and during afternoon decreases. In the evening it is almost zero again. So, what exactly is your definition of "min" regarding sun radiation?
The UV index is always zero during morning hours and evening hours. Values above zero start in the late morning, and they occur until late afternoon. In early morning and early evening the sun is too low to get an UV index. So, again, what exactly is your definition of "min" regarding UV index? You can look at the observation type "maxSolarRad". It is a calculated value, and it shows the maximum solar radiation possible at that time. Be aware, if clouds are involved, the real value can be more than the theoretical value for a short time. [email protected] schrieb am Samstag, 27. März 2021 um 23:59:58 UTC+1: > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/df994b2f-8ba2-4bcd-b1b2-44c7f7b7a0b0n%40googlegroups.com.
