powered by
Decode units, from strings
unitFromString(s)
A string.
A list() of two items: unit which is an expression(), and scale, which is a string.
list()
unit
expression()
scale
Other functions that interpret variable names and units from headers: ODFNames2oceNames(), cnvName2oceName(), oceNames2whpNames(), oceUnits2whpUnits(), unitFromStringRsk(), woceNames2oceNames(), woceUnit2oceUnit()
ODFNames2oceNames()
cnvName2oceName()
oceNames2whpNames()
oceUnits2whpUnits()
unitFromStringRsk()
woceNames2oceNames()
woceUnit2oceUnit()
# NOT RUN { unitFromString("DB") # dbar # }
Run the code above in your browser using DataLab