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

Save all available forecast data, including today's #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pguyot
Copy link
Contributor

@pguyot pguyot commented Apr 24, 2019

Following issue #2, this PR saves all available forecast data, including today's. Today's forecast is returned in data['forecast'][0], tomorrow's in data['forecast'][1] and so on.

@pguyot
Copy link
Contributor Author

pguyot commented Jun 15, 2019

Latest commit (2151707) makes parsing of forecast more robust, which is required by this change.

@oncleben31
Copy link
Collaborator

I like this. Having the forecast of the current day is useful.

@oncleben31
Copy link
Collaborator

I'm thinking about merging this but I want to avoid breaking change. Is it possible to rebase on current master branch and add a variable in the __init__ method call to switch between current mode (default) and your proposition with today's forecast?

@pguyot pguyot force-pushed the save-forecast-data-for-all-available-days branch from 2151707 to b6d3a57 Compare October 17, 2019 19:32
@pguyot
Copy link
Contributor Author

pguyot commented Oct 17, 2019

Thank you for your feedback. The branch was rebased and a new parameter was added for the new API behavior. Tests were updated accordingly and a new test even checks the old API.

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

Successfully merging this pull request may close these issues.

2 participants