openairclim.calc_dt

Calculates temperature changes for each species and scenario

openairclim.calc_dt.calc_delta_temp_br2008(t: float, c_arr, d_arr)[source]

Impulse response function according to Boucher and Reddy (2008), Appendix A

Parameters:
  • t (float) – time

  • c_arr (list) – parameter array of impulse response function, Table A1: ci in (K / (W m-2))

  • d_arr (list) – parameter array of impulse response function, Table A1: di in (years)

Returns:

temperature change according to the Boucher and Reddy (2008) model

Return type:

float

openairclim.calc_dt.calc_dtemp(config, spec, rf_dict)[source]

Calculates the temperature changes for a single species

Parameters:
  • config (dict) – Configuration dictionary from config

  • spec (str) – species

  • rf_dict (dict) – Dictionary of np.ndarray of radiative forcing values for time range as defined in config

Returns:

Dictionary of np.ndarray of temperature values for time range as defined in config

Return type:

dict

openairclim.calc_dt.calc_dtemp_br2008(config: dict, spec: str, rf_arr: ndarray) ndarray[source]

Calculates temperature changes after Boucher and Reddy (2008) https://doi.org/10.1016/j.enpol.2007.08.039

Parameters:
  • config (dict) – configuration dictionary from config

  • spec (str) – species

  • rf_arr (np.ndarray) – array of radiative forcing values

Returns:

array of temperature values

Return type:

np.ndarray