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 componentv (
array-like | xarray.DataArray) – v wind/y vector component (same units asu)
- Returns:
Wind speed/magnitude (same units as
uandv)- Return type:
array-like | xarray.DataArray
Implementations¶
speed()calls one of the following implementations depending on the type of the input arguments:earthkit.meteo.wind.array.speed()for array-likeearthkit.meteo.wind.xarray.speed()for xarray.DataArray
The function returns an object of the same type as the input arguments.