earthkit.climate.land.holiday_snow_days¶
- earthkit.climate.land.holiday_snow_days(snd: xarray.DataArray | str = 'snd', ds: xarray.Dataset | Any = None, *, snd_thresh: Any = '20 mm', op: Literal['>', 'gt', '>=', 'ge'] = '>=', date_start: str = '12-25', date_end: str | None = None, freq: str = 'YS', **kwargs: Any) Any¶
Christmas snow days.
The total number of days where there is a significant amount of snow on the ground on December 25th.
Units:
holiday_snow_days: days
This function wraps xclim.indicators.land.holiday_snow_days.
- Parameters:
snd (
xarray.DataArray | str) – Surface snow depth.snd_thresh (
Any) – Threshold snow amount. Default: 20 mm.op (
Literal[``’>’, ``'gt','>=','ge']) – Comparison operation. Default: “>=”.date_start (
str) – Beginning of the analysis period. Default: “12-25” (December 25th).date_end (
str | None) – End of analysis period. If not provided, date_start is used. Default: None.freq (
str) – Resampling frequency. Default: “YS”. The default value is chosen for the northern hemisphere.ds (
xarray.Dataset | Any) – Input dataset.**kwargs (
Any) – Additional keyword arguments.
- Returns:
The computed index.
- Return type:
Any