are_units_convertible: are_units_convertible (!experimental!)
Description
This function checks whether two units are inter-convertible. It extends ud.are.convertible
from the udunits2 package to magpie objects and newly defined units.
Usage
are_units_convertible(u1, u2)
Arguments
u1, u2
Either argument can be a character of length one, a units object or a MAgPIE object.
Value
Returns a boolean. TRUE if u1 can be converted to u2, FALSE otherwise.