earthkit.climate.atmos.precipitation.dryness_index

earthkit.climate.atmos.precipitation.dryness_index(pr: xarray.DataArray | str = 'pr', evspsblpot: xarray.DataArray | str = 'evspsblpot', lat: xarray.DataArray | str | None = None, ds: xarray.Dataset | Any = None, *, wo: Any = '200 mm', freq: Literal['YS', 'YS-JAN'] = 'YS', **kwargs: Any) Any

Dryness index.

The dryness index is a characterization of the water component in winegrowing regions which considers the precipitation and evapotranspiration factors without deduction for surface runoff or drainage. Metric originally published in Riou et al. (1994).

Units:

  • dryness_index: mm

This function wraps xclim.indicators.atmos.dryness_index.

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

  • evspsblpot (xarray.DataArray | str) – Potential evapotranspiration.

  • lat (xarray.DataArray | str | None) – Latitude coordinate as an array, float or string. If None, a CF-conformant “latitude” field must be available within the passed DataArray.

  • wo (Any) – The initial soil water reserve accessible to root systems [length]. Default: 200 mm.

  • freq (Literal[``’YS’, ``'YS-JAN']) – Resampling frequency.

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

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

Returns:

The computed index.

Return type:

Any