Understanding why converting using aliases fails #789
Unanswered
keitheweber
asked this question in
Questions and Answers
Replies: 1 comment 2 replies
-
This is a bug, for sure. It looks like the unit aliases in the java Specifically here: netcdf-java/udunits/src/main/java/ucar/units/StandardUnitDB.java Lines 113 to 138 in 6704deb |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wrote a simple set of unit tests that would test converting from one unit to another when instantiating the unit objects by parsing a string. I am not sure what I am doing wrong, but most of these fail. It appears that the alias names defined in https://www.unidata.ucar.edu/software/udunits/udunits-2.2.28/udunits2-common.xml are not being honored?
Here's the source code for the unit tests
Beta Was this translation helpful? Give feedback.
All reactions