lightmaster / Meteobridge-Weather34-Template

Github repository for the Meteobridge version of the weather34 template
Other
18 stars 10 forks source link

May mounth graphs error #29

Closed nicoloconte closed 5 years ago

nicoloconte commented 5 years ago

Hi, i'm having problem in all May graph. I see several 10 may and a 30 apr.

Screenshot_20190512_161507_com android chrome

Thanks for the support!

Nicolò

lightmaster commented 5 years ago

Looks like you had the wrong date on your system. Check your date and open 2019.csv and 2019/may.csv and change the dates to what they should be

nicoloconte commented 5 years ago

Ok, I will try. But why?

lightmaster commented 5 years ago

Who is the host of your server?

nicoloconte commented 5 years ago

Aws

weather34 commented 5 years ago

end of day not running ?? what appears in yearly for the same period . unless something changed in script both files should show identical error for same period . take a screenshot of 2019.csv last 10 rows and may.csv in 2019 folder

lightmaster commented 5 years ago

Looking at the graphs and all, looks like the end of day and add to year did run at least last night, and the current result.csv has may 12th's date in it. Everything looks like it should run tight tonight, so I'll check your graphs again after your midnight to see what happens.

nicoloconte commented 5 years ago

2019.csv image

may.csv image

lightmaster commented 5 years ago

Those may 10ths, the have the same highs and lows for temp. Did you manually run addtoyear.php multiple times that day?

nicoloconte commented 5 years ago

Yes, maybe on 10 May due Meteobridge problem. But why 11 may isnt' in the cvs?

Thank you very much for the support.

lightmaster commented 5 years ago

For the last may 10th that has some different values, it's probably a mix of may 10th and 11th. The addtoyear script picks the first date in its list (may 10th in this scenario) and uses that as the day, then is uses the max/min for other columns, so if the 11ths maxes were smaller than the 10ths maxes, and the 11ths mins were bigger than the 10ths mins, it's data would hid within the 10ths data.

So, with you MB issues that ran addtoyear.php an couple extra times, it probably didn't run empty.php to clear out the daily file.

Best way I can see you fix your charts now (and what what I would do for mine), is to delete the 2nd 2 may 10th lines.

nicoloconte commented 5 years ago

Ok, thanks a lot. I will delete also 30 apr.