convGDX2MIF: Read in GDX and write *.mif reporting

Description Usage Arguments Author(s) Examples

View source: R/convGDX2MIF.R

Description

Read in all information from GDX file and create the *.mif reporting

Usage

1
2
3
4
5
6
7
convGDX2MIF(
  gdx,
  gdx_ref = NULL,
  file = NULL,
  scenario = "default",
  t = c(seq(2005, 2060, 5), seq(2070, 2110, 10), 2130, 2150)
)

Arguments

gdx

a GDX as created by readGDX, or the file name of a gdx

gdx_ref

reference-gdx for policy costs, a GDX as created by readGDX, or the file name of a gdx

file

name of the mif file which will be written, if no name is provided a magpie object containing all the reporting information is returned

scenario

scenario name that is used in the *.mif reporting

t

temporal resolution of the reporting, default: t=c(seq(2005,2060,5),seq(2070,2110,10),2130,2150)

Author(s)

Lavinia Baumstark

Examples

1
## Not run: convGDX2MIF(gdx,gdx_ref,file="REMIND_generic_default.csv",scenario="default")

pik-piam/remind documentation built on Sept. 9, 2021, 1:09 p.m.