Further to this my chart section looks like this...

    [[chart8]]
            title = Lightning
            time_length = today
            aggregate_type = max
            aggregate_interval = 3600 # 1 hour
            gapsize = 3600
            type = column

                [[[lightning_strike_count]]]
                        name = Lightning
                        stacking = normal

                [[[lightning_distance]]]
                        name = Average Distance
                        stacking = normal

Running the gw1000 drive is see that its returning 
'lightning_strike_count': 'None' rather than a zero, so that's what the 
error is about.

I have vague memories of there being some option or flag to set if this 
kind of thing happened but I cant find it !

So... is there an incantation to change the "none" to 0

thanks

Tim


On Thursday, 18 May 2023 at 22:29:02 UTC+10 Tim Tuck wrote:

> Hi all,
>
> I've just upgraded my weewx instance to the latest Belchertown skin v 
> 1.31 and I have this error in syslog...
>
> May 18 20:55:24 metoffice weewx[7013] INFO user.belchertown: Observation 
> lightning_strike_count is using unit count that returns %d for 
> StringFormat, rather than float point decimal format value - using 0 as 
> rounding
> May 18 20:55:24 metoffice weewx[7013] message repeated 2 times: [ INFO 
> user.belchertown: Observation lightning_strike_count is using unit count 
> that returns %d for StringFormat, rather than float point decimal format 
> value - using 0 as rounding]
>
> any help appreciated.
>
> thanks
>
> Tim
>
>
>

-- 
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/1e2de116-bd46-4657-9f40-8c362adb00a2n%40googlegroups.com.

Reply via email to