Offset units division is ambiguous: (a+273)/(b+273) != a/b .
Pint by default raises an offset unit exception.
Selecting "autoconvert_offset_to_baseunit = True" in the UnitRegistry makes the expected conversion, and that's enough in most cases.
However, some users might have an equation or correlation fitted with an offset temperature ratio. The user should be able to select if a ratio of (a/b) [ºC/ºC] is allowed.
Offset units division is ambiguous: (a+273)/(b+273) != a/b .
Pint by default raises an offset unit exception.
Selecting "autoconvert_offset_to_baseunit = True" in the UnitRegistry makes the expected conversion, and that's enough in most cases.
However, some users might have an equation or correlation fitted with an offset temperature ratio. The user should be able to select if a ratio of (a/b) [ºC/ºC] is allowed.