wradlib.trafo.mph_to_si

wradlib.trafo.mph_to_si(vals)

Conversion from miles/hr 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 miles per hour

Returns

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

Examples

>>> from wradlib.trafo import mph_to_si
>>> print(np.round(mph_to_si(10.), 2))
4.47