wradlib.trafo.kts_to_si

wradlib.trafo.kts_to_si(vals)

Conversion from knots to SI wind speed units

Note

Code was migrated from https://github.com/nguy/PyRadarMet.

Parameters

vals (float) – float or array of floats Wind speed in knots

Returns

output (float) – float or array of floats Wind speed in SI units (m/s)

Examples

>>> from wradlib.trafo import kts_to_si
>>> print(np.round(kts_to_si(1.), 3))
0.514