DimensionalityError

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

Raised when trying to convert between incompatible units.