earthkit.climate.atmos.rprctot

earthkit.climate.atmos.rprctot(pr: xarray.DataArray | str = 'pr', prc: xarray.DataArray | str = 'prc', ds: xarray.Dataset | Any = None, *, thresh: Any = '1.0 mm/day', freq: str = 'YS', op: Literal['>', 'gt', '>=', 'ge'] = '>=', **kwargs: Any) Any

Proportion of accumulated precipitation arising from convective processes.

The proportion of total precipitation due to convective processes. Only days with surpassing a minimum precipitation flux are considered.

Units:

  • rprctot: dimensionless

This function wraps xclim.indicators.atmos.rprctot.

Parameters:
  • pr (xarray.DataArray | str) – Daily precipitation.

  • prc (xarray.DataArray | str) – Daily convective precipitation.

  • thresh (Any) – Precipitation value over which a day is considered wet.

  • freq (str) – Resampling frequency.

  • 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