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

Allow for inputs in other units of temperature and pressure in tg51.p_tp() #112

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jmartens
Copy link
Contributor

This implements pint.Quantity inputs in tg51.p_tp() function to also allow inputs in other units, like for instance mbar or kPa. Backwards compatibility is maintained by type checking inputs.

I also extended the unittest to makek sure implemented changes work for the already present cases as well as the new option of pint.Quantity based inputs.

@jmartens
Copy link
Contributor Author

I hope you will accept this as I couldn't let #110 rest :-D

@coveralls
Copy link

coveralls commented Nov 11, 2017

Coverage Status

Coverage increased (+0.02%) to 76.939% when pulling 97ee610 on jmartens:implement-unit-conversion into e6da31d on jrkerns:master.

jrkerns added a commit that referenced this pull request Sep 9, 2022
add mean WL measurement

* add mean measurement

* document changes


Approved-by: Randy Taylor
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

Successfully merging this pull request may close these issues.

2 participants