This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Sylwester, > > $ udunits2 > > You have: J/kg > > You want: m2/s2 > > 1 J/kg = 1 m2/s2 > > x/(m2/s2) = (x/(J/kg)) > > You have: J/kg > > You want: m/s2 > > 1 J/kg = 1 m/s2 > > x/(m/s2) = (x/(J/kg)) > > Hope that helps, best regards, I fixed the bug in the ut_are_convertible() function that caused this to happen and made a new release (v2.1.9). I also added your example to the regression test-suite so this will never happen again. Thanks for sending this in! > Sylwester Arabas > > -- > http://www.igf.fuw.edu.pl/~slayoo/ | http://slayoo.itstudio.pl/ > Please consider your environmental responsibility before printing this > e-mail. Regards, Steve Emmerson Ticket Details =================== Ticket ID: NNQ-639876 Department: Support UDUNITS Priority: Normal Status: Closed