Unidata / UDUNITS-2

API and utility for arithmetic manipulation of units of physical quantities
http://www.unidata.ucar.edu/software/udunits
Other
62 stars 36 forks source link

degree_C and degree C are not convertible #51

Closed edzer closed 6 years ago

edzer commented 6 years ago

I don't understand the following:

$ udunits2 
You have: degree C
You want: degree_C
udunits2: Units are not convertible
You have: degree_C
You want: degrees_C
    1 degree_C = 1 degrees_C
    x/degrees_C = (x/degree_C)
You have: degree C
You want: degrees C
    1 degree C = 1 (degrees C)
    x/(degrees C) = (x/(degree C))
semmerson commented 6 years ago

Whitespace in units isn't allowed. "degree C" is "degree" multiplied by "C".

edzer commented 6 years ago

Thanks! I'll try to file the issue with the authors of the offending NetCDF files at ftp://eclipse.ncdc.noaa.gov/pub/OI-daily-v2/NetCDF . @mdsumner