Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IP Units #48

Open
gangemi opened this issue Oct 19, 2023 · 1 comment
Open

IP Units #48

gangemi opened this issue Oct 19, 2023 · 1 comment

Comments

@gangemi
Copy link

gangemi commented Oct 19, 2023

I know IP is new (thanks for adding!), and I hope this is helpful. I've found that I have to pretend my IP units are SI units. For example:

chart.config.limits.range_temp_c = (0, 115) #actually F not C
chart.config.limits.range_humidity_g_kg = (0, 300) #actually grain/lb

@azogue
Copy link
Owner

azogue commented Nov 24, 2023

Hi @gangemi, yeah there are a lot of those in the library 🙈

A lot of config values are defined in fields showing the units in SI, it's not just the limits in C/F or rel humid. Entalphy, volume, and wet bulb constant lines are also defined in fields with suffixed units.

The key is to use values in the unit system intended for each config. But for sure is an ugly solution, sorry about that. It's also a common problem, to open some config with ranges intended in SI and render as IP, and viceversa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants