Produce agricultural production losses attributable to ozone exposure for all GCAM crops. Losses have been calculated using two ozone exposure indicators: AOT40 and Mi.
m4_get_prod_loss(
db_path = NULL,
query_path = "./inst/extdata",
db_name = NULL,
prj_name = NULL,
prj = NULL,
rdata_name = NULL,
scen_name,
queries = "queries_rfasst.xml",
final_db_year = 2100,
saveOutput = T,
map = F,
anim = T,
recompute = F
)
Path to the GCAM database
Path to the query file
Name of the GCAM database
Name of the rgcam project. This can be an existing project, or, if not, this will be the name
rgcam loaded project
Name of the RData file. It must contain the queries in a list
Vector names of the GCAM scenarios to be processed
Name of the GCAM query file. The file by default includes the queries required to run rfasst
Final year in the GCAM database (this allows to process databases with user-defined "stop periods")
Writes the emission files.By default=T
Produce the maps. By default=F
If set to T, produces multi-year animations. By default=T
If set to T, recomputes the function output. Otherwise, if the output was already computed once, it uses that value and avoids repeating computations. By default=F
Ag losses attributable to O3 for each GCAM region for all years (Mt).The countries that form each GCAM region are listed in the documentation repository: https://github.com/JGCRI/gcam-doc/blob/gh-pages/overview.md The list of commodities within each category can be found in: Kyle, G.P., Luckow, P., Calvin, K.V., Emanuel, W.R., Nathan, M. and Zhou, Y., 2011. GCAM 3.0 agriculture and land use: data sources and methods (No. PNNL-21025). Pacific Northwest National Lab.(PNNL), Richland, WA (United States), and in Sampedro, J., Waldhoff, S.T., Van de Ven, D.J., Pardo, G., Van Dingenen, R., Arto, I., del Prado, A. and Sanz, M.J., 2020. Future impacts of ozone driven damages on agricultural systems. Atmospheric Environment, 231, p.117538, Table S2.