openairclim.calc_co2
Calculates CO2 response.
- openairclim.calc_co2.calc_co2_concentration(config: dict, emis_dict: dict) dict[source]
Calculates the CO2 concentration values in ppmv for emitted CO2 in Tg, get method from config and execute corresponding subroutine
- Parameters:
- Returns:
- Dictionary with array of CO2 concentration in ppmv
for time range as defined in config, key is species CO2
- Return type:
- openairclim.calc_co2.calc_co2_rf(config, conc_dict, conc_co2_bg_dict)[source]
Calculates the radiative forcing values for emitted CO2 concentrations, after IPCC 2001, Ramaswamy, V. et al. in “Climate Change 2001: The Scientific Basis. Contribution of Working Group I to the Third Assessment Report of the Intergovernmental Panel of Climate Change”Table 6.2, get method from config and execute corresponding subroutine
- Parameters:
config (dict) – Configuration dictionary from config
conc_dict (dict) – Dictionary with array of concentrations between the starting and ending years, key is species
conc_co2_bg_dict (dict) – Dictionary of np.ndarray of background CO2 concentrations between the starting and ending years, key is species
- Raises:
ValueError – if CO2.rf.method not valid
- Returns:
- Dictionary with np.ndarray of CO2 radiative forcing values
between the starting and ending years, key is species CO2
- Return type:
- openairclim.calc_co2.calc_co2_rf_etminan_2016(conc_dict: dict, conc_co2_bg_dict: dict, conc_n2o_bg_dict: dict) dict[source]
Calculates the radiative forcing values for emitted CO2 concentrations after Etminan, M., Myhre, G., Highwood, E. J., & Shine, K. P. (2016). Radiative forcing of carbon dioxide, methane, and nitrous oxide: A significant revision of the methane radiative forcing. Geophysical Research Letters, 43(24), 12-614. https://doi.org/10.1002/2016GL071930
- Parameters:
conc_dict (dict) – Dictionary with array of concentrations between the starting and ending years, keys is species
conc_co2_bg_dict (dict) – Dictionary of np.ndarray of background CO2 concentrations between the starting and ending years, key is species
conc_n2o_bg_dict (dict) – Dictionary of np.ndarray of background N2O concentrations between the starting and ending years, key is species
- Returns:
- Dictionary with np.ndarray of CO2 radiative forcing values
between the starting and ending years, key is species CO2
- Return type:
- openairclim.calc_co2.calc_co2_rf_ipcc_2001_1(conc_dict, conc_co2_bg_dict)[source]
Calculates the radiative forcing values for emitted CO2 concentrations, after IPCC 2001, Table 6.2, first row
- Parameters:
- Returns:
- Dictionary with array of CO2 radiative forcing values
between the starting and ending years, key is species CO2
- Return type:
- openairclim.calc_co2.calc_co2_rf_ipcc_2001_2(conc_dict, conc_co2_bg_dict)[source]
Calculates the radiative forcing values for emitted CO2 concentrations, after IPCC 2001, Table 6.2, second row
- Parameters:
- Returns:
- Dictionary with array of CO2 radiative forcing values
between the starting and ending years, key is species CO2
- Return type:
- openairclim.calc_co2.calc_co2_rf_ipcc_2001_3(conc_dict, conc_co2_bg_dict)[source]
Calculates the radiative forcing values for emitted CO2 concentrations, after IPCC 2001, Table 6.2, third row
- Parameters:
- Returns:
- Dictionary with array of CO2 radiative forcing values
between the starting and ending years, key is species CO2
- Return type:
- openairclim.calc_co2.calc_co2_ss(config, emis_dict)[source]
Calculates the CO2 concentration values in ppmv for emitted CO2 in Tg after Sausen&Schumann, 2000, formulas (4) and (5)
- Parameters:
- Returns:
- Dictionary with array of CO2 concentration in ppmv
for time range as defined in config, key is species CO2
- Return type: