There are 3 problems in the next line: - $dayradiation is already raw, so another raw is too much. - $dayradiationacc is not initialized for the first loop - $dayradiationacc is already raw, so another raw is too much for the following loops
rory.g...@googlemail.com schrieb am Donnerstag, 26. Januar 2023 um 18:08:23 UTC+1: > Thanks! That’s moved the error down a line so I’m moving in the right > direction. I can’t seem to iterate through the for loop to add each day’s > average radiation. > > On 26 Jan 2023, at 12:59, Karen K <kk44...@gmail.com> wrote: > > rory.g...@googlemail.com schrieb am Mittwoch, 25. Januar 2023 um 14:22:27 > UTC+1: > >> #set $dayradiation=$dd.$light.radiation.sum.raw <-- this is where it >> fails >> > > Try $light.radiation.sum.raw > > $dd and $light in one statement is too much. > > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/7CPWHA8azqY/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > weewx-user+...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/dab05ce0-7f02-4cfe-bd31-1e3e31c9632cn%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/dab05ce0-7f02-4cfe-bd31-1e3e31c9632cn%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/7760fae9-9ee4-4ec7-90fc-73654c2ec4f7n%40googlegroups.com.