python_codes.meteo_analysis.mu#

mu(z, z0, Kappa=0.4)[source]#

Calculate the ratio \(U(z)/u_{*}\) following the law of the wall:

..:math:

\frac{U(z)}{u_{*}} = \frac{1}{\kappa}\log\left(1 +\frac{z}{z_{0}}\right).
Parameters
  • z (array_like) – height

  • z0 (array_like) – hydrodyamic roughness

  • Kappa (float, optional) – Von Karman constant (the default is 0.4).

Returns

return the ratio \(U(z)/u_{*}\) following the law of the wall.

Return type

array_like

Examples using python_codes.meteo_analysis.mu#