Author Topic: Support of "Leuven" WeatherUnderground scripts  (Read 5608 times)

0 Members and 1 Guest are viewing this topic.

Offline martin150

  • Member
  • *
  • Posts: 10
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #25 on: May 14, 2020, 03:03:12 AM »
Hi
Tnx for your solutions. All working fine now. The error has gone before i did make the change, maybe about some cached datas.

As a litte thanks i did make some additions and corrections in the wulanguage-de.txt

For your use i attached the file!!

LG
Martin
« Last Edit: May 14, 2020, 03:06:09 AM by martin150 »

Offline bussez

  • Member
  • *
  • Posts: 3
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #26 on: June 06, 2020, 04:02:49 AM »
Hi Wim, i am trying the standalone wsreport script with csv file upgrade, this seems to work:

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

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1806
    • My PWS at Leuven Belgium Europe
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #27 on: June 06, 2020, 04:38:34 AM »
Hi Wim, i am trying the standalone wsreport script with csv file upgrade, this seems to work:
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
The error is caused because this wsReports1part.php is not the start-script.

The script to run is the one you changed to your station a.s.o. startReports.php
http://www.meteostroncone.info/wsreports_prova/startReports.php

Wim

P.S. Next time please tell me that you are using the scripts already from another folder
And that they seem to run correctly.   http://www.meteostroncone.info/wsreports/startReports.php
« Last Edit: June 06, 2020, 05:19:05 AM by wvdkuil »
Support for Leuven-Template & Scripts  at this forum via https://support.leuven-template.eu/
Support for the PWS_Dashboard  pwsdashboard.com

Offline Eric971

  • Member
  • *
  • Posts: 25
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #28 on: June 16, 2020, 07:43:10 AM »
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 ?


Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1806
    • My PWS at Leuven Belgium Europe
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #29 on: June 16, 2020, 09:01:42 AM »
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.
And  explain what you want, so what the purpose  is in  "adapt them to our purpose."

Succes, Wim
Support for Leuven-Template & Scripts  at this forum via https://support.leuven-template.eu/
Support for the PWS_Dashboard  pwsdashboard.com

Offline Eric971

  • Member
  • *
  • Posts: 25
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #30 on: June 16, 2020, 09:11:18 AM »
OK. Thank you.

Offline Eric971

  • Member
  • *
  • Posts: 25
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #31 on: July 31, 2020, 05:27:04 AM »
Is there a way to modify the scales of legends and how could we do, please ?

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1806
    • My PWS at Leuven Belgium Europe
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #32 on: July 31, 2020, 05:35:42 AM »
Is there a way to modify the scales of legends and how could we do, please ?

What script are you talking about?
Without a link to your website and the page there is no support possible as i am not clairvoyant.

@ALL Please always include a link to the page so I can check if it is one of the WU-scripts I wrote  and what  could be done to solve the problem or question you may haver.

Thank you.
Support for Leuven-Template & Scripts  at this forum via https://support.leuven-template.eu/
Support for the PWS_Dashboard  pwsdashboard.com

Offline Eric971

  • Member
  • *
  • Posts: 25
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #33 on: July 31, 2020, 09:59:02 AM »
Sorry, I'm talking about Coloured tables scale légends.

http://chevrerie-du-cap.com/meteo/reports/

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1806
    • My PWS at Leuven Belgium Europe
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #34 on: July 31, 2020, 11:11:32 AM »
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

The number of boxes with the breakdown values is done for each weather-value in wsReports1part.php starting from line 256

Succes,
Wim
Support for Leuven-Template & Scripts  at this forum via https://support.leuven-template.eu/
Support for the PWS_Dashboard  pwsdashboard.com

Offline Eric971

  • Member
  • *
  • Posts: 25
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #35 on: July 31, 2020, 02:43:16 PM »
 [tup]
Thank you very much !

Offline Eric971

  • Member
  • *
  • Posts: 25
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #36 on: August 01, 2020, 04:02:32 AM »
Temp scale modified ! Cool.

Now, is there a way to convert winds and gusts scales into Beaufort scale ?

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1806
    • My PWS at Leuven Belgium Europe
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #37 on: August 01, 2020, 04:25:35 AM »
Temp scale modified ! Cool.
[tup]
Quote
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.

There is conversion for wind-speed  to m/s, kmh, mph, kts. But not to Beaufort.

So you are on your own for that.

Wim

P.S. I will not be enhancing / extending any of the Leuven scripts. Just support them as is.
These scripts have always been donation-ware but there was no year in the past were donations re-covered my external support-related costs.
Support for Leuven-Template & Scripts  at this forum via https://support.leuven-template.eu/
Support for the PWS_Dashboard  pwsdashboard.com

Offline Eric971

  • Member
  • *
  • Posts: 25
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #38 on: August 01, 2020, 05:38:25 AM »
Ok, I understand.

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1806
    • My PWS at Leuven Belgium Europe
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #39 on: August 01, 2020, 05:56:39 AM »
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.

