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

Display capacity for countries without real-time production data #4500

Open
hboisgibault opened this issue Aug 25, 2022 · 3 comments
Open

Display capacity for countries without real-time production data #4500

hboisgibault opened this issue Aug 25, 2022 · 3 comments
Labels
capacity data Issues or PRs relating to underlying data. frontend 🎨 idea 💡

Comments

@hboisgibault
Copy link
Contributor

hboisgibault commented Aug 25, 2022

Most countries do not have production or consumption data. However, some of them have capacity data (eg. Armenia). Capacity data is easier to get because databases of plants are available.
I would like the capacity data to be shown even if there is no production data. It is not shown at all currently.
It would enable the map to have data for more countries (even if incomplete and not real time) and give a better picture of the global electricity mix.

Solution is to show such countries in a different color (for example a lighter grey) and when user clicks on the country, a chart of the latest capacity data is shown in the country panel, similar to the production chart. There would be no CO2 emission gauge, no daily or price chart, just the current capacity electricity mix.

Capacity would be provided by hand in the zones or capacity folder with a source and date (see issue #4396 and PR #4435 that are related).
Backend is not needed because all the info is in JSON. If historical data is present, a historical chart could be shown as well.

For countries that do not have a parser and that do not have capacity data, nothing would change.

@VIKTORVAV99 VIKTORVAV99 added capacity data Issues or PRs relating to underlying data. frontend 🎨 idea 💡 labels Aug 25, 2022
@Kongkille
Copy link
Contributor

I think that's an interesting idea.

One of the reasons we currently don't show any data for countries with no production data is that we want to engage visitors to help get the data.

If we end up doing something like this, I think we definitely should make it clear to users that we are still missing production data.

@hboisgibault
Copy link
Contributor Author

Thanks for the reply @Kongkille :)
Do you think it would be interesting to add it with a clear differentiation of production data ? It would be especially useful for large countries without data such as China. Historical capacity could also be shown.
I could start a PR for this.

@VIKTORVAV99
Copy link
Member

FYI the backend is definitely still needed so this is not straight forward.

We use the backend to avoid having to bundle megabytes of raw data in the app which can't be updated without updating the whole app.

It's something we have considered though and will likely do in the future but it's not a priority at the moment as we are focusing on making the data we have as clear as possible and to enable future changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
capacity data Issues or PRs relating to underlying data. frontend 🎨 idea 💡
Projects
None yet
Development

No branches or pull requests

3 participants