Skip to content

Commit

Permalink
avoid duplication of path
Browse files Browse the repository at this point in the history
  • Loading branch information
FelicitasBeier committed Jan 7, 2025
1 parent c17458b commit 953319d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/start/projects/project_EAT2p0.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ cfg$output <- c(
"rds_report"
)

# Set path to own coupled runs:
path2MitigationRun <- "/p/projects/magpie/users/beier/EL2_DeepDive_release_v2/remind/output/C_SSP2EU-DSPkB650-DS_betax_AgMIP-rem-12/REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_AgMIP-rem-12.mif"


#######################
# SCENARIO DEFINITION #
#######################
Expand Down Expand Up @@ -136,9 +140,9 @@ waste <- function(cfg) {
# starting from 2020.
miti <- function(cfg) {
# Mitigation: consistent with 1.5C considering diet change
cfg$path_to_report_ghgprices <- "/p/projects/magpie/users/beier/EL2_DeepDive_release_v2/remind/output/C_SSP2EU-DSPkB650-DS_betax_AgMIP-rem-12/REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_AgMIP-rem-12.mif"
cfg$path_to_report_ghgprices <- path2MitigationRun
cfg$gms$c56_pollutant_prices <- "coupling"
cfg$path_to_report_bioenergy <- "/p/projects/magpie/users/beier/EL2_DeepDive_release_v2/remind/output/C_SSP2EU-DSPkB650-DS_betax_AgMIP-rem-12/REMIND_generic_C_SSP2EU-DSPkB650-DS_betax_AgMIP-rem-12.mif"
cfg$path_to_report_bioenergy <- path2MitigationRun
cfg$gms$c60_2ndgen_biodem <- "coupling"

return(cfg)
Expand Down

0 comments on commit 953319d

Please sign in to comment.