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

update output scripts #1508

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 0 additions & 43 deletions scripts/output/single/dashboard.R

This file was deleted.

22 changes: 22 additions & 0 deletions scripts/output/single/nashAnalysis.R
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
)