Thank you.As you are a native Dutch speaker, check the Dutch forum here with an active topic (http://www.hetweeractueel.nl/forum/weer-website-ontwikkeling-design-en-hosting/70939-wu-graph-error-veel-sites-hebben-de-zelfde-fout) about this for 7 weeks already. You will find some solutions and the do's and dont's
Yesterday I noticed that the problem is solved in Wim's website:
https://weer.sluispark.be/index.php?p=mnu_wu_graph&lang=nl#data-area (https://weer.sluispark.be/index.php?p=mnu_wu_graph&lang=nl#data-area)
Can we find somewhere what we have to do ? At my station WU graphs are still missing...
http://weerstationberlare.be/index.php?p=62-2&lang=nl#data-area (http://weerstationberlare.be/index.php?p=62-2&lang=nl#data-area)
I am not alone:
http://meteoroosendaal.nl/index.php?p=62-2&lang=nl#data-area (http://meteoroosendaal.nl/index.php?p=62-2&lang=nl#data-area)
Hi wim I downloaded on your site leuven the script colored table For some time I noticed that the data of the year are gone for 2019 that of the years precedent are not erased. A few days ago I had the data only from the end of October and November and nothing since the beginning of the year and since yesterday I have all the data until August 20, 2019 and since then nothing? would you have an idea of what's going on? I thank you in advance good evening
As you are a native Dutch speaker, check the Dutch forum here with an active topic (http://www.hetweeractueel.nl/forum/weer-website-ontwikkeling-design-en-hosting/70939-wu-graph-error-veel-sites-hebben-de-zelfde-fout) about this for 7 weeks already. You will find some solutions and the do's and dont's
No they had a server-crash a few weeks ago, losing all data after 2018.As you are a native Dutch speaker, check the Dutch forum here with an active topic (http://www.hetweeractueel.nl/forum/weer-website-ontwikkeling-design-en-hosting/70939-wu-graph-error-veel-sites-hebben-de-zelfde-fout) about this for 7 weeks already. You will find some solutions and the do's and dont's
Seems like that topic does not exist anymore on hetweeractueel.nl
But it seems they lost the whole "old" database before October 20
The scripts of your version do not contain a link to WXDailyHistory.phpBut it seems they lost the whole "old" database before October 20My problem seems to be the exact opposite :?
wxStartReports.php daily report shows data until mid October but nothing after. The data exists as far as I can understand; downloaded / cached with WXDailyHistory.php
wxStartReports.php version 4.00
Stian
$wuURLs[] = 'https://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID='.$SITE['wuID'].'&month=01&day=01&year='.$i.'&format=1&graphspan=year';
to $wuURLs[] = 'http://www.altevatnet.no/WXDailyHistory.php?ID='.$SITE['wuID'].'&month=01&day=01&year='.$i.'&format=1&graphspan=year';
or equivilent, depending on where you installed Ken True's version of the "Man-In-The-Middle" script.The scripts of your version do not contain a link to WXDailyHistory.php
$saved_lang = $lang;
$SITE['lang'] = $lang;
$lang = $SITE['lang'];
$saved_lang = $lang;
and now the localization / language selection works as it should. The $lang parameter is loaded with the sitewide language code and the correct wulanguage-??.txt is loaded.One more thing, sorry for spamming this topic now ...I am not able to quickly test with a working Saratoga website. If it works for you, it is OK.
I'm not sure if it's just me, but I had to change a few lines in wxStartReports.php to make my localization work.
Lines 81 and 82 states:Code: [Select]$saved_lang = $lang;
$SITE['lang'] = $lang;
I'm not sure if these two lines make sense? Both $saved_lang and $lang seems empty when wxStartReports.php is loaded.
I changed the lines toCode: [Select]$lang = $SITE['lang'];
and now the localization / language selection works as it should. The $lang parameter is loaded with the sitewide language code and the correct wulanguage-??.txt is loaded.
$saved_lang = $lang;
Stian
. . . shortened . . .This topic you are posting in is for Leuven-scripts.
I have the scrpit https://meteolimoux.fr/wugraphs.php
it worked well but since I solved the problem of wunderground with the colored table this one has more and more trouble to function and sometimes does not display the graphs of the day so how to make this super script work again?
Mixed Content: The page at 'https://meteolimoux.fr/wugraphs.php' was loaded over HTTPS, but requested an insecure script 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'.
This request has been blocked; the content must be served over HTTPS.
Hello,
I successfully installed the WU-History-master module and recovered all the data from WU. It has been running very well for over a month.
Looking at the data https://www.meteo-orsay.fr/custom/WU-History-master/WXDailyHistory.php?&year=2020&graphspan=year&debug=y (https://www.meteo-orsay.fr/custom/WU-History-master/WXDailyHistory.php?&year=2020&graphspan=year&debug=y), they are correct but not displayed for rain data .
Indeed, it is displayed in tenths of mm instead of mm!
Have you ever noticed this problem?
https://www.meteo-orsay.fr/custom/wsreports_new.php (https://www.meteo-orsay.fr/custom/wsreports_new.php)
Thank you in advance.
. . .
I got an script/html error loading /wuhistory/WU-History4.php
https://www.hildner.at/weather28/index.php?p=wuhistory&lang=en#data-area&debug
#--------- load the required csv from WU
$rawData = ws_makeRequest($wu_url,$wu_test_file);
$raw = explode ('<br>', $rawData); ##### ! if they omit the <br> we have to change it here
#$raw = explode ("\n", $rawData);
There were different end-of-line solutions, we are now using the \n#$raw = explode ('<br>', $rawData); ##### ! if they omit the <br> we have to change it here
$raw = explode ("\n", $rawData);
Also reports is only working 2020. When i change to an other year also errorProbably your site to went https and the links ran a short time with http.
https://www.hildner.at/weather28/index.php?p=wsReports&lang=en#data-area
Notice: Undefined variable: uomWrun in /home/.sites/50/site8222718/web/weather28/wsreports/wsReports1part.php on line 95
. . .It seems you mixed the stand-alone version 4.0 into the template version 3.x which was designed to run into the template. Still nice that it runs at all.
For the reports i´ve two questions:
First i´ve already an error in the top line like:Code: [Select]Notice: Undefined variable: uomWrun in /home/.sites/50/site8222718/web/weather28/wsreports/wsReports1part.php on line 95
$uomwrun = 'km';
Second: When i change the year i got a standalone template and my menü is gone.Same problem of a mixed up version
if (isset ($SITE['ipad'])) {$extralang .= PHP_EOL.'<input type="hidden" style="padding: 0px; border: 0px; margin: 0px" name="ipad" value =" "/>'.PHP_EOL;}
toif (isset ($SITE['ipad']) && $SITE['ipad'] == true)
{$extralang .= PHP_EOL.'<input type="hidden" style="padding: 0px; border: 0px; margin: 0px" name="ipad" value =" "/>'.PHP_EOL;}
LG Martin
PS: is there any solution for "Neighboring Stations" also from WU ??
. . .Typing error, sorry for that :oops:
For the reports i´ve two questions:
First i´ve already an error in the top line like:Code: [Select]Notice: Undefined variable: uomWrun in /home/.sites/50/site8222718/web/weather28/wsreports/wsReports1part.php on line 95
replace the empty line 51 in your version of wsReports1part.phpShould have read:Code: [Select]$uomwrun = 'km';
$uomWrun = 'km';
with a capital WHi Wim, i am trying the standalone wsreport script with csv file upgrade, this seems to work:The error is caused because this wsReports1part.php is not the start-script.
http://www.meteostroncone.info/WXDailyHistory.php?ID=IUMBRIAS2&graphspan=year
but the file http://www.meteostroncone.info/wsreports_prova/wsReports1part.php
causes error: Fatal error: Call to undefined function ws_message() in /web/htdocs/www.meteostroncone.info/home/wsreports_prova/wsReports1part.php on line 35
thank you support!
Roberto
I have found this version coded for the WsWin software. I've downloaded the php files, but I'm too rookie to adapt them to our purpose. Do you think it is possible ?If you want to use a script you should ask the author of the scripts what is possible.(http://chevrerie.du.cap.chez-alice.fr/images/report.jpg)
Is there a way to modify the scales of legends and how could we do, please ?
Is there a way to modify the scales of legends and how could we do, please ?The 'scales of legends' is mostly done in CSS => http://chevrerie-du-cap.com/meteo/reports/wsReports.css
Temp scale modified ! Cool.[tup]
Now, is there a way to convert winds and gusts scales into Beaufort scale ?It would be "un-professional" to convert gust-speed to Beaufort as per definition of Beafort it can only be used for wind (= measured over a period) and not to gust as that is a instantaneous value.
Looks like Yrno forecast is also changed.
Not sure if there is already a topic about.
The Leuven support forum is not readable for me anymore.
The xml has changed.
Well something to do I guess.
NB!!! Since we have no other options to contact our users of forecast.xml, we have decided to use this method to get your attention to some major changes with our API
In the first quarter next year, forecast.xml and forecast_hour_by_hour.xml will be discontinued in favour of a newer JSON API.
Vi encourage you already now to switch to the new API.
There are a lot of changes, and you can read all the technical details in our new developer portal https://developer.yr.no
Hi,
what should i do so that zero value is not displayed, and only display empty cell for rain report ?
http://chevrerie-du-cap.com/meteo/reports/index.php?lang=fr (http://chevrerie-du-cap.com/meteo/reports/index.php?lang=fr) please select "pluie" criteria. It is rain in french.
hello everyone and happy new year above all
I noticed that since December 31, 2020 the colored table wunderground does not update any more, on the other hand with some users like this one
https://www.toutletempslaniaque.net/wxtempdetail.php
the update is done normally I do not understand why would you have an idea
thank you, have a nice day
hello here is the link of my station with the weatherwunderground colored table program
https://www.meteolimoux.fr/
https://meteolimoux.fr/wsreports/startReports.php?lang=fr
I also transfer the subject on this forum
hello here is the link of my station with the weatherwunderground colored table program
https://www.meteolimoux.fr/
https://meteolimoux.fr/wsreports/startReports.php?lang=fr
bye
Could you please be a little patient.
Not all data-sets are available on WU after midnight.
A lot of sites using this Leuven script already display the first day of data. Some not yet.
The scripts try to refresh twice / day as not to overload the server / API key.
But there are 24 timezones and nobody really knows when historical data comes available.
Could you please be a little patient.
Not all data-sets are available on WU after midnight.
A lot of sites using this Leuven script already display the first day of data. Some not yet.
The scripts try to refresh twice / day as not to overload the server / API key.
But there are 24 timezones and nobody really knows when historical data comes available.
It could even last several days, but it finally appears.
But this time, it remains a strange problem. It is updated for the first days of January, but the three last days of 2020 remain empty.
http://www.chevrerie-du-cap.com/meteo/reports/ (http://www.chevrerie-du-cap.com/meteo/reports/)
I would like to raise a new issue and that is combining historic data from 2 wunderground stations. I moved last summer about 1.5 km and, maybe naively, created a new station under wunderground. My old station IVOSSEM2 and my new station ITERVU1. This results of course in a break in my WU history and therefore in the coloured table in the Leuven template (https://weer.heerschap.net/). The quick fix I try is renaming all my old files in the cache from IVOSSEM2-year-2020.txt to ITERVU1-year-2020.txt etc and changing the my_settings.php file to ITERVU1 but having an earlier starting date to ensure earlier years are selectable. The latter does not seem to work but the data for 2020 does come up (not in the 2nd half of the year but that is as I had not changed the station name in my_settings.php after moving the station). Renaming caches files seems too simple to be true or isn't it?
kind regards Jean-Paul
Dear Wim,
many thanks for that super rapid response. It is not a problem for me not to have the dynamic day details but would like to have the colourful annual overviews as they provide great insight in how the weather developed in the year.
So I downloaded the folder to my computer and renamed the arr files from IVOSSEM to ITERV except for 2020 in the wudata folder on the server. It does not have an immediate effect but I suppose the cache needs to be updated at one point. (or do I need to run a script?)
I do have all that missing 2020 data in MySQL and in fact I also imported it now in my new Meteobridge NanoSD. I know nothing about json but it may be possible to do an extraction of data in the right format. After all it is a text file the array so cut and past the new data in the existing IVOSSEM2-2020.arr may work?
keeping fingers crossed!
Maybe the best solution is to have one extra set of scripts for the "old" WU-ID using an override of the settings.I would probably address that by studying how the weather in color page extracts data from the cache and then hard code it for 2019 and before in another page using the save text files I have with the data.