earthkit.climate.atmos.calm_days¶
- earthkit.climate.atmos.calm_days(sfcWind: xarray.DataArray | str = 'sfcWind', ds: xarray.Dataset | Any = None, *, thresh: Any = '2 m s-1', freq: str = 'MS', **kwargs: Any) Any¶
Calm days.
Number of days with surface wind speed below threshold.
Units:
calm_days: days
This function wraps xclim.indicators.atmos.calm_days.
- Parameters:
sfcWind (
xarray.DataArray | str) – Daily windspeed.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