earthkit.climate.land.snd_days_above

earthkit.climate.land.snd_days_above(snd: xarray.DataArray | str = 'snd', ds: xarray.Dataset | Any = None, *, thresh: Any = '2 cm', freq: str = 'YS-JUL', op: Literal['>', 'gt', '>=', 'ge'] = '>=', **kwargs: Any) Any

Days with snow (depth).

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

Units:

  • snd_days_above: days

This function wraps xclim.indicators.land.snd_days_above.

Parameters:
  • snd (xarray.DataArray | str) – Surface snow thickness.

  • thresh (Any) – Threshold snow thickness.

  • 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