The answer is that they use slightly different data sets.

$span(time_delta=604800).radiation.max looks through the archive records,
typically spaced every 5 minutes apart, and finds the highest value for
radiation for the last 7 days. Each of those archive records is an average
value seen over the 5 minutes it represents.

$week.radiation.max runs from midnight at the beginning of the week to the
present time, so it can use the daily summaries. These have recorded the
highest value seen for the week, *including LOOP packets*. So if there was
a momentary high value that lasted for only a second, this tag will find it.

If it bugs you that there is a difference, you can set option *loop_hilo*
(under [StdArchive]) to false, and LOOP packet values will no longer be
used for the daily highs and lows.

Hope that helps.

-tk

On Thu, May 21, 2026 at 3:42 AM MaKi68 <[email protected]> wrote:

> Hello,
>
> Is it true that $span(time_delta=604800).radiation.max shows me the
> highest radiation of the last 7 day and $week.radiation.max the highest
> radiation of the current week (for me since monday).
> If that's the case, why can $week.radiation.max (eg. 1146 W/m²) be higher
> than $span(time_delta=604800).radiation.max (eg. 1092 W/m²)?
>
> Thank you so much for your support.
>
> Kind regards
> Manfred
>
>
>
> --
> 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 visit
> https://groups.google.com/d/msgid/weewx-user/058c1365-781b-4e0e-ae46-f0933f0f43dan%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/058c1365-781b-4e0e-ae46-f0933f0f43dan%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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEA2JYfHLZzJoDtNZBT39nKpgmN_MVXCU1AQq20MUZ3qqQ%40mail.gmail.com.

Reply via email to