Skip to contents

Map country level yield impacts to GCAM region-GLU level Calculate agricultural productivity change by region GLU Output agprodchange XML

Usage

gcam_agprodchange(
  data = NULL,
  climate_model = "gcm",
  climate_scenario = "rcp",
  member = "member",
  bias_adj = "ba",
  gcam_version = "gcam7",
  cfe = "no-cfe",
  diagnostics = TRUE,
  output_dir = file.path(getwd(), "output")
)

Arguments

data

Default = NULL. output data from function yield_shock_projection, or similar format of data

climate_model

Default = 'gcm'. string for climate model name (e.g., 'CanESM5')

climate_scenario

Default = 'rcp'. string for climate scenario name (e.g., 'ssp245')

member

Default = 'member'. string for the ensemble member name

bias_adj

Default = 'ba'. string for the dataset used for climate data bias adjustment

gcam_version

Default = 'gcam7'. string for the GCAM version. Only support gcam6 and gcam7

cfe

Default = 'no-cfe'. string for whether the yield impact formula implimented CO2 fertilization effect.

diagnostics

Default = TRUE. Logical for performing diagnostic plot

output_dir

Default = file.path(getwd(), 'output'). String for output directory