Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

weather underground charts #98

Open
weather34 opened this issue May 19, 2019 · 15 comments
Open

weather underground charts #98

weather34 opened this issue May 19, 2019 · 15 comments

Comments

@weather34
Copy link

think today was the end of use for their history data . however correct me if im wrong but all sites i have including your demo shows failed or blank charts . being thats its a feature if the cumulus version it may need a solution to use mysql to use going forward.brian

@neomanu16
Copy link

Hello Brian is sure it would be a good idea and in addition we would be independent of WU
Best regards,
Emmanuel

@weather34
Copy link
Author

i will offer to help ken but he may have his own solution i do not want to interfere but thought it was coming sooner or later. we have a brand new charts system for meteobridge version using a new layout and chart library if it can be used for cumulus it is no issue with me .feel somewhat in debt to cumulus users as they have contributed so much over the years .brian

@neomanu16
Copy link

It's cool of you Brian if you do not let us down. I think it was purchased from Meteobridge-Nano to solve all the problems of Cumulus. but otherwise the version of Cumulus and good too.
Your new graphics are very beautiful indeed.

Emmanuel

@weather34
Copy link
Author

as above let ken decide he may have a solution..have a nice evening..brian

@neomanu16
Copy link

Good evening Brian

@ktrue
Copy link
Owner

ktrue commented May 20, 2019

I'm awaiting official word from Victoria Gardner about the status of the CSV query (just down, or permanently removed) before making a decision on how to proceed. Thanks for help offers 👍

@ktrue
Copy link
Owner

ktrue commented May 20, 2019

The error text returned is:

An error occurred while processing your request.

Reference #30.adbc3b17.1558321673.50116bb 

Looking up a #30 akamai error lists:

30.xx - ERR_FWD_SSL_HANDSHAKE (SSL certificate verification failed when connecting to the origin)

So this may be but a temporary error.. Still waiting for Victoria's reply.

@ktrue
Copy link
Owner

ktrue commented May 20, 2019

Victoria has confirmed that the wunderground.com query for CSV data is now dead and gone.

I'm looking at what's possible to do with the PWS WU/TWC API with the graphs.

GRRRR.....

@weather34
Copy link
Author

ok ken disappointing but not unexpected.need any help feel free to ask just may be a timezone difference between may not yield quick responses. i had a solution i never implemented from 2017 as i didnt want to get bogged down with mysql support as understandably not every has previous experience or had a previous requirement to use it .the wu method was simple and required no technical know how . i will look for it but horrible feeling i deleted most stuff from 2017..brian

@ktrue
Copy link
Owner

ktrue commented May 20, 2019

Sigh.. I've just pushed an update to index.php and jsondata/wuupdate.php scripts to remove the links for charts from the main page, and to stop trying to gather data from the dead WU queries.

I'm looking at providing a couple of shim scripts to get what I can from the WU/TWC API and put in the format of the old queries so a 'today' and a '7-day' script can be reenabled. Having a 'month' or 'year' script is a future goal.

@steepleian
Copy link
Contributor

steepleian commented May 20, 2019 via email

@weather34
Copy link
Author

ive looked but ive nothing beyond Jan 2018 ..However think ken has something in the pipeline so best let him move forward and not confuse the progress..brian

@ktrue
Copy link
Owner

ktrue commented May 20, 2019

I've done a quick shim code generation to take the WU/TWC JSON -> CSV format, but haven't added in all the error checking. To use, you MUST have a valid PWS WU/TWC API key.

The '7-day' and 'Today' links are re-enabled on the index.php page (yearly remains disabled).
Merge #100 has the changes.

Whew...

@ktrue
Copy link
Owner

ktrue commented May 21, 2019

I found the magic words for the API query to be able to restore the Monthly graphs to operation.
Replaced the 7-day ones with the old monthly*.php calls and all works fine. See #102

No luck on a Yearly call yet.. the max is 31 days per history query, and no 'yearly' history query is available in the API.

@ktrue
Copy link
Owner

ktrue commented Jun 10, 2019

Did #107 to handle JSON WU data with metric rain in mm instead of the prior cm values from the CSVs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants