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
Manually Entering Rain Data
Moderator: Mattk
Re: Manually Entering Rain Data
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
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

- Posts: 873
- Joined: Fri Jan 25, 2008 6:27 pm
- Location: Isle of Skye, Scotland
Re: Manually Entering Rain Data
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.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...
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.
