getReportGridEmissions: getReportGridEmissions

View source: R/getReportGridEmissions.R

getReportGridEmissionsR Documentation

getReportGridEmissions

Description

Reports all grid-level emissions available for a magpie scenario

Usage

getReportGridEmissions(
  magpieOutputDir,
  reportOutputDir = NULL,
  scenario = NULL
)

Arguments

magpieOutputDir

a magpie output directory which contains a mapping file (clustermap*.rds) for the disaggregation of grid output

reportOutputDir

a folder name for the output to be written to. If NULL the report is not saved to disk, and only returned to the calling function.

scenario

the name of the scenario used. If NULL the report is not saved to disk, and only returned to the calling function.

Value

A list of MAgPIE objects containing the reports

Author(s)

Michael Crawford

Examples


  ## Not run: 
    x <- getReportGridEmissions(gdx, magpieOutputDir)
  
## End(Not run)


pik-piam/magpie4 documentation built on April 27, 2024, 2:12 p.m.