Manually Entering Rain Data

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
hasteiner
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Sun Feb 22, 2009 9:50 am

Manually Entering Rain Data

Post by hasteiner »

Hi All,

My rain gauge has been a little bit less than reliable for the last few months, and I have been collecting rainfall on a piece of paper.

I am wondering if there is an easy way to add the rainfall into the meteohub data so that it appears in all my graphs?

Thanks
Hugo
pvet
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Wed Dec 08, 2010 3:59 pm
Location: France

Re: Manually Entering Rain Data

Post by pvet »

A titanic task, but it is possible... My method would be :
stop logging, login to the meteohub server by SFTP with user 'root', edit by hand in a text editor each '/data/weather/*' raw files in folder months where the data are wrong, delete each wrong rain0 lines, insert measures written on paper in the right place, order by timestamp and in the format [rain0 0 'rain_rate_in_mm_by_hour' 'rain_fall_total_in_mm'], save the file, start a recomputation, restart logging and pray ;)
rain_fall_total_in_mm = a never ending accumulation of the rain fall, so you need to find the last good measure of rain0 and start by this rain total found.
Disclamer: it's my method, use it at your own risk and wait for other advices ;)
skyewright
Platinum Boarder
Platinum Boarder
Posts: 873
Joined: Fri Jan 25, 2008 6:27 pm
Location: Isle of Skye, Scotland

Re: Manually Entering Rain Data

Post by skyewright »

pvet wrote:A titanic task, but it is possible... My method would be :
stop logging, login to the meteohub server by SFTP with user 'root', edit by hand in a text editor each '/data/weather/*' raw files in folder months where the data are wrong...
Or access the data via the SAMBA share, e.g. find the Meteohub on a Windows network using Windows Explorer then open it using meteohub as both user and password. That takes you to the public foldersm which include weather and its raw files. You can then access any of the raw files with the editor of your choice.

One other thing. Except for the current month's raw file (which is growing in real time), personally I'd probably copy the various raw files to another computer, leave Meteohub running while I edited the files on the other computer, then just stop logging when I'd finished editing and was ready to copy the edited files back on to Meteohub.
Post Reply