Skip to content

Commit

Permalink
Merge pull request pik-piam#115 from Loisel/adjust_call_to_edget
Browse files Browse the repository at this point in the history
Update call to EDGE-T and version increase.
  • Loading branch information
Loisel authored Sep 27, 2021
2 parents 7c7b081 + 46e308b commit ba36f20
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 83 deletions.
3 changes: 1 addition & 2 deletions .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
ValidationKey: '14546840'
ValidationKey: '14569587'
AcceptedWarnings:
- 'Warning: package ''.*'' was built under R version'
- 'Warning: namespace ''.*'' is not available and has been replaced'
AcceptedNotes:
- unable to verify current time
- Imports includes .* non-default packages.
AutocreateReadme: yes
UseGithubActions: yes
allowLinterWarnings: yes
67 changes: 0 additions & 67 deletions .github/workflows/test-buildlibrary.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "mrremind: MadRat REMIND Input Data Package",
"version": "0.77.0",
"version": "0.77.1",
"description": "<p>The mrremind packages contains data preprocessing for the REMIND model.<\/p>",
"creators": [
{
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: mrremind
Type: Package
Title: MadRat REMIND Input Data Package
Version: 0.77.0
Date: 2021-09-22
Version: 0.77.1
Date: 2021-09-27
Authors@R: c(person("Lavinia", "Baumstark", email = "lavinia@pik-potsdam.de", role = c("aut","cre")),
person("Renato", "Rodrigues", role = "aut"),
person("Antoine", "Levesque", role = "aut"),
Expand Down
9 changes: 2 additions & 7 deletions R/calcEDGETrData.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,11 @@ calcEDGETrData <- function() {
regionmapping2use <- infoConfig$regionmapping
setConfig(regionmapping = "2b1450bc.csv")
## run EDGE-T
EDGETdata = lapply(strsplit(cartesian(x = c("ConvCase", "ElecEra", "HydrHype",
"ConvCaseWise", "ElecEraWise",
"HydrHypeWise"),
y = c(paste0('SSP', c(1, 2, 5)), "SSP2Ariadne", "SDP")),
'\\.'),
EDGETdata = lapply(c(paste0('SSP', c(1, 2, 5)), "SSP2EU", "SDP"),
function(x) {
generateEDGEdata(input_folder = paste0(getConfig("mainfolder"), "/sources/EDGE-T_standalone/"),
output_folder = NULL,
EDGE_scenario = x[[1]],
REMIND_scenario = x[[2]],
SSP_scen = x,
IEAbal = calcOutput("IO", subtype = "IEA_output", aggregate = TRUE),
GDP_country = {
x <- calcOutput("GDPppp", aggregate = F)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# MadRat REMIND Input Data Package

R package **mrremind**, version **0.77.0**
R package **mrremind**, version **0.77.1**

[![CRAN status](https://www.r-pkg.org/badges/version/mrremind)](https://cran.r-project.org/package=mrremind) [![R build status](https://github.com/pik-piam/mrremind/workflows/check/badge.svg)](https://github.com/pik-piam/mrremind/actions) [![codecov](https://codecov.io/gh/pik-piam/mrremind/branch/master/graph/badge.svg)](https://codecov.io/gh/pik-piam/mrremind) [![r-universe](https://pik-piam.r-universe.dev/badges/mrremind)](https://pik-piam.r-universe.dev/ui#builds)
[![CRAN status](https://www.r-pkg.org/badges/version/mrremind)](https://cran.r-project.org/package=mrremind) [![R build status](https://github.com/pik-piam/mrremind/workflows/check/badge.svg)](https://github.com/pik-piam/mrremind/actions) [![codecov](https://codecov.io/gh/pik-piam/mrremind/branch/master/graph/badge.svg)](https://codecov.io/gh/pik-piam/mrremind) [![r-universe](https://pik-piam.r-universe.dev/badges/mrremind)](https://pik-piam.r-universe.dev/ui#builds)

## Purpose and Functionality

Expand Down Expand Up @@ -38,7 +38,7 @@ In case of questions / problems please contact Lavinia Baumstark <lavinia@pik-po

To cite package **mrremind** in publications use:

Baumstark L, Rodrigues R, Levesque A, Oeser J, Bertram C, Mouratiadou I, Malik A, Schreyer F, Soergel B, Rottoli M, Mishra A, Dirnaichner A, Pehl M, Giannousakis A, Klein D, Strefler J, Feldhaus L, Brecha R, Rauner S, Dietrich J, Bi S, Benke F (2021). _mrremind: MadRat REMIND Input Data Package_. R package version 0.77.0.
Baumstark L, Rodrigues R, Levesque A, Oeser J, Bertram C, Mouratiadou I, Malik A, Schreyer F, Soergel B, Rottoli M, Mishra A, Dirnaichner A, Pehl M, Giannousakis A, Klein D, Strefler J, Feldhaus L, Brecha R, Rauner S, Dietrich J, Bi S, Benke F (2021). _mrremind: MadRat REMIND Input Data Package_. R package version 0.77.1.

A BibTeX entry for LaTeX users is

Expand All @@ -47,7 +47,7 @@ A BibTeX entry for LaTeX users is
title = {mrremind: MadRat REMIND Input Data Package},
author = {Lavinia Baumstark and Renato Rodrigues and Antoine Levesque and Julian Oeser and Christoph Bertram and Ioanna Mouratiadou and Aman Malik and Felix Schreyer and Bjoern Soergel and Marianna Rottoli and Abhijeet Mishra and Alois Dirnaichner and Michaja Pehl and Anastasis Giannousakis and David Klein and Jessica Strefler and Lukas Feldhaus and Regina Brecha and Sebastian Rauner and Jan Philipp Dietrich and Stephen Bi and Falk Benke},
year = {2021},
note = {R package version 0.77.0},
note = {R package version 0.77.1},
}
```

0 comments on commit ba36f20

Please sign in to comment.