electricitymaps / electricitymaps-contrib

A real-time visualisation of the CO2 emissions of electricity consumption
https://app.electricitymaps.com
GNU Affero General Public License v3.0
3.46k stars 923 forks source link

[Data Issue]: South Africa Eskom ZA data not updated #6475

Open intermittentnrg opened 6 months ago

intermittentnrg commented 6 months ago

When did this happen?

2024-02-03

What zones are affected?

ZA

What is the problem?

The Eskom data source URL does not contain data after 2024-02-03. The HTTP header of the csv file is currently last-modified: Sun, 04 Feb 2024 17:25:35 GMT.

https://www.eskom.co.za/dataportal/wp-content/uploads/2024/02/Station_Build_Up.csv

I use the same data to create graphs with Grafana on my website, and noticed you have no open issue for this.

https://app.electricitymaps.com/zone/ZA also shows estimated data since 2024-02-03.

The Eskom website that links to the CSV https://www.eskom.co.za/dataportal/supply-side/station-build-up-for-the-last-7-days/ has an embedded PowerBi report which does have up to date data.

intermittentnrg commented 6 months ago

CSV not updated while PowerBi is being updated happened a few months ago #5797

Looking at the history of the ZA.py parser the first implementation fetched data directly from PowerBi private APIs which would've worked right now but is maybe not a better solution. Also looks like that implementation was broken when #4637 was merged.

intermittentnrg commented 6 months ago

Sorry there seems to be an open issue for this already #5954, it was created last year and is being repeatedly reopened and closed.