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

0 Members and 1 Guest are viewing this topic.

Offline martin150

  • Member
  • *
  • Posts: 3
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: 1699
    • 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/
Script sponsors support.leuven-template.eu/userlistScripts.php
Template sponsors support.leuven-template.eu/userlist.php

Support for the PWS_Dashboard  pwsdashboard.com

Offline Eric971

  • Member
  • *
  • Posts: 24
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: 1699
    • 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/
Script sponsors support.leuven-template.eu/userlistScripts.php
Template sponsors support.leuven-template.eu/userlist.php

Support for the PWS_Dashboard  pwsdashboard.com

Offline Eric971

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

Offline Eric971

  • Member
  • *
  • Posts: 24
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: 1699
    • 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/
Script sponsors support.leuven-template.eu/userlistScripts.php
Template sponsors support.leuven-template.eu/userlist.php

Support for the PWS_Dashboard  pwsdashboard.com

Offline Eric971

  • Member
  • *
  • Posts: 24
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: 1699
    • 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/
Script sponsors support.leuven-template.eu/userlistScripts.php
Template sponsors support.leuven-template.eu/userlist.php

Support for the PWS_Dashboard  pwsdashboard.com

Offline Eric971

  • Member
  • *
  • Posts: 24
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: 24
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: 1699
    • 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/
Script sponsors support.leuven-template.eu/userlistScripts.php
Template sponsors support.leuven-template.eu/userlist.php

Support for the PWS_Dashboard  pwsdashboard.com

Offline Eric971

  • Member
  • *
  • Posts: 24
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: 1699
    • 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/
Script sponsors support.leuven-template.eu/userlistScripts.php
Template sponsors support.leuven-template.eu/userlist.php

Support for the PWS_Dashboard  pwsdashboard.com

Offline Eric971

  • Member
  • *
  • Posts: 24
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: 1699
    • 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/
Script sponsors support.leuven-template.eu/userlistScripts.php
Template sponsors support.leuven-template.eu/userlist.php

Support for the PWS_Dashboard  pwsdashboard.com

Offline Eric971

  • Member
  • *
  • Posts: 24
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.