geodata.wind

geodata.wind#

GEODATA

Geospatial Data Collection and “Pre-Analysis” Tools

Attributes#

logger

Extrapolation functions

Functions#

log_ratio(ds, to_height, from_height, from_name)

Logarithmic ratio law

log_law(ds, to_height, from_height, from_name)

Logarithmic (integration) law

psi_linear(z, ds)

NOTE: This function does not perform well for high z/L

psi_linearexp(z, ds)

Linear-exponential piecewise stability correction [1] (repeated in [2])

psi_linearexpconst(z, ds[, const])

Linear-exponential piecewise stability correction [1] (repeated in [2]) with constant plateau

L_vph(ds)

Obuhkov length using virtual potential heat flux term [1] (described in detail in SI [2])

winddir(ds)

Wind direction using lowest model layer

log_law_flux_linear(ds, to_height, from_height, from_name)

Logarithmic (integration) law with linear stability correction in terms of Obukhov length

log_law_flux_linearexp(ds, to_height, from_height, ...)

Logarithmic (integration) law with piecewise linear-exponential stability correction in terms of Obukhov length

log_law_flux_linearexpconst(ds, to_height, ...)

Logarithmic (integration) law with piecewise linear-exponential-constant stability correction in terms of Obukhov length

extrapolate_wind_speed(ds, to_height[, extrap_fn, ...])

Extrapolate the wind speed from a given height above ground to another.

Module Contents#

geodata.wind.logger[source]#

Extrapolation functions Note: these are called internally