Author Topic: Support for the "Leuven-Template" in 2019  (Read 4711 times)

0 Members and 1 Guest are viewing this topic.

Offline kirikiri

  • Member
  • *
  • Posts: 3
    • Station de Dion Valmont
Re: Support for the "Leuven-Template" in 2019
« Reply #25 on: April 23, 2020, 05:42:13 AM »
Thank you very much Wim !

I've understand the Windy problem...use of a too restrictive browser (Brave), if I use Safari everything is perfect with Windy ! ;-)

For Zambretti forecast, I've followed the Wiki instructions...it is now OK, it' out of the page

I will now investigate your solution for WU ;-)


Regards,


Daniel

Offline JackKr

  • Member
  • *
  • Posts: 5
    • PWS Weyhe-Erichshof
Re: Support for the "Leuven-Template" in 2019
« Reply #26 on: June 29, 2020, 12:04:16 PM »
Hello ,

I have an issue with two graphics on my website (wewetter.de). Both of them are directly on the frontpage/under the tab home and are not being shown, one is the weather symbol, that's under the thermometer and the other one is the graphic displaying the wind direction.




Do you have an idea what the issue could be and how to fix it?




Thank you in advance and have a nice day,

Jens
https://wewetter.de

- Have a nice time!

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1636
    • My PWS at Leuven Belgium Europe
Re: Support for the "Leuven-Template" in 2019
« Reply #27 on: June 29, 2020, 01:01:18 PM »
Hello ,I have an issue with two graphics on my website (wewetter.de). Both of them are directly on the frontpage/under the tab home and are not being shown,
one is the weather symbol, that's under the thermometer
I assume you refer to icon with the ? in it, just above the thermometer?
That is caused by a change of the Metar-website.
https://support.leuven-template.eu/problems28.php?lang=en
=> 2019-02-04 NEW VERSION   no metar
Download (attached) zip of new version of weather28/metar/wsMetarTxt.php,
unzip, and replace current version AFTER you made a backup/copy of that script.
Quote
and the other one is the graphic displaying the wind direction.
. . .
There was a change in the Meteobridge tags some time ago.
Change line 211 of scriptsMB/tags.mb.txt from
Code: [Select]
|windActDsc|[wind0dir-act=endir.0:--]|! to
Code: [Select]
|windActDsc|[wind0dir-act=endir:--]|!   ##  2018-11-26
Then go to your Meteobridge tab with all the uploads and use "Reload template" to update the version in your Meteobridge.
Succes, Wim
« Last Edit: June 29, 2020, 01:03:12 PM by wvdkuil »
Support for Leuven-Template & Scripts  at this forum
Script sponsors support.leuven-template.eu/userlistScripts.php
Template sponsors support.leuven-template.eu/userlist.php

Support for the PWS_Dashboard  pwsdashboard.com

Offline JackKr

  • Member
  • *
  • Posts: 5
    • PWS Weyhe-Erichshof
Re: Support for the "Leuven-Template" in 2019
« Reply #28 on: June 29, 2020, 02:38:19 PM »
Hello ,I have an issue with two graphics on my website (wewetter.de). Both of them are directly on the frontpage/under the tab home and are not being shown,
one is the weather symbol, that's under the thermometer
I assume you refer to icon with the ? in it, just above the thermometer?
That is caused by a change of the Metar-website.
https://support.leuven-template.eu/problems28.php?lang=en
=> 2019-02-04 NEW VERSION   no metar
Download (attached) zip of new version of weather28/metar/wsMetarTxt.php,
unzip, and replace current version AFTER you made a backup/copy of that script.
Quote
and the other one is the graphic displaying the wind direction.
. . .
There was a change in the Meteobridge tags some time ago.
Change line 211 of scriptsMB/tags.mb.txt from
Code: [Select]
|windActDsc|[wind0dir-act=endir.0:--]|! to
Code: [Select]
|windActDsc|[wind0dir-act=endir:--]|!   ##  2018-11-26
Then go to your Meteobridge tab with all the uploads and use "Reload template" to update the version in your Meteobridge.
Succes, Wim


Thank you for the help, now it works!!

Regards,
Jens
https://wewetter.de

- Have a nice time!

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1636
    • My PWS at Leuven Belgium Europe
Re: Support for the "Leuven-Template" in 2020
« Reply #29 on: August 01, 2020, 06:01:44 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.

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.

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

The yr.no script will not be adapted as yr.no data will be replaced with data identical to met.no.
The yrno and metno forecast  will be identical.  You should remove the Yr.no forecast from the menu early 2021.
It is not clear yet, if we can continue to use the yr.no meteogram-image and the full page .pdf.

The met.no script needs 1 minor change, the version number in the URL should be changed from 1.9 to 2.0 and will remain identical when adding a "classic" keyword.
The resulting xml seems identical when testing now, but I will follow closely if that will change.
No other changes needed.

Wim
« Last Edit: August 02, 2020, 03:38:31 AM by wvdkuil »
Support for Leuven-Template & Scripts  at this forum
Script sponsors support.leuven-template.eu/userlistScripts.php
Template sponsors support.leuven-template.eu/userlist.php

Support for the PWS_Dashboard  pwsdashboard.com