earthkit.meteo.wind.speed

earthkit.meteo.wind.speed(u: ArrayLike, v: ArrayLike) ArrayLike
earthkit.meteo.wind.speed(u: xarray.DataArray, v: xarray.DataArray) xarray.DataArray

Compute the wind speed/vector magnitude.

Parameters:
  • u (array-like | xarray.DataArray) – u wind/x vector component

  • v (array-like | xarray.DataArray) – v wind/y vector component (same units as u)

Returns:

Wind speed/magnitude (same units as u and v)

Return type:

array-like | xarray.DataArray

Implementations

speed() calls one of the following implementations depending on the type of the input arguments:

The function returns an object of the same type as the input arguments.