pint icon indicating copy to clipboard operation
pint copied to clipboard

No Temperature Units in Imperial and US Systems

Open sharkweek opened this issue 1 year ago • 4 comments

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?

sharkweek avatar Sep 12 '23 14:09 sharkweek

They can. What would be you suggestion?

hgrecco avatar Oct 15 '23 18:10 hgrecco

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.

sharkweek avatar Oct 15 '23 20:10 sharkweek

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?

hgrecco avatar Oct 22 '23 03:10 hgrecco

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.

sharkweek avatar Oct 22 '23 04:10 sharkweek