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 #17

Merged
merged 183 commits into from
Feb 19, 2025
Merged

Conversation

tonygard-indecon
Copy link
Owner

No description provided.

knoiva-indecon and others added 30 commits December 10, 2024 15:16
Split scripts to create report plots into running scenarios and plot creation
Corrected small typo in data.R
Changed vars() to c() in some dplyr function calls
Added steps to calculate scalars in process for SLR report figures
Fixed issue with SLR plots and grobs
Added sectors to test_fredi.yml, along with adding report figures back into yml
- Fixed typos in create report figure utilities.
Edited a few arguments in create_DOW_plots to get SLR results working
Added lines to specify scenarios
Added lines to drop SLR values from FrEDI (need more constant fix for FrEDI)
Renamed input list objecvts from "tempInput", etc to "temp" etc
Added 2010 to GCM years for creating report figures
For running constant temp scenarios, running GCM sectors only
Edited lines for joining in model info (now using model label instead of model id)
Edited line for dropping model averages
* Corrected action input name in test_fredi.yml
* Re-ordered inputs, added packages to load in create_DOW_plots.R, run_constantTempScenarios.R
Edited syntax in test_fredi.yml
Commented out download artifact section in test_fredi.yml
Edited path name in test_fredi.yml workflow
Edits to Github action
Separated steps for downloading and saving artifacts
Deleted deprecated comments
Commented out some steps for testing
Edited default workflow ID in test_fredi.yml, commented out artifact chunk
tonygard-indecon and others added 29 commits February 13, 2025 14:09
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
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
@tonygard-indecon tonygard-indecon merged commit 7ecb42b into main Feb 19, 2025
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.

4 participants