These Dec 24 to Dec 31 missing days is not normal. Do you had any problems with your WU-API-key in that period?
Default the Dec 31 is not loaded as to much problems in the past. Which is the situation at a dozen or so stations I checked.
See the post of @BEAUJOLAIS how to reload the complete year.
Do not delete the .arr but rename it so you can use the file if reloading fails.
Sometimes reloading a complete year fails if the API-key is already used to much that day.
Cosmetic question about the standalone version of WSReports.
Is it maybe possible to invert the color range for the rain and humidity levels, this seems a bit more logical to me.
So with a lot of rain a dark blue block, with no rain a red/orange block.
The same applies to humidity, so with a high percentage a dark blue block, with less a red/orange block.
Yes, most of the recent scripts use the new format as stored in the .arr files created by the MITM script.
The “very” old scripts still store their own cache as they are not aware of the MITM scripts.
Normally the “problems questions” of a new release are gone in 3 months. For the latest 2012-lts version that will be March.
I will then take a fresh look on all WU scripts and remove all double caching.
Probably the .arr is incomplete then also.
Then it will be for later, in March as said before.
Need to have enough time + a stable release to dig in those different scripts.
I run w34_graph_xx.php WXDailyHistory.php in my browser on the first day of the year to produce a complete IEDINBUR98Y.txt csv file for the year just ended, which I rename, e.g., IEDINBUR98Y20.txt and use for my old-fashioned version 1907 WU graphs for past years. (This also means that the .arr file is complete, I think.)
Thus I was able to copy data for 31 December 2020 from that file to IEDINBUR98-year-2020.txt
I think this has solved my problem.
EDIT: got the script name wrong first time - apologies.
I don’t know if this helps or is even connected with your problem, but I have been experiencing intermittent missing data problems with ‘History at WU’ over the last week or so, and after having a poke around I found that my WU API key expired towards the end of December 2020.
I regenerated the API key (which now expires in November) and normal service seems to be resumed, and missing data filled in
But I can not get further eg show the colours for temps etc… and I do not know if I have installed at the correct directory, is /wuhistory/ correct? (I noticed it said NOT to install in the /pwsWD directory so installed there instead. Could that be a problem?)
So that History script is installed correctly in folder wuhistory/
. . .
But I can not get further eg show the colours for temps etc..
That [b]reports[/b] script needs to be installed also.
It should go into pws.lowersheering.com/[b]wureports[/b]/
I assumed the URL would either be https://pws.lowersheering.com/pwsWD/index.php?frame=Reports_at_WU or https://pws.lowersheering.com/index.php?frame=Reports_at_WU
You do not have to manually add the URL's
You have top change _my_settings/frames.php. Line 28-30 read now
# this one is optionally used if you installed wu history and reports
$show = true;
$show = false; // add the # on position 1 if you want these wu scripts
Line 30 should be set to comment by adding a # on the first position.
# $show = false; // add the # on position 1 if you want these wu scripts
Then the pwsWD/index.php?frame=History_at_WU link from the menu will work for the history
and the pwsWD/index.php?frame=Reports_at_WU link will work for the coloured table.
Do not forget to first change in the settings
=> Tab other
==> Display Extra links in Menu
See attached screenshot.
The number of rainy days remains at 31 only the colors show the number of rainy days I cannot find the problem in the file: wsReportsSum.php
I appeal to your help because my programming knowledge is very limited
$SITE['wuStart'] = '30-04-2021'; // Important the format is: dd-mm-YYYY for your first day of uploading data to WU. !
$SITE['wuID'] = 'IFLEUR35'; // your WU station name
$WUdatastr = 'http://fleurie-meteolive.fr/ECOWITT/PWS_DailyHistory.php';
while other users show the correct lines
$wustart = '01-08-2017'; // Important the format is: dd-mm-YYYY for your first day of uploading data to WU. !
$wuid = 'IEDINBUR98'; // your WU station name
$WUdatastr = 'https://swanston.maui.co.uk/pws/WXDailyHistory.php';
That is why you have errors in the first place:
Warning: Undefined variable $wustart in /htdocs/ECOWITT/wureports/startReports.php on line 15
Warning: Undefined variable $wuid in /htdocs/ECOWITT/wureports/startReports.php on line 98
$wustart = '01-08-2021'; // Important the format is: dd-mm-YYYY for your first day of uploading data to WU. !
$wuid = 'IFLEUR35'; // your WU station name
$WUdatastr = 'https://swanston.maui.co.uk/pws/WXDailyHistory.php';
Good evening WIM,
I corrected the three lines and there is no more error message
On the other hand, the number of rainy days remains at 31
Could you send me back the last script cause I must have mixed versions
Thank you again for your help which solves many concerns