Thanks for your reply.  The weather station consists of an arduino 
microcontroller reading sensors and sending data to the pi, which places it 
in a CSV file.  I'm using fileparse in weewx to read the file.  You were 
correct in your assessment!  I looked through the CSV file and found 
entries with a 'nan' value for my second temperature sensor, which was 
bad!  Replacing the sensor resolved the issue.

For future reference, what information should I include in a post like this?

Thanks again!


On Thursday, June 25, 2020 at 4:53:39 PM UTC-4, Ron Walker wrote:
>
> Hi All,
>
> I am using weewx 3.9.1 on a Raspberry pi.  Up until yesterday, the system 
> was running fine.  I had stopped the pi yesterday to move it to a new 
> location.  Today when I attempted to start the program, I get the following 
> error and then it quits.  Any help pointing me in the right direction to a 
> resolution would be greatly appreciated!
>
> Error output:.
>
> Traceback (most recent call last):
>   File "/usr/bin/weewxd", line 64, in <module>
>     weewx.engine.main(options, args)
>   File "/usr/share/weewx/weewx/engine.py", line 890, in main
>     engine.run()
>   File "/usr/share/weewx/weewx/engine.py", line 191, in run
>     self.dispatchEvent(weewx.Event(weewx.NEW_LOOP_PACKET, packet=packet))
>   File "/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
>     callback(event)
>   File "/usr/share/weewx/weewx/engine.py", line 546, in new_loop_packet
>     self.accumulator.addRecord(event.packet, add_hilo=self.loop_hilo)
>   File "/usr/share/weewx/weewx/accum.py", line 256, in addRecord
>     func(self, record, obs_type, add_hilo, weight)
>   File "/usr/share/weewx/weewx/accum.py", line 315, in add_value
>     self[obs_type].addSum(val, weight=weight)
>   File "/usr/share/weewx/weewx/accum.py", line 93, in addSum
>     raise ValueError("accum: ScalarStats.addSum expected float or int, got 
> %s" % val)
> ValueError: accum: ScalarStats.addSum expected float or int, got nan
>
>
> Thanks in advance!! 
>

-- 
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/6eab7637-65be-4971-b0a2-19bead2b98fao%40googlegroups.com.

Reply via email to