Function that uses emulated yield data aggregated to GCAM basin level to create GCAM region, basin, and irrigation level data for all GCAM commodities
yield_to_gcam_basin(
write_dir = "step3_yield_to_gcam_basin",
emulated_basin_yield_dir = NULL,
iso_GCAM_region_mapping = NULL,
FAO_ag_mapping = NULL,
iso_harvest_area_mapping = NULL,
iso_GCAM_basin_mapping = NULL,
esm_name = "WRF",
scn_name = "rcp8p5_hotter",
max_CCImult = 2.5,
min_CCImult = 0.01,
rolling_avg_years = 5,
maxHistYear = 2010,
minFutYear = 2015,
maxFutYear = 2100,
extrapolate_to = NULL
)
Default = "step3_yield_to_gcam_basin". Output Folder
Default = NULL
Default = NULL
Default = NULL
Default = NULL
Default = NULL
Default = 'WRF'
Default = 'rcp8p5_hotter'
Default = 2.5 Upper limit on positive climate impacts (multiplier)
Default = 0.01 Lower limit on negative climate impacts (multiplier)
Default = 5 Set the number of years to define the range for rolling averages
Default = 2010 Historical year for which to apply rolling averages
Default = 2015 Min future year for which to apply rolling averages
Default = 2100 Max future year for which to apply rolling averages
Default = NULL. Note that this extrapolates to only one future year (eg, 2099 to 2100)
number