DimensionalityError

exception metpy.units.DimensionalityError(units1, units2, dim1=None, dim2=None, extra_msg='')[source]

Raised when trying to convert between incompatible units.