Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOAA website changes broke lib/site/Geo/WeatherNOAA.pm and get_weather #631

Closed
marcmerlin opened this issue Oct 16, 2016 · 4 comments
Closed

Comments

@marcmerlin
Copy link
Collaborator

gargamel:/var/local/src/misterhouse# mh/bin/get_weather -zone "SAN JOSE" -city "SAN JOSE" -state CA

Getting the current weather for SAN JOSE, CA
Getting the forecast for SAN JOSE, CA

Current conditions: No data available

The forecast is As of :

Sadly, having a quick look at lib/site/Geo/WeatherNOAA.pm is not encouraging. Not knowing what the old page (that's now a redirect) looks like, it's hard to tell if it's gone altogether, or whether it's hiding under another URL and the fix is easy-ish.

@marcmerlin
Copy link
Collaborator Author

#629 (and its cleaned up replacement) make this work again, but the syntax of what you should query, has changed.
mh/bin/get_weather -zone MTR -city "SAN JOSE" -state CA

waynieack pushed a commit to waynieack/misterhouse that referenced this issue Oct 22, 2016
waynieack pushed a commit to waynieack/misterhouse that referenced this issue Oct 22, 2016
Fixes for broken code due to NOAA site changes. Bug hollie#631
waynieack pushed a commit to waynieack/misterhouse that referenced this issue Oct 22, 2016
marcmerlin added a commit that referenced this issue Oct 22, 2016
Fixes for broken code due to NOAA site changes. Bug #631
@klier
Copy link
Contributor

klier commented Jan 7, 2017

This looks fixed to me.

@marcmerlin
Copy link
Collaborator Author

It is indeed fixed, thanks.

@ghost
Copy link

ghost commented Jan 11, 2017

Note that the NOAA has shutdown that (new, different, fixed) site, so any fixes based ont hat site are again broken:
"The site which previously served that data has been shut down. Here is a link where you can get similar data: http://forecast.weather.gov/product.php?site=RAH&issuedby=RAH&product=RWR&format=txt&version=1&glossary=0. Let me know if you have any questions."

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

No branches or pull requests

2 participants