Utils API¶
Utility functions
- openscm_twolayermodel.utils.convert_lambda_to_ecs(lambda_val, f2x=<Quantity(3.74, 'watt / meter ** 2')>)¶
Convert a lambda value to equilibrium climate sensitivity (ECS)
- Parameters
lambda_val (
pint.Quantity
) – Value of lambda to convert to ECSf2x (
pint.Quantity
) – Value of the forcing due to a doubling of atmospheric CO2 to assume during the conversion
- Returns
ECS value
- Return type
pint.Quantity
- Raises
TypeError –
lambda_val
orf2x
is not apint.Quantity
.