Function to generate diagnostic plots to compare the agprodchange and agyield for the different climate projections, for the specified crops and irrigation.
diagnostic_plots(
hot_ssp3_apc = NULL,
hot_ssp5_apc = NULL,
cold_ssp3_apc = NULL,
cold_ssp5_apc = NULL,
reference_apc = NULL,
agyield = NULL,
iso_GCAM_basin_mapping = NULL,
write_dir = "diagnostic_plots"
)
Default = NULL. Path to hot_ssp3 agprodchange csv file.
Default = NULL. Path to hot_ssp3 agprodchange csv file.
Default = NULL. Path to hot_ssp3 agprodchange csv file.
Default = NULL. Path to hot_ssp3 agprodchange csv file.
Default = NULL. Path to hot_ssp3 agprodchange csv file.
Default = NULL. Path to agyield gcamdata file L101.ag_Yield_kgm2_R_C_Y_GLU.csv. The 2015 ag yield value is extracted from this file.
Default = NULL. Path to mapping file of GCAM basin id, GLU, ISO.
Default = "diagnostic_plots". Output folder for plots.
number