View source: R/grid_to_basin_yield.R
grid_to_basin_yield | R Documentation |
Function that uses emulators to create gridded yield files then aggregates to gcam basin level via MIRCA harvested areas.
grid_to_basin_yield(
carbon = NULL,
weight_floor_ha = 100,
emulator_dir = NULL,
input_dir = NULL,
area_dir = NULL,
basin_grid = NULL,
basin_id = NULL,
region_id = NULL,
gridded_yield_dir = NULL,
write_dir = "step2_grid_to_basin_yield",
wheat_area = NULL,
crops = c("Corn", "Rice", "Soy", "Spring Wheat", "Winter Wheat"),
esm_name = "WRF",
cm_name = "LPJmL",
scn_name = "rcp8p5_hotter",
N = 200
)
carbon |
Default = NULL |
weight_floor_ha |
Default = 100 Floor on area weights, in hectares. Below this climate impacts will be ignored. These are more likely than others to be problematic. 1 hectare = 0.01 km^2 = 1e-5 thou km^2, GCAM land units |
emulator_dir |
Default = NULL |
input_dir |
Default = NULL |
area_dir |
Default = NULL |
basin_grid |
Default = NULL |
basin_id |
Default = NULL |
region_id |
Default = NULL. Filters to specified GCAM region (1-32), otherwise no filter |
gridded_yield_dir |
Default = NULL. |
write_dir |
Default = "step2_grid_to_basin_yield". Output Folder |
wheat_area |
= NULL |
crops |
Default = c("Corn", "Rice", "Soy", "Spring Wheat", "Winter Wheat") |
esm_name |
Default = 'WRF' |
cm_name |
Default = 'LPJmL' |
scn_name |
Default = 'rcp8p5_hotter' |
N |
Default = 200. Assuming nothing is nitrogen limited and apply across grids |
number
## Not run:
library(osiris)
osiris::grid_to_basin_yield()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.