Editing data

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
Chill
Expert Boarder
Expert Boarder
Posts: 151
Joined: Fri Feb 15, 2008 6:38 pm

Editing data

Post by Chill »

Hi,

It is possible that from time to time one needs to edit measurement values. Imagine there is no power suply but you have a manual rain collector. So when power is back I would 'update' missing or wrong data.
Is it possible to do? How?

Case not all data (related to rainfall, for instance) remain inconsistent.

Chill
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7953
Joined: Mon Oct 01, 2007 10:51 pm

Re:Editing data

Post by admin »

hi,
as the raw logged data is just a plain text file you can edit this with any text editor.
1) stop data logging
2) make backup of \"/public/weather/2008xx/raw\" (if something goes wrong with editing)
3) edit \"/public/weather/2008xx/raw\" with a text editor that keeps line ends as they are
4) start data logging again
5) run recomputation
Chill
Expert Boarder
Expert Boarder
Posts: 151
Joined: Fri Feb 15, 2008 6:38 pm

Re:Editing data

Post by Chill »

Hi,
In order to edit data with no problems, could you give us some more light on the subject?

Imagine all data for 20080418 related to rain sensor is the following:

20080418131346 rain0 0 0 2032
20080418131654 rain0 01628 6 2098
20080418131741 rain0 01488 9 2118
20080418131915 rain0 0889 11 2139
20080418131918 rain0 0 0 2139
20080418131915 rain0 0 0 2139

Since I have a 'divide by 6' in weather settings:
Day 18 starts with 203.2/6=33.9 mm accum
Day 18 ends with 213.9/6=35.7 mm accum.
Rainfall day 18 is, then, 1.8 mm
But the 'real' rainfall for day was 6.5 mm


Questions:
1: What are 6, 9, 11 values meaning?
2: Should I replace all 2139 with 2529 (2139+65*6)

TIA,
Post Reply