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
earthkit.meteo.wind.speed(u: earthkit.data.FieldList, v: earthkit.data.FieldList) earthkit.data.FieldList
earthkit.meteo.wind.speed(u: earthkit.data.Field, v: earthkit.data.Field) earthkit.data.Field

Compute the wind speed/vector magnitude.

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

  • v (array-like | xarray.DataArray | FieldList | Field) – 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 | FieldList | Field

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.