-
Notifications
You must be signed in to change notification settings - Fork 131
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
Fixes for broken code due to NOAA site changes. Bug #631 #635
Conversation
This reverts commit b670e15.
…ded when get_weather is called. Bug hollie#631
I'm not sure what's going on with the whitespace changes, but I also ran perltidy against your code and I'm also getting issues, so I don't think you did anything wrong. I downloaded your code and tried it locally, and it seems to work fine, outside of "current conditions" Getting the current weather for SAN JOSE, CA Current conditions: No data available The forecast is As of 9:00pm Fri Oct 21, 2016: Either way, this is much better than the current broken state of things, so I'm merging it, thank you. |
I figured out how to fix the missing Current conditions, it SHOULD now for I created a new pull request #636. /opt/misterhouse/mh/bin/get_weather -city "SAN JOSE" -state CA Getting the current weather for SAN JOSE, CA Current conditions: At 9:00 AM, San Jose Arpt, CA conditions were partly The forecast is As of 6:00am Sat Oct 22, 2016: _Wayne On Sat, Oct 22, 2016 at 1:11 AM, Wayne Gatlin [email protected] wrote:
|
git reset --hard HEAD^ <<< I'll put that in my notes for next time. I'll be When I run it for Baton Rouge I get the current condition... I'll look into Getting the current weather for BATON ROUGE, LA Current conditions: At 10:00 PM, Baton Rouge, LA conditions were clear The forecast is As of 3:55pm Fri Oct 21, 2016: _Wayne On Fri, Oct 21, 2016 at 11:41 PM, Marc MERLIN [email protected]
|
It works now that I fixed another file. see #637 |
I created a sub called get_zone that gets the 3 letter zone from NOAA using the search function on the NOAA site with the user defined city and state, so zone is no longer needed when get_weather is called. This allows for the new code to be used with no changes to user code or the mh.private.ini.
WeatherNOAA.pm was run through perl tidy and seems to have many formatting changes so although I made few changes, the diff shows many.