earthkit.meteo.wind.array

Wind related functions operating on numpy arrays.

Functions

coriolis(lat)

Compute the Coriolis parameter.

direction(u, v[, convention, to_positive])

Compute the direction/angle of a vector quantity.

polar_to_xy(magnitude, direction[, convention])

Convert wind/vector data from polar representation to xy representation.

speed(u, v)

Compute the wind speed/vector magnitude.

w_from_omega(omega, t, p)

Compute the hydrostatic vertical velocity from pressure velocity, temperature and pressure.

windrose(speed, direction[, sectors, speed_bins, percent])

Generate windrose data.

xy_to_polar(x, y[, convention])

Convert wind/vector data from xy representation to polar representation.