***closed*** weather34 for WeatherDisplay (clientraw and WDapi)

You have to change your easyweathersettings from using SQL to using WU Then I can check what the problem is.
BUT: https://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KMERAYM03&graphspan=day&year=&format=1
Returns no data, only the header line. You have a typo in your settings.
You typed KMERAYM03 but your WU station is KMERAYMO3 That will solve the WU-graphs

Wim

The Demo site now reflects a Canadian user. I try to test the new EC alert- and forecast-scripts.

Alert not very legible in Dark Theme, but OK in Light.


alert.JPG

Thanks.
@ALL Testing is for me a two stage process.
First I use the light theme and try to get all PHP (script itself, unit conversion) and in-line css (scrolling a.s.o.) correct.
After that I look at how it works in different environments, on an Ipad, with the dark theme a.s.o.
So please post all the remarks but it can take some time before it is changed on the demo site.
Wim

Thanks for catching the station ID typo. Graphs working now, at least using WU. After Feb 15, who knows. Will have to get back to the sql table approach.

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

We’d like to remind our PWS owners/contributors:

Your past data will always be [b]available to you for viewing and download in a web browser on wunderground.com[/b], just as it always has.
If you are in the small minority of people who use the WU API and a corresponding WU API key to obtain data in .json format, here's what's happening:

We'll open a registration page for you to get a new API key to get your data in .json format
You'll sign up and get a new API key for the new API
Once the registration page is open, we'll keep the old API and your old API key active for 2 weeks to allow transition time to your new key

We’ll announce in the forum when the registration page opens.

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


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

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.

Had a look at their forum and I’m still confused.

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.

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.

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

So have mine. See http://discourse.weather-watch.com/

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.


DarkSky.PNG

WUforecast.PNG

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.

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 How Dark Sky users can use the Apple Weather app - Apple Support How Dark Sky users can use the Apple Weather app - Apple Support

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

        if ($darksky_used_unit == 'uk') 

to

        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).

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

For other UK users it is line 352 . . .

. . . of w34_livedata.php :slight_smile:

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

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