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

Bugfix file names #138

Merged
merged 1 commit into from
Nov 10, 2024
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
2 changes: 1 addition & 1 deletion .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ValidationKey: '29312668'
ValidationKey: '29332704'
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 CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cff-version: 1.2.0
message: If you use this software, please cite it using the metadata from this file.
type: software
title: 'mrcommons: MadRat commons Input Data Library'
version: 1.46.3
version: 1.46.4
date-released: '2024-11-09'
abstract: Provides useful functions and a common structure to all the input data required
to run models like MAgPIE and REMIND of model input data.
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: mrcommons
Type: Package
Title: MadRat commons Input Data Library
Version: 1.46.3
Version: 1.46.4
Date: 2024-11-09
Authors@R: c(person("Benjamin Leon", "Bodirsky", email = "[email protected]", role = "aut"),
person("Kristine", "Karstens", role = "aut"),
Expand Down
28 changes: 14 additions & 14 deletions R/readMAgPIE.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,20 +76,20 @@ readMAgPIE <- function(subtype) {
# Please update scenario names in mrremind::calcBiomassPrices.R if necessary

scenarioNames <- c(
"f30_bioen_price_SSP1-SSP1-NPi_replaced_flat_62eff8f7.cs4r",
"f30_bioen_price_SSP1-SSP1-PkBudg650_replaced_flat_62eff8f7.cs4r",
"f30_bioen_price_SSP2-SSP2_lowEn-NPi_replaced_flat_62eff8f7.cs4r",
"f30_bioen_price_SSP2-SSP2_lowEn-PkBudg1000_replaced_flat_62eff8f7.cs4r",
"f30_bioen_price_SSP2-SSP2_lowEn-PkBudg650_replaced_flat_62eff8f7.cs4r",
"f30_bioen_price_SSP2-SSP2-NPi_replaced_flat_62eff8f7.cs4r",
"f30_bioen_price_SSP2-SSP2-PkBudg1000_replaced_flat_62eff8f7.cs4r",
"f30_bioen_price_SSP2-SSP2-PkBudg650_replaced_flat_62eff8f7.cs4r",
"f30_bioen_price_SSP3-SSP2-NPi_replaced_flat_62eff8f7.cs4r",
"f30_bioen_price_SSP3-SSP2-PkBudg1000_replaced_flat_62eff8f7.cs4r",
"f30_bioen_price_SSP3-SSP2-PkBudg650_replaced_flat_62eff8f7.cs4r",
"f30_bioen_price_SSP5-SSP5-NPi_replaced_flat_62eff8f7.cs4r",
"f30_bioen_price_SSP5-SSP5-PkBudg1000_replaced_flat_62eff8f7.cs4r",
"f30_bioen_price_SSP5-SSP5-PkBudg650_replaced_flat_62eff8f7.cs4r"
"f30_bioen_price_SSP1-SSP1-NPi_replaced_flat",
"f30_bioen_price_SSP1-SSP1-PkBudg650_replaced_flat",
"f30_bioen_price_SSP2-SSP2_lowEn-NPi_replaced_flat",
"f30_bioen_price_SSP2-SSP2_lowEn-PkBudg1000_replaced_flat",
"f30_bioen_price_SSP2-SSP2_lowEn-PkBudg650_replaced_flat",
"f30_bioen_price_SSP2-SSP2-NPi_replaced_flat",
"f30_bioen_price_SSP2-SSP2-PkBudg1000_replaced_flat",
"f30_bioen_price_SSP2-SSP2-PkBudg650_replaced_flat",
"f30_bioen_price_SSP3-SSP2-NPi_replaced_flat",
"f30_bioen_price_SSP3-SSP2-PkBudg1000_replaced_flat",
"f30_bioen_price_SSP3-SSP2-PkBudg650_replaced_flat",
"f30_bioen_price_SSP5-SSP5-NPi_replaced_flat",
"f30_bioen_price_SSP5-SSP5-PkBudg1000_replaced_flat",
"f30_bioen_price_SSP5-SSP5-PkBudg650_replaced_flat"
)

fileList <- file.path(ver, paste0(scenarioNames, regcode, ".cs4r"))
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MadRat commons Input Data Library

R package **mrcommons**, version **1.46.2**
R package **mrcommons**, version **1.46.4**

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

Expand Down Expand Up @@ -39,7 +39,7 @@ In case of questions / problems please contact Jan Philipp Dietrich <dietrich@pi

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

Bodirsky B, Karstens K, Baumstark L, Weindl I, Wang X, Mishra A, Wirth S, Stevanovic M, Steinmetz N, Kreidenweis U, Rodrigues R, Popov R, Humpenoeder F, Giannousakis A, Levesque A, Klein D, Araujo E, Beier F, Oeser J, Pehl M, Leip D, Crawford M, Molina Bacca E, von Jeetze P, Martinelli E, Schreyer F, Soergel B, Sauer P, Hötten D, Hasse R, Abrahão G, Weigmann P, Dietrich J (2024). _mrcommons: MadRat commons Input Data Library_. doi:10.5281/zenodo.3822009 <https://doi.org/10.5281/zenodo.3822009>, R package version 1.46.2, <https://github.com/pik-piam/mrcommons>.
Bodirsky B, Karstens K, Baumstark L, Weindl I, Wang X, Mishra A, Wirth S, Stevanovic M, Steinmetz N, Kreidenweis U, Rodrigues R, Popov R, Humpenoeder F, Giannousakis A, Levesque A, Klein D, Araujo E, Beier F, Oeser J, Pehl M, Leip D, Crawford M, Molina Bacca E, von Jeetze P, Martinelli E, Schreyer F, Soergel B, Sauer P, Hötten D, Hasse R, Abrahão G, Weigmann P, Dietrich J (2024). _mrcommons: MadRat commons Input Data Library_. doi:10.5281/zenodo.3822009 <https://doi.org/10.5281/zenodo.3822009>, R package version 1.46.4, <https://github.com/pik-piam/mrcommons>.

A BibTeX entry for LaTeX users is

Expand All @@ -48,7 +48,7 @@ A BibTeX entry for LaTeX users is
title = {mrcommons: MadRat commons Input Data Library},
author = {Benjamin Leon Bodirsky and Kristine Karstens and Lavinia Baumstark and Isabelle Weindl and Xiaoxi Wang and Abhijeet Mishra and Stephen Wirth and Mishko Stevanovic and Nele Steinmetz and Ulrich Kreidenweis and Renato Rodrigues and Roman Popov and Florian Humpenoeder and Anastasis Giannousakis and Antoine Levesque and David Klein and Ewerton Araujo and Felicitas Beier and Julian Oeser and Michaja Pehl and Debbora Leip and Michael Crawford and Edna {Molina Bacca} and Patrick {von Jeetze} and Eleonora Martinelli and Felix Schreyer and Bjoern Soergel and Pascal Sauer and David Hötten and Robin Hasse and Gabriel Abrahão and Pascal Weigmann and Jan Philipp Dietrich},
year = {2024},
note = {R package version 1.46.2},
note = {R package version 1.46.4},
url = {https://github.com/pik-piam/mrcommons},
doi = {10.5281/zenodo.3822009},
}
Expand Down