Skip to content

Commit

Permalink
Merge pull request #425 from orichters/conv2005-17
Browse files Browse the repository at this point in the history
tutorial update
  • Loading branch information
orichters authored Dec 27, 2024
2 parents 7e84201 + 613336a commit 11de41d
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ValidationKey: '8111108'
ValidationKey: '8113936'
AutocreateReadme: yes
allowLinterWarnings: no
AddInReadme: tutorial.md
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ message: If you use this software, please cite it using the metadata from this f
type: software
title: 'piamInterfaces: Project specific interfaces to REMIND / MAgPIE'
version: 0.40.4
date-released: '2024-12-20'
date-released: '2024-12-27'
abstract: Project specific interfaces to REMIND / MAgPIE.
authors:
- family-names: Benke
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Package
Package: piamInterfaces
Title: Project specific interfaces to REMIND / MAgPIE
Version: 0.40.4
Date: 2024-12-20
Date: 2024-12-27
Authors@R: c(
person("Falk", "Benke", , "[email protected]", role = c("aut", "cre")),
person("Oliver", "Richters", role = "aut")
Expand Down
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ serve to map variables from the PIAM framework to variables needed for the submi
The mappings are `;`-separated files, using `#` as comment character, with the following mandatory columns:

- `variable`: name of the variable in the project template
- `unit`: unit corresponding to `variable`
- `unit`: unit corresponding to `variable`. If the IIASA template has no unit, use `unitless`.
- `piam_variable`: name of the variable in REMIND / MAgPIE / EDGE-T etc. reporting
- `piam_unit`: unit corresponding to `piam_variable`
- `piam_factor`: factor with which the `piam_variable` has to be multiplied for units to match
Expand Down Expand Up @@ -62,6 +62,11 @@ You can edit the files in LibreOffice Calc using these settings in the Text Impo
- String Delimiter: (none)

The github diff on a large semicolon-separated file is often unreadable.
For a human-readable output, save the old version of the mapping and run:
```
remind2::compareScenConf(fileList = c("oldfile.csv", "mappingfile.csv"), row.names = NULL, expanddata = FALSE)
```
On the PIK cluster, you can run `comparescenconf mapping_AR6.csv` in the `inst/mappings` folder and it will compare to a recent `master` version.

### Creating a new mapping

Expand Down Expand Up @@ -118,15 +123,17 @@ In case of questions / problems please contact Falk Benke <[email protected]>

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

Benke F, Richters O (2024). "piamInterfaces: Project specific interfaces to REMIND / MAgPIE - Version 0.40.4."
Benke F, Richters O (2024). "piamInterfaces: Project specific interfaces to REMIND / MAgPIE." Version: 0.40.4, <https://github.com/pik-piam/piamInterfaces>.

A BibTeX entry for LaTeX users is

```latex
@Misc{,
title = {piamInterfaces: Project specific interfaces to REMIND / MAgPIE - Version 0.40.4},
title = {piamInterfaces: Project specific interfaces to REMIND / MAgPIE},
author = {Falk Benke and Oliver Richters},
date = {2024-12-20},
date = {2024-12-27},
year = {2024},
url = {https://github.com/pik-piam/piamInterfaces},
note = {Version: 0.40.4},
}
```
7 changes: 6 additions & 1 deletion tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ serve to map variables from the PIAM framework to variables needed for the submi
The mappings are `;`-separated files, using `#` as comment character, with the following mandatory columns:

- `variable`: name of the variable in the project template
- `unit`: unit corresponding to `variable`
- `unit`: unit corresponding to `variable`. If the IIASA template has no unit, use `unitless`.
- `piam_variable`: name of the variable in REMIND / MAgPIE / EDGE-T etc. reporting
- `piam_unit`: unit corresponding to `piam_variable`
- `piam_factor`: factor with which the `piam_variable` has to be multiplied for units to match
Expand Down Expand Up @@ -53,6 +53,11 @@ You can edit the files in LibreOffice Calc using these settings in the Text Impo
- String Delimiter: (none)

The github diff on a large semicolon-separated file is often unreadable.
For a human-readable output, save the old version of the mapping and run:
```
remind2::compareScenConf(fileList = c("oldfile.csv", "mappingfile.csv"), row.names = NULL, expanddata = FALSE)
```
On the PIK cluster, you can run `comparescenconf mapping_AR6.csv` in the `inst/mappings` folder and it will compare to a recent `master` version.

### Creating a new mapping

Expand Down

0 comments on commit 11de41d

Please sign in to comment.