halol goog schrieb am Montag, 28. Oktober 2024 um 09:15:44 UTC+1:

I don't need the timestamps coming from the WS3000. My goal was just to 
augment the Vantage record with data coming from another source, at the 
time the Vantage record is generated. It just turned out that I did merged 
the data using a simple loop:
for key in ws3000packet.keys():
  event.record[key] = ws3000packet[key]
Since the ws3000packet contained a dateTime slightly different from the 
Vantage one, this resulted in this issue. Lesson learned. Thanks again.


I would suggest:

del ws3000packet['dateTime']
del ws3000packet['interval']
del ws3000packet['usUnits']
event.record.update(ws3000packet)
 

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/643c1a69-6bae-46cd-b298-74f4bc63769cn%40googlegroups.com.

Reply via email to