cf.Coordinate.override_units

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