combineReport: combineReport

Description Usage Arguments Value Author(s) Examples

View source: R/combineReport.R

Description

combines reporting files (MIF) from PIAM models (currently only support for REMIND and MAgPIE). If rep_a is from REMIND and rep_b is from MAgPIE, emissions totals in rep_a will be recalculated based on land-use emisssions from rep_b.

Usage

1
2
combineReport(file_rep_a, file_rep_b, file_rep_c = NULL,
  rep_out_file = NULL, mapping_file = "mapping_rem17_mag30.csv")

Arguments

file_rep_a

MIF file from model a (currently only support for REMIND)

file_rep_b

MIF file from model b (currently only support for MAgPIE)

file_rep_c

MIF file from model a (currently only support for REMIND - water output)

rep_out_file

name of the output reporting file. If NULL, the combined reporting is returned as magclass object.

mapping_file

Name of file containing the mapping that defines which top categories will be updated by which sub categories.

Value

combined reporting file (MIF)

Author(s)

Florian Humpenoeder, David Klein, Lavinia Baumstark

Examples

1
2
3
4
5
## Not run: 
rep_out <- combineReport(file_rep_a="rep_REM.mif",
                        file_rep_b="rep_MAg.mif",rep_out_file="REM_MAg.mif")
  
## End(Not run)

pik-piam/piam documentation built on Aug. 15, 2021, 6:49 p.m.