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(JP-TK): fix "No recent data found for consumptionForecast parser" warning #4350

Merged

Conversation

shuuji3
Copy link
Contributor

@shuuji3 shuuji3 commented Jul 17, 2022

TEPCO's public CSV data URL has been updated twice in the past every time its spec changed.

  1. http://www.tepco.co.jp/forecast/html/images/juyo-j.csv
  2. http://www.tepco.co.jp/forecast/html/images/juyo-d-j.csv
  3. http://www.tepco.co.jp/forecast/html/images/juyo-d1-j.csv (latest)

The current parser function for consumption forecast uses the first one and it seems that the company stopped updating at least the consumption forcast in the old CSVs. Those CSVs always return 0 as forcast.

This PR changes to use he latest one, which is always updated now.

TEPCO's public CSV data URL has been updated twice everytime its spec changed.

1. http://www.tepco.co.jp/forecast/html/images/juyo-j.csv
2. http://www.tepco.co.jp/forecast/html/images/juyo-d-j.csv
3. http://www.tepco.co.jp/forecast/html/images/juyo-d1-j.csv

Current consumption forcast fetch uses the first one and it seems that the company stopped to update at least the consumption forcast in the old CSVs. It always returns `0` as a forcast

This PR changes to use he latest one, which is always updated now.
Copy link
Member

@VIKTORVAV99 VIKTORVAV99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🎉

Thanks for the fix.

@VIKTORVAV99 VIKTORVAV99 enabled auto-merge (squash) July 17, 2022 17:33
@VIKTORVAV99 VIKTORVAV99 merged commit 2413cb6 into electricitymaps:master Jul 17, 2022
@shuuji3 shuuji3 deleted the jp/fix-tk-consumption-forcast branch July 18, 2022 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants