convGDX2MIF: Read in GDX and write *.mif reporting

View source: R/convGDX2MIF.R

convGDX2MIFR Documentation

Read in GDX and write *.mif reporting

Description

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

Usage

convGDX2MIF(
  gdx,
  gdx_ref = NULL,
  file = NULL,
  scenario = "default",
  time = as.numeric(readGDX(gdx, name = "t"))
)

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

time

temporal resolution of the reporting, default: c(seq(2010,2050,5))

Author(s)

Sebastian Osorio and Renato Rodrigues

Examples


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


pik-piam/limes documentation built on Jan. 27, 2024, 4:45 a.m.