feat: MVP done for Weather Information Display

This commit is contained in:
Ignacio Muñoz Fernandez
2020-11-25 20:50:05 +01:00
committed by Dan Albert
parent 59bd4541c4
commit 02e7ab41b4
4 changed files with 109 additions and 49 deletions

View File

@@ -16,3 +16,10 @@ def nm_to_meter(value_in_nm: float) -> int:
def knots_to_kph(knots: float) -> int:
return int(knots * 1.852)
def mps_to_knots(mps: float) -> int:
"""Converts Meters Per Second To Knots
:arg mps Meters Per Second
"""
return int(mps * 1.943)