foxes.utils.abl.neutral

foxes.utils.abl.neutral.logz(height, z0)[source]

Calculates the log factor for wind speed profiles.

foxes.utils.abl.neutral.ustar(ws_ref, h_ref, z0, kappa=0.41)[source]

Calculates the friction velocity, based on reference data.

foxes.utils.abl.neutral.calc_ws(height, z0, ustar, kappa=0.41)[source]

Calculate wind speeds at given height

foxes.utils.abl.stable.lgz(height, z0)

Calculates the log factor for wind speed profiles.

foxes.utils.abl.stable

foxes.utils.abl.stable.logz(height, z0)[source]

Calculates the log factor for wind speed profiles.

foxes.utils.abl.stable.psi(height, mol)[source]

The Psi function

foxes.utils.abl.stable.ustar(ws_ref, h_ref, z0, mol, kappa=0.41)[source]

Calculates the friction velocity, based on reference data.

foxes.utils.abl.stable.calc_ws(height, z0, ustar, psi, kappa=0.41)[source]

Calculate wind speeds at given height

foxes.utils.abl.unstable.logz(height, z0)[source]

Calculates the log factor for wind speed profiles.

foxes.utils.abl.unstable

foxes.utils.abl.unstable.psi(height, mol)[source]

The Psi function

foxes.utils.abl.unstable.ustar(ws_ref, h_ref, z0, mol, kappa=0.41)[source]

Calculates the friction velocity, based on reference data.

foxes.utils.abl.unstable.calc_ws(height, z0, ustar, psi, kappa=0.41)[source]

Calculate wind speeds at given height

foxes.utils.abl.sheared

foxes.utils.abl.sheared.calc_ws(height, height0, WS0, shear)[source]

Calculate wind speeds at given height