earthkit.climate.atmos.wet_precip_accumulation¶
- earthkit.climate.atmos.wet_precip_accumulation(pr: xarray.DataArray | str = 'pr', ds: xarray.Dataset | Any = None, *, thresh: Any = '1 mm/day', freq: str = 'YS', **kwargs: Any) Any¶
Total accumulated precipitation (solid and liquid) during wet days.
Total accumulated precipitation on days with precipitation. A day is considered to have precipitation if the precipitation is greater than or equal to a given threshold.
Units:
wet_prcptot: mm
This function wraps xclim.indicators.atmos.wet_precip_accumulation.
- Parameters:
pr (
xarray.DataArray | str) – Total precipitation flux [mm d-1], [mm week-1], [mm month-1] or similar.thresh (
Any) – Threshold over which precipitation starts being cumulated.freq (
str) – Resampling frequency.ds (
xarray.Dataset | Any) – Input dataset.**kwargs (
Any) – Additional keyword arguments.
- Returns:
The computed index.
- Return type:
Any