I was able to delete the entries from the database using the guide provided 
at https://github.com/weewx/weewx/wiki/Cleaning%20up%20old%20'bad'%20data 
however, when I got to the section for cleaning up the daily summaries I 
ran into an error with the commands provided

wee_database weewx.conf --drop-daily and wee_database weewx.conf 
--rebuild-daily gave me this error

Traceback (most recent call last):
  File "/usr/share/weewx/wee_database", line 1168, in <module>
    main()
  File "/usr/share/weewx/wee_database", line 187, in main
    config_path, config_dict = weecfg.read_config(options.config_path, args)
  File "/usr/share/weewx/weecfg/__init__.py", line 146, in read_config
    config_path = find_file(config_path, args,
  File "/usr/share/weewx/weecfg/__init__.py", line 117, in find_file
    raise IOError("%s is not a file" % file_path)
OSError: weewx.conf is not a file
On Tuesday, June 13, 2023 at 4:12:46 PM UTC-4 Kevin Crivelli wrote:

> there were 3 entries over 3,000 strikes in a matter of minutes that pushed 
> my count to 11,970 for the day. There has to be a way to remove those 
> entries. please let me know if anyone knows how. 
>
> [image: lightning strike error.JPG]
>
> On Tuesday, June 13, 2023 at 3:47:46 PM UTC-4 Kevin Crivelli wrote:
>
>> I'm not sure how or why it happened but today around 3:25pm I received a 
>> strike count of over 4,000 strikes. Is there a way to go into the database 
>> and remove this entry? or perhaps I can add a correction in the corrections 
>> section if lightning_strike_count is < 4,000 = none or something?
>>
>> thanks for any help on this matter. really odd
>>
>

-- 
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/889e23f5-eeac-4c0a-9cf9-aab1f564f9f7n%40googlegroups.com.

Reply via email to