Enhance Carbon budget distribution plot #1070
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enhance the carbon budget plot by:
-Adding 2022 emissions
-Adding UK emissions to the previous numbers
Changes proposed in this Pull Request
currently, the plot_carbon_budget_distribution from plot_summary uses the below numbers for plotting Europe's carbon emissions:
emissions.loc[2019] = 2.971372
emissions.loc[2020] = 2.691958
emissions.loc[2021] = 2.869355
This is technically missing the UK emissions and that's why there is a rather sudden drop in emissions (figure below). I tried calculating the UK emissions by taking the latest available numbers for UK from EEA_2018 (v23) and estimating their reduction based on the UK's total emissions reductions (Provisional UK greenhouse gas emissions national statistics, 2022).
I've also added the carbon emissions for 2022 using the latest EEA report from 2024 (v27) and again estimating the UK emissions for 2022. Here's what the graph would look like before :
and after:
Checklist