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
Higher resolution for historical view #6641
Comments
We really need to consider the payload sizes of the data here as well, there is a risk we will be sending huge payloads for this data if we increase the resolutions. |
The hourly state request is currently 127 kb data transfered and 702 kb total size. Using that as a baseline we can extrapolate the expected transfered sizes of the proposed horizons to be:
As we can see yearly is not an issue and will not be for many years. Monthly is also an okay size and the same goes with hourly but we would likely have to introduce a last_month endpoint similar to the last_hour endpoint to reduce first paint in the app. 15-min is doable but I'd recommend lowering the horizon to just 1 day and add a last_15min endpoint. Daily is way too big, that we would have to limit, possibly to 180 days or something similar and still add the last_day endpoint. 5 minutes is out of the question IMO, not only do we not have enough datasources that supply this data to justify it in the app the size and amount of datapoints would be huge meaning graphs and tooltips would be hard to navigate. I hope this helps put things in perspective a little. |
Here's some additional great context and discussion on this feature:
|
Is your feature request related to a problem? Please describe.
I often am interested in seeing what happened in the last few days, or looking at decarbonisation trends over longer periods.
Therefore, as a user, I'd like to be able to see historical data without too much loss of resolution. Currently, the Monthly view shows month-by-month data over a year, whereas it could be even more interesting to see daily/weekly data over a year.
The same applies to Yearly data, where it could be nice to see its evolution in a higher granularity (days?)
Describe the solution you'd like
I understand there might be both a need to
The two might be difficult to reconcile, but I feel that 2/ might be more important that 1/.
Maybe 1/ can be visualised somewhere else. One idea could be to put it in the tooltip? For example "The carbon intensity [for this hour] is X, which is Y% higher/lower than the 2022 average of Z"). That way, the user can scroll through the graph to find the yearly average they care about, while not loosing any resolution.
Another idea is to have
The text was updated successfully, but these errors were encountered: