foxes.utils.ustar2ti(ustar, ws, max_ti=None)[source]

Convert friction velocity (u*) to turbulence intensity (TI).

Parameters

ustarnumpy.ndarray

Friction velocity.

wsnumpy.ndarray

Wind speed.

max_tifloat, optional

Upper limit of the computed TI values.

Returns

tinumpy.ndarray

Turbulence intensity.