-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix macc USD + land conversions cost calib
- Loading branch information
Showing
6 changed files
with
48 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# | (C) 2008-2024 Potsdam Institute for Climate Impact Research (PIK) | ||
# | authors, and contributors see CITATION.cff file. This file is part | ||
# | of MAgPIE and licensed under AGPL-3.0-or-later. Under Section 7 of | ||
# | AGPL-3.0, you are granted additional permissions described in the | ||
# | MAgPIE License Exception, version 1.0 (see LICENSE file). | ||
# | Contact: [email protected] | ||
|
||
# -------------------------------------------------------- | ||
# description: calculate and store new land conversion cost calibration factors for default setup (time consuming; up to 40 model runs with 5 time steps) | ||
# -------------------------------------------------------- | ||
|
||
library(magpie4) | ||
library(magclass) | ||
|
||
# Load start_run(cfg) function which is needed to start MAgPIE runs | ||
source("scripts/start_functions.R") | ||
|
||
#start MAgPIE run | ||
source("config/default.cfg") | ||
cfg$input['regional'] <- "rev4.112_36f73207_magpie.tgz" | ||
cfg$input['validation'] <- "rev4.112_36f73207_validation.tgz" | ||
cfg$input['calibration'] <- "calibration_H16_14Jun24.tgz" | ||
cfg$input['cellular'] <- "rev4.112_36f73207_44a213b6_cellularmagpie_c400_MRI-ESM2-0-ssp370_lpjml-8e6c5eb1_clusterweight-ba4466a8.tgz" | ||
|
||
cfg$results_folder <- "output/:title:" | ||
cfg$recalibrate <- FALSE | ||
cfg$recalibrate_landconversion_cost <- TRUE | ||
cfg$title <- "calib_run_H16" | ||
cfg$output <- c("rds_report") | ||
cfg$force_replace <- TRUE | ||
cfg$qos <- "priority" | ||
start_run(cfg,codeCheck=FALSE) | ||
magpie4::submitCalibration("H16") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters