cf.BoundedVariable.override_units

BoundedVariable.override_units(new_units, i=False)[source]
New in version 2.0:
i: bool, optional
If True then update the bounded variable in place. By default a new bounded variable is created. In either case, a bounded variable is returned.