openairclim.core.calc_dt
Calculates temperature changes for each species and scenario.
- openairclim.core.calc_dt.calc_delta_temp_br2008(t: float, c_arr: list[float], d_arr: list[float]) float[source]
Impulse response function according to Boucher and Reddy (2008), Appendix A.
- Parameters:
- Returns:
temperature change according to the Boucher and Reddy (2008) model
- Return type:
- openairclim.core.calc_dt.calc_dtemp(config: dict, spec: str, rf_dict: dict) 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
numpy.ndarrayof radiative forcing values for time range as defined in config
- Returns:
Dictionary of
numpy.ndarrayof temperature values for time range as defined in config- Return type:
- Raises:
KeyError – If temperature method is unknown.
- openairclim.core.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 (numpy.ndarray) – array of radiative forcing values
- Returns:
array of temperature values
- Return type: