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

Fix errors in Taiwan #2014

Merged
merged 2 commits into from Oct 8, 2019
Merged

Conversation

systemcatch
Copy link
Collaborator

closes #2011

(EM) chris@ThinkPad:~/electricitymap$ python parsers/TW.py
{'zoneKey': 'TW', 'datetime': datetime.datetime(2019, 10, 5, 3, 40, tzinfo=tzfile('/usr/share/zoneinfo/Asia/Taipei')), 'production': {'coal': 9611.8, 'gas': 10298.1, 'oil': 501.90000000000003, 'hydro': 581.6999999999999, 'nuclear': 3831.6000000000004, 'solar': 0.0, 'wind': 11.799999999999999, 'unknown': 557.0}, 'capacity': {'coal': 13097.2, 'gas': 16866.4, 'oil': 2572.1, 'hydro': 2091.4999999999995, 'hydro storage': 2602.0, 'nuclear': 3872.0, 'solar': 3144.4, 'wind': 710.9999999999999, 'unknown': 623.2}, 'storage': {'hydro': 1781.8000000000002}, 'source': 'taipower.com.tw'}

@systemcatch
Copy link
Collaborator Author

systemcatch commented Oct 5, 2019

I'm guessing circleci doesn't support pandas 0.25.1 yet, I will downgrade it back to 0.24.2

@systemcatch systemcatch changed the title Fix errors in Taiwan and bump pandas Fix errors in Taiwan Oct 7, 2019
@corradio
Copy link
Member

corradio commented Oct 7, 2019

@systemcatch pandas 0.25.1 is only for python3. Maybe we should change the circle commands to pip3?

@jarek
Copy link
Collaborator

jarek commented Oct 8, 2019

Please do, Python 2 and anything associated is going to be EOL real soon now

@corradio corradio merged commit f33c966 into electricitymaps:master Oct 8, 2019
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.

Taiwan TW.py parser fails
3 participants