getReportFSECCropDiversityGrid: getReportFSECCropDiversityGrid

View source: R/getReportFSECCropDiversityGrid.R

getReportFSECCropDiversityGridR Documentation

getReportFSECCropDiversityGrid

Description

Reports grid cell level crop diversity for the FSEC project

Usage

getReportFSECCropDiversityGrid(
  gdx,
  reportOutputDir = NULL,
  magpieOutputDir,
  scenario = NULL
)

Arguments

gdx

a GDX file

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.

magpieOutputDir

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

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)

Patrick v. Jeetze

Examples

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

## End(Not run)


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