openairclim.calc_metric
Calculates climate metric for each species and scenario
- openairclim.calc_metric.calc_agtp(config: dict, t_zero: float, horizon: float, dtemp_dict: dict) dict[source]
 Calculates the Absolute Global Temperature Change Potential (AGTP) climate metrics for each species and the total
- Parameters:
 - Returns:
 - A dictionary containing the AGTP values for each species and
 the total.
- Return type:
 
- openairclim.calc_metric.calc_agwp(config: dict, t_zero: float, horizon: float, rf_dict: dict) dict[source]
 Calculates the Absolute Global Warming Potential (AGWP) climate metrics for each species and the total
- Parameters:
 - Returns:
 - A dictionary containing the AGWP values for each species and
 the total.
- Return type:
 
- openairclim.calc_metric.calc_atr(config: dict, t_zero: float, horizon: float, dtemp_dict: dict) dict[source]
 Calculates Average Temperature Response (ATR) climate metrics for each species and the total
- Parameters:
 - Returns:
 Dictionary containing ATR values, keys are species and total
- Return type:
 
- openairclim.calc_metric.calc_climate_metrics(config: dict) dict[source]
 Get all combinations of required climate metrics
- openairclim.calc_metric.get_metrics_dict(config: dict, t_zero: float, horizon: float, resp_dict: dict) dict[source]
 Get subset of timeseries dictionary: only for years in time_metrics
- Parameters:
 - Returns:
 - Dictionary containig metrics values only for years in time_metrics,
 keys are species (and total)
- Return type: