-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1508 from fbenke-pik/nash
update output scripts
- Loading branch information
Showing
2 changed files
with
22 additions
and
43 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,22 @@ | ||
# | (C) 2006-2023 Potsdam Institute for Climate Impact Research (PIK) | ||
# | authors, and contributors see CITATION.cff file. This file is part | ||
# | of REMIND and licensed under AGPL-3.0-or-later. Under Section 7 of | ||
# | AGPL-3.0, you are granted additional permissions described in the | ||
# | REMIND License Exception, version 1.0 (see LICENSE file). | ||
# | Contact: [email protected] | ||
library(lucode2) | ||
library(remind2) | ||
|
||
|
||
if(!exists("outputdir")) { | ||
#Define arguments that can be read from command line | ||
readArgs("outputdir") | ||
} | ||
|
||
gdx_name <- "fulldata.gdx" | ||
gdx <- file.path(outputdir, gdx_name) | ||
|
||
remind2::nashAnalysis( | ||
gdx = gdx, | ||
outputDir = outputdir | ||
) |