cloudy cloudy

Author Topic: weather34 for WeatherDisplay (clientraw and WDapi)  (Read 9646 times)

0 Members and 1 Guest are viewing this topic.

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 982
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 71.0.3578.98
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #300 on: February 05, 2019, 04:19:12 PM »
The WU graphs *should* continue to work after Feb 15th since they use the CSV download from the PWS page on WU, not the WU API.
They have said
Quote
Your past data will always be available to you for viewing and download in a web browser on wunderground.com, just as it always has.
I tested, and when not logged-in with your account/password the download button does not appear and the adds show.

Can be a glitch, but I wait and see if they continue to allow access from a webserver.
Wim

Offline jzinckgra

  • Posts: 146
  • Maine, U.S.A
    • Personal weather site
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #301 on: February 05, 2019, 04:38:18 PM »
The WU graphs *should* continue to work after Feb 15th since they use the CSV download from the PWS page on WU, not the WU API.

They have said
I'm confused. I've been a Wu contributor for years and only have a station Id. Will I be grandfathered under the new rules? They say you'll have access to historical data, but then say data will only be stored for the last 7 days. How does new data get historized if it's deleted after 7 days?

Sent from my Pixel 2 using Tapatalk


Online saratogaWX

  • Global Moderator
  • Posts: 5,878
  • Ken True
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
  • OS/Browser:
  • Win NT 10.0
  • Firefox 64.0
    • Saratoga Weather
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #302 on: February 05, 2019, 04:51:32 PM »
I tested, and when not logged-in with your account/password the download button does not appear and the adds show.

Can be a glitch, but I wait and see if they continue to allow access from a webserver.
Wim

Even if the download button is greyed out, the link in the script still works without login or cookies to get the CSV file with the data.

I'm confused. I've been a Wu contributor for years and only have a station Id. Will I be grandfathered under the new rules? They say you'll have access to historical data, but then say data will only be stored for the last 7 days. How does new data get historized if it's deleted after 7 days?

Sent from my Pixel 2 using Tapatalk

It's been a unholy mess for WU as the IBM team attempts to dismantle the old WeatherUnderground API and substitute a newer weather.com API.  A public relations AND a poorly planned/announced/developed conversion for the API.

The only scripts using the current WU API are for forecasts (WU-forecast.php and cousins).  The graphing scripts rely on the CSV download from weatherunderground.com and (according to them) that is not changing in the future.   IF someone was using the WU API for data (not forecasts), then those scripts will have to be changed, but AFAIK, the common scripts from Wim and I do not use the WU API for PWS data -- only the WU website CSV downloads.
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline jzinckgra

  • Posts: 146
  • Maine, U.S.A
  • OS/Browser:
  • Win NT 10.0
  • Firefox 65.0
    • Personal weather site
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #303 on: February 05, 2019, 05:20:19 PM »
Even if the download button is greyed out, the link in the script still works without login or cookies to get the CSV file with the data.

It's been a unholy mess for WU as the IBM team attempts to dismantle the old WeatherUnderground API and substitute a newer weather.com API.  A public relations AND a poorly planned/announced/developed conversion for the API.

The only scripts using the current WU API are for forecasts (WU-forecast.php and cousins).  The graphing scripts rely on the CSV download from weatherunderground.com and (according to them) that is not changing in the future.   IF someone was using the WU API for data (not forecasts), then those scripts will have to be changed, but AFAIK, the common scripts from Wim and I do not use the WU API for PWS data -- only the WU website CSV downloads.

Thanks Ken. Interestingly, as soon as I started using the WU for my graphs, they stopped working after ~3hrs.
http://weather911.net/pwsWD/index.php

Offline bitsostring

  • Posts: 616
  • Oregon Scientific WMR200
  • Edinburgh, UK
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #304 on: February 05, 2019, 06:09:18 PM »
It's been a unholy mess for WU as the IBM team attempts to dismantle the old WeatherUnderground API and substitute a newer weather.com API.  A public relations AND a poorly planned/announced/developed conversion for the API.

Had a look at their forum and I'm still confused.
It's meant to be fun. . .

Online saratogaWX

  • Global Moderator
  • Posts: 5,878
  • Ken True
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
  • OS/Browser:
  • Win NT 10.0
  • Firefox 64.0
    • Saratoga Weather
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #305 on: February 05, 2019, 06:50:25 PM »
Somewhat off topic:

Their 'forum' is a mess also -- a combination of a bad announcement, multiple rant-filled replies and calm responses by victoria from IBM and some shifting (over time) guidance about what will happen and especially WHEN.   Originally, the announcement about the shutdown of the current WU API was done in mid-2018 for cutoff on Dec 31, 2018.  It was revised to be 15-Feb-2019 as the 'current' date, but I strongly suspect that will also be moved as they are WAY BEHIND in offering the new API keys for the NEW API to anyone. 

What is currently known:
1) the wunderground.com website showing PWS historical data is NOT CHANGING (at this time) and is NOT EFFECTED by the WU API deprecation.
2) the new API might be used for forecasts in the future, but is not currently used for anything else by my scripts. 

My direct email questions to Victoria have been promptly and satisfactorily answered. 
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline bitsostring

  • Posts: 616
  • Oregon Scientific WMR200
  • Edinburgh, UK
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #306 on: February 05, 2019, 10:15:04 PM »
Somewhat off topic:. . . Their 'forum' is a mess also

And yet that is how they say they will inform us of what happens next. I am not talking about "multiple rant-filled replies", the link I posted is their latest statement.

Quote
My direct email questions to Victoria have been promptly and satisfactorily answered.

So have mine. See https://www.weather-watch.com/smf/index.php/topic,67656.msg543354.html#msg543354


« Last Edit: February 08, 2019, 07:19:25 PM by bitsostring »
It's meant to be fun. . .

Offline bitsostring

  • Posts: 616
  • Oregon Scientific WMR200
  • Edinburgh, UK
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #307 on: February 08, 2019, 08:18:10 PM »
I have noticed the wind forecast from Darksky has always been really low, it rarely gets above 10km/h, however I think I have just worked out why.

Opposite problem here in Edinburgh! DarkSky forecasts very high. . .

We do have a Met Office warning for high winds but here that means forecast gusts of 47 mph tonight/tomorrow morning. . . not 111/118 mph.

WU forecast (old version of w34, change /pws to /pwsold in home URL) added below.


« Last Edit: February 08, 2019, 09:56:20 PM by bitsostring »
It's meant to be fun. . .

Offline Cheffy

  • Posts: 85
  • Melbourne, Australia
  • OS/Browser:
  • Win NT 10.0
  • Chrome 72.0.3626.96
    • Mickleham Weather
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #308 on: February 09, 2019, 03:23:19 AM »
Quote
Opposite problem here in Edinburgh! DarkSky forecasts very high. . .

Since I have been using the DarkSky forecasts I have noticed (in my area at least) the wind and to a lesser degree the rain forecasts have been somewhat unreliable.

I must say, I do prefer the WU forecasts, but understand the issues using this going forward.

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 27,854
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 71.0.3578.98
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #309 on: February 09, 2019, 03:35:51 AM »
Opposite problem here in Edinburgh! DarkSky forecasts very high. . .

We do have a Met Office warning for high winds but here that means forecast gusts of 47 mph tonight/tomorrow morning. . . not 111/118 mph.

Maybe there's a problem with the script? I don't see that kind of windspeed when I access the darksky website forecast for Edinburgh UK https://darksky.net/details/55.9807,-3.2968/2019-2-9/us12/en  https://darksky.net/details/55.9807,-3.2968/2019-2-10/us12/en

As of now (3:34 AM GMT) I see Saturday wind forecast between 20 - 30 mph, and Sunday 10 - 20 mph

 


Offline wvdkuil

  • Wim van der Kuil
  • Posts: 982
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 71.0.3578.98
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #310 on: February 09, 2019, 08:59:23 AM »
Maybe there's a problem with the script? I don't see that kind of windspeed when I access the darksky website forecast for Edinburgh UK https://darksky.net/details/55.9807,-3.2968/2019-2-9/us12/en  https://darksky.net/details/55.9807,-3.2968/2019-2-10/us12/en

As of now (3:34 AM GMT) I see Saturday wind forecast between 20 - 30 mph, and Sunday 10 - 20 mph
:oops:  To be sure that I do not use incorrect units, I check the used units in the data from  DarkSky.
But there I mistyped the settings for the UnitedKingdom  and used "uk" which should have been  "uk2" 

So the scripts knew "for sure" that the data was in km/h.  And a conversion from km/h => mph is done on the wind-data which is already in mph.
For the private version of @bitsostring / Edinburgh (he made modifications to enhance the script) change line 359 from
Code: [Select]
        if ($darksky_used_unit == 'uk') to
Code: [Select]
        if ($darksky_used_unit == 'uk2') For other UK users it is line 352

Wim

P.S. I did not find the reason for to-low wind-speeds (yet). 
« Last Edit: February 09, 2019, 09:05:39 AM by wvdkuil »

Offline bitsostring

  • Posts: 616
  • Oregon Scientific WMR200
  • Edinburgh, UK
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #311 on: February 09, 2019, 11:29:30 AM »
For the private version of @bitsostring / Edinburgh change line 359

That's better! Many thanks, Wim. (And niko!)

Quote
For other UK users it is line 352 . . .

. . . of w34_livedata.php  :)
« Last Edit: February 09, 2019, 11:56:21 AM by bitsostring »
It's meant to be fun. . .

Offline GW400

  • Posts: 58
  • OS/Browser:
  • Win NT 10.0
  • Chrome 72.0.3626.81
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #312 on: February 09, 2019, 05:02:45 PM »
Wim, thank you for all the great work you are doing!
Any chance of getting support for weather data from met.no?

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 982
  • Leuven Belgium CET
  • OS/Browser:
  • iOS 12.0.1
  • Safari 12.0
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #313 on: February 09, 2019, 05:10:51 PM »
Wim, thank you for all the great work you are doing!
Any chance of getting support for weather data from met.no?
is included on the TODO list as it is also worldwide available. But it has no text forecasts. 
Which WU, EC, WXSIM  and DarkSky have.
I hope it is clear soon how we can continue to use WU. After that I will include met.no and an Australian one.
Wim

Offline GW400

  • Posts: 58
  • OS/Browser:
  • Win NT 10.0
  • Chrome 72.0.3626.81
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #314 on: February 09, 2019, 06:49:15 PM »
is included on the TODO list as it is also worldwide available. But it has no text forecasts. 
Which WU, EC, WXSIM  and DarkSky have.
I hope it is clear soon how we can continue to use WU. After that I will include met.no and an Australian one.
Wim
Very good!
Looking forward to it.
I also noticed that MET have discontinued parts of their text forecasts due to little traffic.
https://api.met.no/weatherapi/blog/2018-12-21
However this API will still be available :
https://api.met.no/weatherapi/textforecast/1.6/documentation
« Last Edit: February 09, 2019, 06:52:48 PM by GW400 »