I'm getting this error in my meteohub log:
[*]wmr928eval (14.03.2010 04:56:23): illegal data record in line 343764 while reading from file /data/weather/200901/raw: 20090112nd0 201 18 13 -081
When I got back to January 2009 and click clean up data, I get this error.
[*]Error: Cleanup of raw data for month "2009-01" failed.
How should I go and clean this up?
How to fix old bad data record?
Moderator: Mattk
How to fix old bad data record?
Station: Davis Vantage Pro2 Plus
Hardware: Raspberry Pi 2 (Meteohub status)
Hardware: Raspberry Pi 2 (Meteohub status)
Re:How to fix old bad data record?
have you stopped data recording on the maintainance menu?
-
skyewright
- Platinum Boarder

- Posts: 873
- Joined: Fri Jan 25, 2008 6:27 pm
- Location: Isle of Skye, Scotland
Re:How to fix old bad data record?
I'd make a copy of the raw file for January (on the basis that it's always handy to have an extra backup!), then open the original in a text editor and search for the error, using the error message as a guide.cbhiii wrote:How should I go and clean this up?
Assuming that you can spot the error, edit out the bad line(s) and save the file.
You might then want to do a recomputation.
I suppose that you perhaps ought to halt logging while doing the edits, but personally I only do that if I'm editing the current month's raw file.
Re:How to fix old bad data record?
Thanks Skyewright. Thanks a good idea.
Station: Davis Vantage Pro2 Plus
Hardware: Raspberry Pi 2 (Meteohub status)
Hardware: Raspberry Pi 2 (Meteohub status)
