angle_unit

geodetic_engine.units.angle_unit(value)[source]

Read an angle unit, in the forms length_unit() reads.

Raises:

UnitError – If value is not an angle unit this package reads.

Return type:

Unit

Example

>>> angle_unit("dega").scale == math.pi / 180
True