pint
pint copied to clipboard
No Temperature Units in Imperial and US Systems
There appear to be no temperature units within the US
and imperial
unit systems, while all the other available systems include most of the available temperature units. Can these be added?
They can. What would be you suggestion?
I think all temperature units like the other ones make sense, for consistency. Also, I have seen many engineering problems that use US measurements for length and mass but will use metric units (both degC and Kelvin) for thermal calculations.
Just one comment, even if they are not included in the imperial they still can be used. Is any particular operation that you cannot perform now?
Not to get too in the weeds, but I was working on an object that would accept a numerical type or a Quantity in the ‘init’. When it received a number, it would automatically convert it to a Quantity of a predefined dimensionality. The unit defaulted to the first unit of matching dimensionality in the base units of the current unit system. Because no temperature units were included in the base list, I would get an error with any temperature attributes.