-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Corrupt Formatting on history.html #17
Comments
I have had to remove the max windspeed from my stats as it still remains broken. We had heavy snow on Monday which affected my ultrasonic anemometer, it recorded a gust of 146mph! I think this may be causing an issue with it, not sure. |
I will have a look this weekend |
Happy New Year! I removed the erroneous wind gust from the database and now it's formatting correctly, however it is a concern that a three figure gust (which is highly possible up here) breaks the formatting, when there are plenty three figure values in the rainfall section. I still get temperature values that are not coloured, I have played around with the min and max values but can't seem to find a range that works for all temperature values. https://www.360shetland.co.uk/weather/history.html |
Hi @Pogs2004 |
Well spotted! That’s it fixed now :)
… On 21 Jan 2023, at 12:38, seehase ***@***.***> wrote:
Hi @Pogs2004 <https://github.com/Pogs2004>
I think your problem could be a wrong color value #05EF3D2 it has 7 digit but must be 6
<https://user-images.githubusercontent.com/3663078/213867194-d9a319b8-ee33-46ac-9a1b-a8c7e0d3b88a.png>
—
Reply to this email directly, view it on GitHub <#17 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEE7LBMVL2N36IBSGXBKVULWTPKFNANCNFSM6AAAAAAS6GWTAI>.
You are receiving this because you were mentioned.
|
According to the wrong formatting |
It was a maximum windspeed value, IIRC it was around 200mph. I only changed a single record and that fixed it. I’ll have a look in the SQLite history to see which record it was and change it to a high value to see if it breaks it again.
… On 21 Jan 2023, at 13:22, seehase ***@***.***> wrote:
According to the wrong formatting
how many vallues did you correct in the DB and in which table, was it just one value, can you reproduce it.
I changed some values but did not get the same error
—
Reply to this email directly, view it on GitHub <#17 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEE7LBL3XENGRWG4Z6U7OMLWTPPIRANCNFSM6AAAAAAS6GWTAI>.
You are receiving this because you were mentioned.
|
did you changed the value in table "archive" or "archive_day_wind" or? |
I removed it from the archive table then rebuilt the daily summaries for that day
… On 21 Jan 2023, at 13:45, seehase ***@***.***> wrote:
did you changed the value in table "archive" or "archive_day_wind" or?
maybe we can reproduce and fix it
—
Reply to this email directly, view it on GitHub <#17 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEE7LBLCETWEDLHDYUJZQDTWTPR6PANCNFSM6AAAAAAS6GWTAI>.
You are receiving this because you were mentioned.
|
hmmm... I changed max wind speed for Jan. 2022 If it happens again, we can have a look before you change the database |
When I was playing around with the min, max and colour values yesterday I broke the formatting in the same way, so I think this issue is directly related to #16 with overlaps in the min and max values. I will keep an eye on it but I will close this issue now as resolved. |
Corruption of tables in history.html (see screenshot). I've noticed this twice now, the last time was at 00:05 on 01/12/2022 when a new month was added, then again at some time last night when there were changes to some of the December stats.
It seems to sort itself out after a while, it certainly did on 01/12/2022. I have made no changes to the history.html.tmpl or skin.conf in the last few days, and the historygenerator.py hasn't been touched or changed.
The text was updated successfully, but these errors were encountered: