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 componentv (
array-like | xarray.DataArray | FieldList | Field) – v wind/y vector component (same units asu)
- Returns:
Wind speed/magnitude (same units as
uandv)- Return type:
array-like | xarray.DataArray | FieldList | Field
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.DataArrayearthkit.meteo.wind.fieldlist.speed()for FieldList | Field
The function returns an object of the same type as the input arguments.