-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I've had issues with unit expressions around temperature. The error is thrown on this line
| (1 * units).ito(req_units) |
the error is:
pint.errors.OffsetUnitCalculusError: Ambiguous operation with offset unit (degree_Celsius, ). See https://pint.readthedocs.io/en/latest/nonmult.html for guidance.
The multiplication on the line shared above between units and 1 does not work with temperatures in pint. "These temperature units are expressed in a system with a reference point, and relations between temperature units include not only a scaling factor but also an offset." in their words.
Metadata
Metadata
Assignees
Labels
No labels