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

[Q] Documentation for upgrade path from jscience #7

Open
rvaidya opened this issue Sep 11, 2020 · 0 comments
Open

[Q] Documentation for upgrade path from jscience #7

rvaidya opened this issue Sep 11, 2020 · 0 comments

Comments

@rvaidya
Copy link

rvaidya commented Sep 11, 2020

Hi there, I've tried a few times now to convert from jscience for unit parsing, but I haven't been able to find the correct way forward to create a generalized unit parser that can handle non-SI units, as well as having formatted strings for those non-SI units.

Is the correct way to do this using the SimpleUnitFormat and registering aliases for everything the default implementation doesn't handle? Units like Fahrenheit and mmHg are definitely not within the UCUM space (and the UCUM format doesn't handle unicode), the systems-unicode package doesn't seem to provide the parsing capabilities, and I'm not entirely sure what the EBNF format is but unit text coming in from various external sources definitely isn't going to be following a regular grammar.

Also, the different unit system packages do overlap for units, how do I figure out which unit system package is best for which unit? Can I use any of them?

Thank you.

@keilw keilw transferred this issue from unitsofmeasurement/uom-systems Jan 24, 2021
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

1 participant