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 ECS

  • f2x (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

TypeErrorlambda_val or f2x is not a pint.Quantity.