Page 2 of 2

Re: Historic data import

Posted: Wed 04 Jan 2023 11:25 am
by mcrossley
You do not need to make the 23:50 entry the total for day, IF you increment the counter at 00:00 to account for any rainfall between 23:50->00:00. CreateMissing will then add that bit on to the day total for you.

Re: Historic data import

Posted: Wed 04 Jan 2023 5:05 pm
by packman2008
I've tried to replicate what is expected to be seen but I'm still getting something wrong. On a few random days where there has been rain (from monthly log) the dayfile total rain is showing zero. My monthly log files have the following...

1) Rainfall Counter - Grows by any rain in any hour (including 00:00)
2) Rainfall rate - reflects the mm/hour for the previous hour. Always fixed at zero in the 00:00 records.
3) Rain so far and 24 hour rain - Grows within a day based on the rain rate in any hour. Always fixed at zero in the 00:00 records.

On a day that has a rain so far and 24 hour rain value > 0 at 23:00 (my last record of the day) the total rain for the day is still showing as zero in the dayfile.

:bash: :D

Re: Historic data import

Posted: Wed 04 Jan 2023 5:20 pm
by mcrossley
Do you want to send me a log file and I can step through CreateMissing and see if I can spot the issue?

It may take a day or so though to find the time.

Re: Historic data import

Posted: Wed 04 Jan 2023 7:17 pm
by packman2008
I'll have a little dig myself first. I've managed to compile and run CreateMissing so I'm at the point of figuring out enough C# to produce some debug output to try to track what's going on. I'll try to educate myself to keep some load off you.

Manually add missing Rainfall data

Posted: Mon 09 Jan 2023 6:08 pm
by metofficemk
Hi, I am missing a few days worth of rainfall data for January 2023.
How do I add the missing rainfall amounts for the first 9 days of Jan 2023?
Jan 01 - 2.6mm
Jan 02 - 0.0mm
Jan 03 - 4.6mm
Jan 04 - 2.2mm
Jan 05 - 0.2mm
Jan 06 - 2.8mm
Jan 07 - 7.4mm
Jan 08 - 1.8mm
Jan 09 - 0.2mm

Thanks

Re: Historic data import

Posted: Tue 10 Jan 2023 3:58 pm
by mcrossley
You can just amend the annual total in the Station Settings under Annual Rainfall.

Otherwise, you would have to create valid dayfile entries for those days - along with all the other data for each day.

Re: Historic data import

Posted: Wed 29 May 2024 8:34 am
by bumpy
Good morning
Advice please.
I have two websites running: www.farleighmeadows.co.uk running on one server and https://www.tivertonnorthwest.co.uk/las ... esktop.php running on another server using Meteotemplate.
When I recently set up Meteotemplate I discovered that because I am a dinosaur and turn off my PC at night, the Meteotemplate website does not upload data stored by CumulusMX overnight. I assume that this is because Meteotemplate uses the Cumulus realtime.txt process. Consequently although farleighmeadows updates the overnight data, tivertonnorthwest doesn't and obviously I now have about 8hrs missing data each day which is not ideal. Is there a way to circumvent this problem or am I stuck with it?

Additionally the Meteotemplate historic data is incomplete simply because I lost many Cumulus log.txt files due to a computer glitch and these were unrecoverable. Consequently although I have a complete dayfile dating back to 22/09/2010, very few log.txt files remain and the earliest of these is Nov18. Is there a way on converting the dayfile data to make it accceptable as historic data to Meteotemplate? I don't fancy the task to trying to produce monthly log.txt files manually.

I would ask the Meteotemplate forum for advice but I am still awaiting approval access after sometime and several reminders.

Any comments would be much appreciated.

Tony

Re: Historic data import

Posted: Wed 29 May 2024 7:43 pm
by mcrossley
It sounds like you are bit stuck to be honest.

I'm not familiar with the Meteotemplate and how it stores data. You are saying it uses the monthly log files rather than the day file?

There is no way of creating missing monthly log files from the day file. You can do it the other way around, but to create a monthly log file you would have to invent 99.9% of the data.