Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
remind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jerome Hilaire
remind
Commits
546ad4eb
Commit
546ad4eb
authored
4 years ago
by
giannou
Browse files
Options
Downloads
Patches
Plain Diff
bugfix LCOEplot.R, add a few orcid links to citation
parent
7c76d8fe
No related branches found
No related tags found
1 merge request
!182
bugfix LCOEplot.R, add orcid records to CITATION
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CITATION.cff
+9
-0
9 additions, 0 deletions
CITATION.cff
scripts/output/comparison/policyCosts.R
+3
-3
3 additions, 3 deletions
scripts/output/comparison/policyCosts.R
scripts/output/single/LCOEPlot.R
+4
-4
4 additions, 4 deletions
scripts/output/single/LCOEPlot.R
with
16 additions
and
7 deletions
CITATION.cff
+
9
−
0
View file @
546ad4eb
...
@@ -4,18 +4,22 @@ authors:
...
@@ -4,18 +4,22 @@ authors:
- family-names: Luderer
- family-names: Luderer
given-names: Gunnar
given-names: Gunnar
orcid: https://orcid.org/0000-0002-9057-6155
affiliation: "Potsdam Institute for Climate Impact Research"
affiliation: "Potsdam Institute for Climate Impact Research"
- family-names: Bauer
- family-names: Bauer
given-names: Nico
given-names: Nico
orcid: https://orcid.org/0000-0002-0211-4162
affiliation: "Potsdam Institute for Climate Impact Research"
affiliation: "Potsdam Institute for Climate Impact Research"
- family-names: Baumstark
- family-names: Baumstark
given-names: Lavinia
given-names: Lavinia
orcid: https://orcid.org/0000-0002-6979-6671
affiliation: "Potsdam Institute for Climate Impact Research"
affiliation: "Potsdam Institute for Climate Impact Research"
- family-names: Bertram
- family-names: Bertram
given-names: Christoph
given-names: Christoph
orcid: https://orcid.org/0000-0002-0933-4395
affiliation: "Potsdam Institute for Climate Impact Research"
affiliation: "Potsdam Institute for Climate Impact Research"
- family-names: Leimbach
- family-names: Leimbach
...
@@ -24,10 +28,12 @@ authors:
...
@@ -24,10 +28,12 @@ authors:
- family-names: Pietzcker
- family-names: Pietzcker
given-names: Robert
given-names: Robert
orcid: https://orcid.org/0000-0002-9403-6711
affiliation: "Potsdam Institute for Climate Impact Research"
affiliation: "Potsdam Institute for Climate Impact Research"
- family-names: Strefler
- family-names: Strefler
given-names: Jessica
given-names: Jessica
orcid: https://orcid.org/0000-0002-5279-4629
affiliation: "Potsdam Institute for Climate Impact Research"
affiliation: "Potsdam Institute for Climate Impact Research"
- family-names: Aboumahboub
- family-names: Aboumahboub
...
@@ -43,6 +49,7 @@ authors:
...
@@ -43,6 +49,7 @@ authors:
- family-names: Dietrich
- family-names: Dietrich
given-names: Jan
given-names: Jan
orcid: https://orcid.org/0000-0002-4309-6431
affiliation: "Potsdam Institute for Climate Impact Research"
affiliation: "Potsdam Institute for Climate Impact Research"
- family-names: Dirnaichner
- family-names: Dirnaichner
...
@@ -52,6 +59,7 @@ authors:
...
@@ -52,6 +59,7 @@ authors:
- family-names: Giannousakis
- family-names: Giannousakis
given-names: Anastasis
given-names: Anastasis
orcid: https://orcid.org/0000-0002-4225-0011
affiliation: "Potsdam Institute for Climate Impact Research"
affiliation: "Potsdam Institute for Climate Impact Research"
- family-names: Haller
- family-names: Haller
...
@@ -59,6 +67,7 @@ authors:
...
@@ -59,6 +67,7 @@ authors:
- family-names: Hilaire
- family-names: Hilaire
given-names: Jerome
given-names: Jerome
orcid: https://orcid.org/0000-0002-9879-6339
affiliation: "Potsdam Institute for Climate Impact Research"
affiliation: "Potsdam Institute for Climate Impact Research"
- family-names: Klein
- family-names: Klein
...
...
This diff is collapsed.
Click to expand it.
scripts/output/comparison/policyCosts.R
+
3
−
3
View file @
546ad4eb
...
@@ -148,7 +148,7 @@ ref_names <- rm_timestamp(basename(dirname(ref_gdxs)))
...
@@ -148,7 +148,7 @@ ref_names <- rm_timestamp(basename(dirname(ref_gdxs)))
pc_pairs
<-
paste0
(
pol_names
,
"_w.r.t_"
,
ref_names
)
pc_pairs
<-
paste0
(
pol_names
,
"_w.r.t_"
,
ref_names
)
# If this scrpit was called from output.R, check with user if the pol-ref pairs
# If this scrpit was called from output.R, check with user if the pol-ref pairs
# are the ones he wanted.
# are the ones
s
he wanted.
if
(
exists
(
"source_include"
))
{
if
(
exists
(
"source_include"
))
{
cat
(
crayon
::
blue
(
"\nPlease confirm the set-up:\n"
))
cat
(
crayon
::
blue
(
"\nPlease confirm the set-up:\n"
))
cat
(
"From the order with which you selected the directories, the following policy-cost curves will be created:\n"
)
cat
(
"From the order with which you selected the directories, the following policy-cost curves will be created:\n"
)
...
@@ -165,7 +165,7 @@ if(exists("source_include")) {
...
@@ -165,7 +165,7 @@ if(exists("source_include")) {
}
else
cat
(
crayon
::
green
(
"Great!\n"
))
}
else
cat
(
crayon
::
green
(
"Great!\n"
))
}
}
# Tell the user what
'
s going on
# Tell the user what
i
s going on
cat
(
crayon
::
blue
(
"\nPolicy cost computations:\n"
))
cat
(
crayon
::
blue
(
"\nPolicy cost computations:\n"
))
# Get Policy costs for every policy-reference pair
# Get Policy costs for every policy-reference pair
...
@@ -187,7 +187,7 @@ policy_costs <- policy_costs %>%
...
@@ -187,7 +187,7 @@ policy_costs <- policy_costs %>%
pivot_longer
(
cols
=
matches
(
".*w\\.r\\.t.*"
),
names_to
=
"Model Output"
)
%>%
pivot_longer
(
cols
=
matches
(
".*w\\.r\\.t.*"
),
names_to
=
"Model Output"
)
%>%
pivot_wider
(
names_from
=
data
)
pivot_wider
(
names_from
=
data
)
# Tell the user what
'
s going on
# Tell the user what
i
s going on
cat
(
crayon
::
green
(
"Done!\n"
))
cat
(
crayon
::
green
(
"Done!\n"
))
# Create Pdf
# Create Pdf
...
...
This diff is collapsed.
Click to expand it.
scripts/output/single/LCOEPlot.R
+
4
−
4
View file @
546ad4eb
...
@@ -13,16 +13,16 @@ library(lusweave)
...
@@ -13,16 +13,16 @@ library(lusweave)
if
(
!
exists
(
"source_include"
))
{
if
(
!
exists
(
"source_include"
))
{
#Define arguments that can be read from command line
#Define arguments that can be read from command line
outputdir
s
<-
c
(
"C:/work/REMIND_tests/Trunk_latest/output/BAU_Nash_2019-02-13_12.27.58"
);
outputdir
<-
c
(
"C:/work/REMIND_tests/Trunk_latest/output/BAU_Nash_2019-02-13_12.27.58"
);
# path to the output folder
# path to the output folder
readArgs
(
"outputdir
s
"
)
lucode
::
readArgs
(
"outputdir"
)
}
}
###############################################################################
###############################################################################
# Set mif path
# Set mif path
scenNames
<-
getScenNames
(
outputdir
s
)
scenNames
<-
getScenNames
(
outputdir
)
mif_path
<-
path
(
outputdir
s
,
paste
(
"REMIND_LCOE_"
,
scenNames
,
".mif"
,
sep
=
""
))
mif_path
<-
path
(
outputdir
,
paste
(
"REMIND_LCOE_"
,
scenNames
,
".mif"
,
sep
=
""
))
# run plot LCOE function
# run plot LCOE function
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment