earthkit.climate.land.snow.snw_days_above

earthkit.climate.land.snow.snw_days_above(snw: xarray.DataArray | str = 'snw', ds: xarray.Dataset | Any = None, *, thresh: Any = '4 kg m-2', freq: str = 'YS-JUL', op: Literal['>', 'gt', '>=', 'ge'] = '>=', **kwargs: Any) Any

Days with snow (amount).

Number of days when the snow amount is greater than or equal to a given threshold.

Units:

  • snw_days_above: days

This function wraps xclim.indicators.land.snw_days_above.

Parameters:
  • snw (xarray.DataArray | str) – Surface snow amount.

  • thresh (Any) – Threshold snow amount.

  • freq (str) – Resampling frequency. The default value is chosen for the Northern hemisphere.

  • op (Literal[``’>’, ``'gt', '>=', 'ge']) – Comparison operation. Default: “>=”.

  • ds (xarray.Dataset | Any) – Input dataset.

  • **kwargs (Any) – Additional keyword arguments.

Returns:

The computed index.

Return type:

Any