UnitConversionError

exception astropy.units.UnitConversionError[source]

Used specifically for errors related to converting between units or interpreting units in terms of other units.