Please post support requests in the correct topic. In this case yr.no has nothing to do with WeatherUnderground.
=> https://support.leuven-template.eu/  list all my products and where to post your remarks.
The leuven-forum (native Dutch only) is for sponsors only. It has been that way for the past  years .

Also a screenshot or a link to your "problem-page" would be helpful.

The yr.no forecasts contain a hidden warning to the script-programmers.
Quote
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

They also show a message to read that warning in the data-fields on some forecasts during the day.
That is their only way to bring this to the script-authors attention, but it looks not nice for the visitors of the websites.

The yr.no script will not be adapted as yr.no data will be replaced with data identical to met.no. The forecasts will be identical.

I read all the changes and have to decide if it is worth my time to adapt the met.no leuven-scripts before end-of-this year when yr.no and met.no forecasts in the 1.9 version will by EOL.

Wim
« Last Edit: August 01, 2020, 05:59:17 AM by wvdkuil »
Support for Leuven-Template & Scripts  at this forum via https://support.leuven-template.eu/
Support for the PWS_Dashboard  pwsdashboard.com

Offline Eric971

  • Member
  • *
  • Posts: 25
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #40 on: October 11, 2020, 04:13:07 AM »
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 please select "pluie" criteria. It is rain in french.

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1806
    • My PWS at Leuven Belgium Europe
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #41 on: October 12, 2020, 02:44:48 AM »
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 please select "pluie" criteria. It is rain in french.

That is not to do, easily. Probably the easiest way is to filter the zero values for rain in the .csv and replace with empty fields.

An empty cell is used for a no-data field so without any color..
A zero for rain is different from a "no-rain-data"

Wim
Support for Leuven-Template & Scripts  at this forum via https://support.leuven-template.eu/
Support for the PWS_Dashboard  pwsdashboard.com

Offline Eric971

  • Member
  • *
  • Posts: 25
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #42 on: October 12, 2020, 04:27:43 AM »
I did not think about it. Thank you,it's the best way for me regarding my skill.

Offline lacouste

  • Member
  • *
  • Posts: 15
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #43 on: January 02, 2021, 09:18:59 AM »
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

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1806
    • My PWS at Leuven Belgium Europe
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #44 on: January 02, 2021, 09:31:06 AM »
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

PLEASE read my answer to your previous post. https://www.wxforum.net/index.php?topic=41109.msg421532#msg421532

The website you refer to https://www.toutletempslaniaque.net/wxtempdetail.php
is NOT using a Leuven script and it is NOT using the same source of the DATA
You are comparing apples to oranges, it is 100% different
French vous comparez des pommes à des oranges

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.





Support for Leuven-Template & Scripts  at this forum via https://support.leuven-template.eu/
Support for the PWS_Dashboard  pwsdashboard.com

Offline lacouste

  • Member
  • *
  • Posts: 15
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #45 on: January 02, 2021, 11:52:19 AM »
hello yes indeed in your first message on the forum I understood that the link of the station which uses the program in question had nothing to do with your script but I just made a copy / paste of the same message on l 'other forum. after January 1, I am in a hurry I agree with you but I was worried to see that January 31, 2020 had not been taken into account. so i will wait and watch it all.
I assure you that apple are apple \:D/ \:D/ \:D/I'm joking

Offline Eric971

  • Member
  • *
  • Posts: 25
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #46 on: January 03, 2021, 03:20:51 AM »
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 four last days of 2020 remain empty.

http://www.chevrerie-du-cap.com/meteo/reports/

« Last Edit: January 03, 2021, 03:23:05 AM by Eric971 »

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1806
    • My PWS at Leuven Belgium Europe
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #47 on: January 03, 2021, 03:32:54 AM »
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/

These scripts are still based on the old .csv format.
And yes, the last day of the previous year was left out some years ago, after the discussion of the bogus/error-values in the end-of-year roll-over with the old wu-databases.

I assume there are other scripts with even better layouts and less "strange problems"
Please find them and post the links here. I can then put this script to its EOL-coffin.

The truth is, the motivation and the free time to maintain and enhance these complex donation-ware scripts is linear equivalent to the "nill"-support the author gets from the users of the script.

Wim
Support for Leuven-Template & Scripts  at this forum via https://support.leuven-template.eu/
Support for the PWS_Dashboard  pwsdashboard.com

Offline lacouste

  • Member
  • *
  • Posts: 15
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #48 on: January 03, 2021, 04:43:01 AM »
hello wim i just looked at everything is ok for me this morning the values are well displayed all is good. it is just missing on 12/31/2020 but I had the same thing on July 3 of the same year but hey, it's not a big deal in view of the well-filled table some missing values are not very serious for me I love this script. since using it I have pretty much filled out everything. I hope you will be able to leave this script active and in no way the remarks and the information which I share with you are reproaches or admonitions or criticisms. good day to you wim

Offline heersje

  • Member
  • *
  • Posts: 5
    • Tervuren Duisburg
Re: Support of "Leuven" WeatherUnderground scripts
« Reply #49 on: March 07, 2021, 06:05:03 AM »
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 

 

anything