length_factor¶
- geodetic_engine.welltrajectory.length_factor(unit)[source]¶
Metres per
unit, asgeodetic_engine.units.length_unit()reads it.- Parameters:
unit (
str) – A symbol or name ("m","ft","ftUS"), an OSDU unit id such as"dev:reference-data--UnitOfMeasure:ft:", or an OSDU unit persistableReference.- Raises:
UnitError – If the unit is not recognised, or is not a length.
- Return type:
Example
>>> length_factor("ft") 0.3048