rcatool.stats.climateindex.RRtX

rcatool.stats.climateindex.RRtX(data, thr, axis=0, keepdims=False)[source]

RRtX mm, total amount of precipitation above the threshold ‘thr’.

Parameters:
  • data (array) – 1D/2D data array, with time steps on the zeroth axis (axis=0).

  • thr (int) – Threshold that defines the threshold above which data is summed.

  • keepdims (boolean) – If False (default) calculation is performed on all data collectively, otherwise for each timeseries on each point in 2d space. ‘Axis’ then defines along which axis the timeseries are located.

Returns:

RRtx – 1D/2D array with calculated RRtXX indices.

Return type:

list/array