earthkit.climate.atmos.wind.windy_days¶
- earthkit.climate.atmos.wind.windy_days(sfcWind: xarray.DataArray | str = 'sfcWind', ds: xarray.Dataset | Any = None, *, thresh: Any = '10.8 m s-1', freq: str = 'MS', **kwargs: Any) Any¶
Windy days.
Number of days with surface wind speed at or above threshold.
Units:
windy_days: days
This function wraps xclim.indicators.atmos.windy_days.
- Parameters:
sfcWind (
xarray.DataArray | str) – Daily average near-surface wind speed.thresh (
Any) – Threshold average near-surface wind speed on which to base evaluation.freq (
str) – Resampling frequency.ds (
xarray.Dataset | Any) – Input dataset.**kwargs (
Any) – Additional keyword arguments.
- Returns:
The computed index.
- Return type:
Any