pint does not map bar/Pa to unitless. #1589
Answered
by
hgrecco
SullivanMuse
asked this question in
Q&A
-
Why does Shouldn't this be unitless? If not, please explain where I am going wrong. |
Beta Was this translation helpful? Give feedback.
Answered by
hgrecco
Sep 24, 2022
Replies: 1 comment
-
It does if you use >>> (1.*ureg.bar/ureg.Pa).to_base_units()
<Quantity(100000.0, 'dimensionless')> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jules-ch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It does if you use
auto_reduce_dimensions=True
, take a look at the docs.or do it in an explicity way.