wradlib.trafo.si_to_mph

wradlib.trafo.si_to_mph(vals)

Conversion from SI wind speed units to miles/hr

Note

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

Parameters

vals (float) – float or array of floats Speed in SI units (m/s)

Returns

output (float) – float or array of floats Speed in miles per hour

Examples

>>> from wradlib.trafo import si_to_mph
>>> print(np.round(si_to_mph(1.), 3))
2.237