Skip to content

[Q] Documentation for upgrade path from jscience #7

@rvaidya

Description

@rvaidya

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions