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

Add steel cement aviation aps steps #61

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

Antoine-Lalechere
Copy link
Contributor

For Switzerland project, we are providing an aggregate score to any investors.
The calculation of this indicator was previously made with GECO, but as we get some concerns with some GECO value in their last release, it will be provided against WEO2023 this year.
To compute this indicator, we need to compute targets against three scenarios as the results we provide will be for example "Between APS and STEPS". We would then need to add Aviation, Steel and Cement targets based on APS and STEPS.

Copy link

codecov bot commented Jun 19, 2024

Codecov Report

Attention: Patch coverage is 0% with 30 lines in your changes missing coverage. Please review.

Project coverage is 16.75%. Comparing base (5c39255) to head (5510f19).

Files Patch % Lines
R/prepare_weo_2023_scenario.R 0.00% 30 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
- Coverage   16.83%   16.75%   -0.09%     
==========================================
  Files          13       13              
  Lines        2049     2059      +10     
==========================================
  Hits          345      345              
- Misses       1704     1714      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cjyetman
Copy link
Member

@Antoine-Lalechere can we have a live discussion about this, ideally with @jacobvjk and @jdhoffa once he's back from vacation? On the surface, this appears to change code that has broad effect on things beyond just the Swiss COP, so I want to make sure we're not causing a detrimental effect elsewhere.

@Antoine-Lalechere
Copy link
Contributor Author

@cjyetman I sent you @jacobvjk @jdhoffa an invitation for Thursday when Jackson is back, lmk if that time doesn't work for you

@cjyetman cjyetman merged commit a4f3833 into main Jun 28, 2024
14 of 15 checks passed
@cjyetman cjyetman deleted the add-steel-cement-aviation-APS-STEPS branch June 28, 2024 12:08
jdhoffa added a commit to RMI-PACTA/workflow.data.preparation that referenced this pull request Jun 28, 2024
…viation

Update `2023Q4` data prep config to pick-up the latest run of scenario preparation, which now includes new scenarios `APS` and `STEPS` for the sectors steel, cement and aviation, for the `WEO2023` scenario. 

Relates to RMI-PACTA/pacta.scenario.data.preparation#61
jdhoffa added a commit to RMI-PACTA/workflow.data.preparation that referenced this pull request Jun 28, 2024
... for steel cement and aviation.

Update `2023Q4` data prep config to pick-up the latest run of scenario
preparation, which now includes new scenarios `APS` and `STEPS` for the
sectors steel, cement and aviation, for the `WEO2023` scenario.

Relates to
RMI-PACTA/pacta.scenario.data.preparation#61
jdhoffa added a commit that referenced this pull request Jun 29, 2024
The bug was introduced in #61

Since we never load `dplyr`, namespacing is important. This resulted in the latest build of scenario prep not building `weo_2023`. 

This slipped through our CI/CD because we currently set it to fail on `WARNING` rather than `NOTE`, and the lack of visible global binding only raises a NOTE. 

FYI @Antoine-Lalechere @AlexAxthelm @cjyetman
cjyetman pushed a commit that referenced this pull request Jun 29, 2024
The bug was introduced in #61

Since we never load `dplyr`, namespacing is important. This resulted in the latest build of scenario prep not building `weo_2023`. 

This slipped through our CI/CD because we currently set it to fail on `WARNING` rather than `NOTE`, and the lack of visible global binding only raises a NOTE. 

FYI @Antoine-Lalechere @AlexAxthelm @cjyetman
jdhoffa added a commit to RMI-PACTA/workflow.data.preparation that referenced this pull request Jul 1, 2024
The initial scenario preparation configuration bump that was committed in #236 and #237 pointed to a scenario preparation output that was missing crucial data. 

The data was missing due to a bug that was introduced in:
RMI-PACTA/pacta.scenario.data.preparation#61

and later solved by:
RMI-PACTA/pacta.scenario.data.preparation#63

The new scenario preparation outputs, in the directory: 
`2023Q4_20240701_T105302Z`

which can be found here: https://pactadatadev.file.core.windows.net/workflow-scenario-preparation-outputs/2023Q4_20240701_T105302Z

contain all the expected output datasets.
jdhoffa added a commit to RMI-PACTA/workflow.data.preparation that referenced this pull request Jul 1, 2024
The initial scenario preparation configuration bump that was committed
in #236 and #237 pointed to a scenario preparation output that was
missing crucial data.

The data was missing due to a bug that was introduced in:
RMI-PACTA/pacta.scenario.data.preparation#61

and later solved by:
RMI-PACTA/pacta.scenario.data.preparation#63

The new scenario preparation outputs, in the directory:
`2023Q4_20240701_T105302Z`

which can be found here:
https://pactadatadev.file.core.windows.net/workflow-scenario-preparation-outputs/2023Q4_20240701_T105302Z

contain all the expected output datasets.
jdhoffa added a commit to RMI-PACTA/workflow.transition.monitor that referenced this pull request Jul 1, 2024
The newly created data directory now contains APS and STEPS scenarios for WEO 2023 for the aviation, cement and steel sectors. 

With these scenarios missing, the executive summary couldn't render correctly. 

Relates to:
RMI-PACTA/workflow.data.preparation/pull/238
RMI-PACTA/workflow.data.preparation/pull/237
RMI-PACTA/workflow.data.preparation/pull/236
RMI-PACTA/pacta.scenario.data.preparation/pull/61
RMI-PACTA/pacta.scenario.data.preparation/pull/63
jdhoffa added a commit to RMI-PACTA/workflow.transition.monitor that referenced this pull request Jul 18, 2024
The newly created data directory now contains APS and STEPS scenarios
for WEO 2023 for the aviation, cement and steel sectors.

Importantly also, we had to update paths to the new (real) `peer` files,
as those had to be re-run with those same latest scenarios.

With these scenarios missing, the executive summary couldn't render
correctly.

Relates to:
RMI-PACTA/workflow.data.preparation/pull/238
RMI-PACTA/workflow.data.preparation/pull/237
RMI-PACTA/workflow.data.preparation/pull/236
RMI-PACTA/pacta.scenario.data.preparation/pull/61
RMI-PACTA/pacta.scenario.data.preparation/pull/63

---------

Co-authored-by: Alex Axthelm <aaxthelm@rmi.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants