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 new sectors learning loss #223

Open
wants to merge 47 commits into
base: addNewSectors_issue206
Choose a base branch
from

Conversation

knoiva-indecon
Copy link
Collaborator

Adds in:

  • New sector "Learning Loss" with impacts from the heat & learning study
  • Updates to Forestry Loss data: New impact functions have additional half-degree values
  • Change in econScalar name for Forestry Loss

@knoiva-indecon
Copy link
Collaborator Author

This merge should not be completed until the issue with the econScalarName for Forestry Loss has been resolved

knoiva-indecon and others added 21 commits February 12, 2025 11:33
Update learning loss branch with edits from main
Edited functions used in calculating scalars
Edited arrange vector
Added fixes to correct issues with new/adapted utilities for dealing with the GDP per capita issue
Deleted deprecated lines
Edited some lines in extend_slrScalars: added a column to drop and removed a line removing an object prematurely
Fixed issue with post-2100 SLR scalars
Edited extend_slrScalars to only extrapolate for SLR sectors in slrScalars...removing Marsh Migration (Primary and Secondary) from `co_slrScalars ` table since the calculation of their scalars doesn't change after 2100
Fix the post-2100 scalars for marsh migration
tonygard-indecon and others added 20 commits February 18, 2025 10:17
Fix if/then statements in YML (added curly brackets). Also removed
Corrected lines in `get_fig7_slrDataObj`...using outdated method to calculate SLR impacts
Deleted elasticity argument
Fixes to get_fig7_slrImpacts
Added function `fun_extendVals` to utils.R to facilitate extension of values out to 2300
Added argument `df_ratios` to `calc_import_pop` to take a dataframe of ratios as an argument. Initialized default to be the `popRatiosData` in `scenarioData`, with values extended out to 2300.
Added functions `standardize_actionStrings`, `get_action_sectors` to utils_create_report_figures.R. These functions help:

1. Standardize a vector of items, separated by commas, and supplied as a single string via a github action
2. Figure out which sectors to run
To 2c and 2d:

* Cleaned up step standardizing sector names using the new `get_action_sectors` function

To 2c:

* Added additional parameters  `figure_type`, `tempScenario`, `agg_lvls`, `out_list` to provide additional options for scenarios
* Added additional steps to run FrEDI with default scenarios, scenarios to 2300, or constant temp scenarios

To 2c:

* Added a step to produce either or both appendix figures and/or sector comparison figures
Added a function `getFilterDf` to utils_create_report_figures.R to facilitate filtering FrEDI results
Initialized script and utilities for creating report figures
Initialized utilities for new report figures
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.

3 participants