Produce Relative Yield Losses (RYLs) based on the AOT40 indicator for O3 exposure

m4_get_ryl_aot40(
  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
)

Arguments

db_path

Path to the GCAM database

query_path

Path to the query file

db_name

Name of the GCAM database

prj_name

Name of the rgcam project. This can be an existing project, or, if not, this will be the name

prj

rgcam loaded project

rdata_name

Name of the RData file. It must contain the queries in a list

scen_name

Vector names of the GCAM scenarios to be processed

queries

Name of the GCAM query file. The file by default includes the queries required to run rfasst

final_db_year

Final year in the GCAM database (this allows to process databases with user-defined "stop periods")

saveOutput

Writes the emission files.By default=T

map

Produce the maps. By default=F

anim

If set to T, produces multi-year animations. By default=T

recompute

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

Value

RYLs for each TM5-FASST regions for all years (