Process multiple models to analyze historical weather variables and crop yields
Arguments
- climate_hist_dir
Default = NULL. string for path to the processed historical climate data folder
- climate_impact_dir
Default = NULL. string for path to the processed future climate data folder using weighted_climate function
- climate_model
Default = NULL. string for climate model (e.g., 'CanESM5')
- climate_scenario
Default = NULL. string for climate scenario (e.g., 'ssp245')
- historical_periods
Default = NULL. vector for years to subset from the historical climate data. If NULL, use the default climate data period
- co2_hist
Default = NULL. data table for historical CO2 concentration in columns [year, co2_conc]. If NULL, use built-in CO2 emission data
- co2_proj
Default = NULL. data table for projected CO2 concentration in columns [year, co2_conc]. If NULL, use built-in CO2 emission data
- output_dir
Default = file.path(getwd(), 'output'). String for output directory