Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
fix 33b766a and include updated v_co2capturevalve values instead of
Browse files Browse the repository at this point in the history
ignoring them
  • Loading branch information
0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q committed Sep 1, 2021
1 parent bf6b1c4 commit ff061da
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ValidationKey: '6821234350'
ValidationKey: '6827766519'
AcceptedWarnings:
- 'Warning: package ''.*'' was built under R version'
- 'Warning: namespace ''.*'' is not available and has been replaced'
Expand Down
2 changes: 1 addition & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "remind: The REMIND R Package",
"version": "36.185.0",
"version": "36.185.1",
"description": "<p>Contains the REMIND-specific routines for data and model output manipulation.<\/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: remind
Type: Package
Title: The REMIND R Package
Version: 36.185.0
Date: 2021-08-12
Version: 36.185.1
Date: 2021-08-30
Authors@R: c(
person("Anastasis", "Giannousakis", email="giannou@pik-potsdam.de", role=c("aut","cre")),
person("Michaja", "Pehl", role=c("aut")))
Expand Down
8 changes: 4 additions & 4 deletions R/reportEmi.R
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ reportEmi <- function(gdx, output=NULL, regionSubsetList=NULL){
tmp2 <- mbind(
tmp2,
setNames(
tmp2[,,"Emi|CO2|Carbon Capture and Storage|IndustryCCS|fegas (Mt CO2/yr)"]
tmp2[,,"Emi|CO2|Carbon Capture and Storage|IndustryCCS|fegas (Mt CO2/yr)"]
+ tmp2[,,"Emi|CO2|Carbon Capture and Storage|IndustryCCS|fesos (Mt CO2/yr)"]
+ tmp2[,,"Emi|CO2|Carbon Capture and Storage|IndustryCCS|fehos (Mt CO2/yr)"]
+ tmp2[,,'Emi|CO2|Carbon Capture and Storage|IndustryCCS|Process (Mt CO2/yr)'],
Expand All @@ -766,7 +766,7 @@ reportEmi <- function(gdx, output=NULL, regionSubsetList=NULL){
tmp2 <- mbind(
tmp2,
setNames(
tmp2[,,"Emi|CO2|Carbon Capture and Storage|IndustryCCS|fegas (Mt CO2/yr)"]
tmp2[,,"Emi|CO2|Carbon Capture and Storage|IndustryCCS|fegas (Mt CO2/yr)"]
+ tmp2[,,"Emi|CO2|Carbon Capture and Storage|IndustryCCS|fesos (Mt CO2/yr)"]
+ tmp2[,,"Emi|CO2|Carbon Capture and Storage|IndustryCCS|fehos (Mt CO2/yr)"],
"Emi|CO2|Carbon Capture and Storage|IndustryCCS|Energy (Mt CO2/yr)")
Expand All @@ -778,7 +778,7 @@ reportEmi <- function(gdx, output=NULL, regionSubsetList=NULL){
# "Carbon Capture|IndustryCCS" and calculate actual
# "Carbon Capture and Storage|IndustryCCS" by taking account of carbon
# captured, but not sequestered, through v_co2capturevalve
mbind(
tmp2 <- mbind(
lapply(
sub(paste0('^Emi\\|CO2\\|Carbon Capture and Storage\\|IndustryCCS',
'(\\|?.*) \\(Mt CO2/yr\\)$'), '\\1', getNames(tmp2)),
Expand All @@ -793,7 +793,7 @@ reportEmi <- function(gdx, output=NULL, regionSubsetList=NULL){
}
)
)

tmp <- mbind(tmp, tmp2)
rm(tmp2)

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# The REMIND R Package

R package **remind**, version **36.185.0**
R package **remind**, version **36.185.1**

[![CRAN status](https://www.r-pkg.org/badges/version/remind)](https://cran.r-project.org/package=remind) [![r-universe](https://pik-piam.r-universe.dev/badges/remind)](https://pik-piam.r-universe.dev/ui#builds)
[![CRAN status](https://www.r-pkg.org/badges/version/remind)](https://cran.r-project.org/package=remind)

## Purpose and Functionality

Expand Down Expand Up @@ -46,7 +46,7 @@ In case of questions / problems please contact Anastasis Giannousakis <giannou@p

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

Giannousakis A, Pehl M (2021). _remind: The REMIND R Package_. R package version 36.185.0.
Giannousakis A, Pehl M (2021). _remind: The REMIND R Package_. R package version 36.185.1.

A BibTeX entry for LaTeX users is

Expand All @@ -55,7 +55,7 @@ A BibTeX entry for LaTeX users is
title = {remind: The REMIND R Package},
author = {Anastasis Giannousakis and Michaja Pehl},
year = {2021},
note = {R package version 36.185.0},
note = {R package version 36.185.1},
}
```

0 comments on commit ff061da

Please sign in to comment.