Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #NNQ-639876]: J/kg = m/s2 ?!



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


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690