Function that takes the defined impacts and reference AgProdChange files then updates and saves the new AgProdChange csv and xml files.
create_AgProdChange_xml(
write_dir = "step4_create_AgProdChange_xml",
esm_name = NULL,
scn_name = NULL,
ssp = NULL,
ag_irr_ref = NULL,
bio_irr_ref = NULL,
ag_impacts = NULL,
bio_impacts = NULL,
GCAM_region_mapping = NULL,
timestep = 5,
maxHistYear = 2010,
minFutYear = 2015,
appliedto = "full"
)
Default = "step4_create_AgProdChange_xml". Output Folder
Default = NULL
Default = NULL
Default = NULL
Default = NULL
Default = NULL
Default = NULL
Default = NULL
Default = NULL
Default = 5
Default = 2010 Historical year
Default = 2015 Min future year
Default = "full". This applies impacts to all regions. Other options are "domestic" and "international".
number