Author Topic: Leuven-Template error in retrieving METAR information  (Read 668 times)

0 Members and 1 Guest are viewing this topic.

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Leuven-Template error in retrieving METAR information
« on: July 01, 2015, 05:51:52 AM »
As of today the website http://weather.aero/, also known as ADDS, stopped its services.

There are some older, not updated versions of the Leuven-Template metar scripts still using this URL.

Release 2.7 is NOT affected, this release used this server as backup

Release 2.4-2.6 with updates NOT affected as latest metar update this year uses this server only as a backup.
All versions from 3.01 2014-11-08 are not affected.


Release 2.4-2.6 original download versions some used this URL only with the script version:    # 3.00 2014-09-21 release version 

Check approx line 30
now
Code: [Select]
$weatherApiUrl = 'http://weather.aero/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&stationString='.$SITE['METAR'];
change to
Code: [Select]
$weatherApiUrl = 'http://aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&stationString='.$SITE['METAR'];

Please consider in all cases to switch to using Yahoo for current conditions as their site has an impeccable track-record for years.

Wim

 

anything